VirtualBox

Changeset 22467 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 26, 2009 12:45:52 PM (15 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: fix installation of X.Org drivers on SUSE 11

Location:
trunk/src/VBox/Additions
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r21412 r22467  
    9595                $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl \
    9696                $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl \
    97                 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15suse.pl \
     97                $(VBOX_PATH_X11_ADDITION_INSTALLER)/linux_xorg_suse11.conf \
    9898                $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/Makefile.include.header \
    9999                $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/Makefile.include.footer \
     
    165165        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config.pl          $(VBOX_LNX_ADD_INS_OUT_DIR)
    166166        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15.pl        $(VBOX_LNX_ADD_INS_OUT_DIR)
    167         $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/x11config15suse.pl    $(VBOX_LNX_ADD_INS_OUT_DIR)
     167        $(QUIET)$(INSTALL) -m 0755 $(VBOX_PATH_X11_ADDITION_INSTALLER)/linux_xorg_suse11.conf    $(VBOX_LNX_ADD_INS_OUT_DIR)
    168168        $(QUIET)$(INSTALL) -m 0644 $(VBOX_PATH_LINUX_ADDITION_INSTALLER)/90-vboxguest.fdi    $(VBOX_LNX_ADD_INS_OUT_DIR)
    169169        $(QUIET)$(VBOX_LNX_ADD_BIN_COPY_SYMBOLS) $(PATH_BIN)/additions/vboxmouse_drv.o       $(VBOX_LNX_ADD_INS_OUT_DIR)/vboxmouse_drv.o
  • trunk/src/VBox/Additions/x11/Installer/VBoxRandR.sh

    r18265 r22467  
    6969    if echo "$xout" | grep "1\.4\.99\.90[12345]" > /dev/null
    7070    then
    71         echo "Warning: the version of the X Window system on your guest has a known"
    72         echo "problem. Because of this, dynamic resizing and seamless mode will not work."
     71        echo "Warning: the version of the X Window system on your guest has known"
     72        echo "problems which prevent dynamic resizing and seamless mode from working."
    7373        echo
    7474        exit 1
    7575    fi
    76     # Check to see if the server is configured to use static modes only.
    77     for conf in "/etc/X11/xorg.conf-4" "/etc/X11/xorg.conf" "/etc/X11/.xorg.conf" "/etc/xorg.conf" \
    78                 "/usr/etc/X11/xorg.conf-4" "/usr/etc/X11/xorg.conf" "/usr/lib/X11/xorg.conf-4" \
    79                 "/usr/lib/X11/xorg.conf"
    80     do
    81         if [ -r $conf ]
    82         then
    83             if awk -v IN_SECTION=0 \
    84 'tolower($0) ~ /^[ \t]*section/ { IN_SECTION=1 } '\
    85 'tolower($0) ~ /^[ \t]*modes/ { if (IN_SECTION) { print "mode"; exit } } '\
    86 'tolower($0) ~ /^[ \t]*option[ \t]+\"preferredmode\"/ { if (IN_SECTION) { print "mode"; exit } } '\
    87 'tolower($0) ~ /endsection/ { IN_SECTION=0 }' \
    88                 $conf 2>/dev/null | grep mode > /dev/null
    89             then
    90                 echo "Disabling dynamic resizing as the X server is configured to only use static"
    91                 echo "resolutions.  To fix this, edit the server configuration file, remove all"
    92                 echo "\"Modes\" lines from the \"Screen\" section and any Option \"PreferredMode\""
    93                 echo "lines from \"Monitor\" sections and restart the server."
    94                 echo
    95                 exit 1
    96             fi
    97         fi
    98     done
    9976    # Don't write out error information in this case, as this script is also
    10077    # called from the installer, and vboxvideo will not yet be in place yet in
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette