VirtualBox

Changeset 16752 in vbox


Ignore:
Timestamp:
Feb 13, 2009 8:09:16 PM (16 years ago)
Author:
vboxsync
Message:

Additions/Linux/installer: comments and warning text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/installer/VBoxRandR.sh

    r16700 r16752  
    6262# If we were called with the --test parameter, we check whether the display
    6363# 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 crash
     64# and whether we are running on a buggy version of X.Org which might crash
    6565# when we resize.
    6666if test "$1" = "--test"; then
     67    # Check for buggy X.Org versions
    6768    xout=`$xorgbin -version 2>&1`
    6869    if echo "$xout" | grep 1.4.99.901 > /dev/null ||
     
    7273        echo "$xout" | grep 1.4.99.905 > /dev/null
    7374    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
    7578        exit 1
    7679    fi
     80    # Check to see if the server is configured to use static modes only.
    7781    for conf in "/etc/X11/xorg.conf-4" "/etc/X11/xorg.conf" "/etc/X11/.xorg.conf" "/etc/xorg.conf" \
    7882                "/usr/etc/X11/xorg.conf-4" "/usr/etc/X11/xorg.conf" "/usr/lib/X11/xorg.conf-4" \
     
    9296                echo "\"Modes\" lines from the \"Screen\" section and any Option \"PreferredMode\""
    9397                echo "lines from \"Monitor\" sections and restart the server."
     98                echo
    9499                exit 1
    95100            fi
    96101        fi
    97102    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.
    98106    $randrbin 2> /dev/null | grep VBOX1 > /dev/null
    99107    exit
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