Changeset 52109 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Jul 21, 2014 12:50:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/Installer/98vboxadd-xclient
r50714 r52109 22 22 done 23 23 24 # Check whether the display we are running on running a known buggy version 25 # of X.Org which might crash when we resize. 26 no_display= 27 xorgbin=Xorg 28 found=`which Xorg | grep "no Xorg"` 29 if test ! -z "$found"; then 30 if test -f "/usr/X11/bin/Xorg"; then 31 xorgbin=/usr/X11/bin/Xorg 32 else 33 exit 1 34 fi 24 # This script can also be triggered by a connection over SSH, which is not what 25 # we had in mind, so we do not start VBoxClient in that case. We do not use 26 # "exit" here as this script is "source"d, not executed. 27 if test -z "${SSH_CONNECTION}"; then 28 /usr/bin/VBoxClient --clipboard 29 /usr/bin/VBoxClient --checkhostversion 30 /usr/bin/VBoxClient --display 31 /usr/bin/VBoxClient --seamless 32 /usr/bin/VBoxClient --draganddrop 35 33 fi 36 xout=`$xorgbin -version 2>&1`37 if echo "$xout" | grep "1\.4\.99\.90[12345]" > /dev/null38 then39 no_display=140 fi41 42 /usr/bin/VBoxClient --clipboard43 /usr/bin/VBoxClient --checkhostversion44 test -z "$no_display" &&45 /usr/bin/VBoxClient --display46 test -z "$no_display" &&47 /usr/bin/VBoxClient --seamless48 test -z "$no_display" &&49 /usr/bin/VBoxClient --draganddrop
Note:
See TracChangeset
for help on using the changeset viewer.