Changeset 16752 in vbox
- Timestamp:
- Feb 13, 2009 8:09:16 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/installer/VBoxRandR.sh
r16700 r16752 62 62 # If we were called with the --test parameter, we check whether the display 63 63 # we are running on is really using the VBox video driver (and RandR 1.2), 64 # and whether we are running on a buggy version of X. org which might crash64 # and whether we are running on a buggy version of X.Org which might crash 65 65 # when we resize. 66 66 if test "$1" = "--test"; then 67 # Check for buggy X.Org versions 67 68 xout=`$xorgbin -version 2>&1` 68 69 if echo "$xout" | grep 1.4.99.901 > /dev/null || … … 72 73 echo "$xout" | grep 1.4.99.905 > /dev/null 73 74 then 74 echo "Disabling dynamic resizing due to known bugs in this X server." 75 echo "Warning: the version of the X Window system on your guest has a known" 76 echo "problem. Because of this, dynamic resizing and seamless mode will not work." 77 echo 75 78 exit 1 76 79 fi 80 # Check to see if the server is configured to use static modes only. 77 81 for conf in "/etc/X11/xorg.conf-4" "/etc/X11/xorg.conf" "/etc/X11/.xorg.conf" "/etc/xorg.conf" \ 78 82 "/usr/etc/X11/xorg.conf-4" "/usr/etc/X11/xorg.conf" "/usr/lib/X11/xorg.conf-4" \ … … 92 96 echo "\"Modes\" lines from the \"Screen\" section and any Option \"PreferredMode\"" 93 97 echo "lines from \"Monitor\" sections and restart the server." 98 echo 94 99 exit 1 95 100 fi 96 101 fi 97 102 done 103 # Don't write out error information in this case, as this script is also 104 # called from the installer, and vboxvideo will not yet be in place yet in 105 # that case. 98 106 $randrbin 2> /dev/null | grep VBOX1 > /dev/null 99 107 exit
Note:
See TracChangeset
for help on using the changeset viewer.