forked from pool/virtualbox
fb62e748b1
Version Bump to 6.1.40 This is a maintenance release. The following items were fixed and/or added: GUI: Fixed missed machine-items state translation on language change USB: Fixed possible crash when the device got detached while the controller is resetting the port Main: Provide guest's absolute pointing mouse device with buttons state when mouse integration is ON Linux Host and Guest Additions: Prevented build failure on 5.8+ 32-bit kernels Linux Host and Guest Additions: Introduced additional fixes for kernel 6.0 Linux Host and Guest Additions: Introduced additional fixes for Debian specific kernels Solaris and Linux Guest Additions: Added better handling of negative screen sizes which some X11 desktop environments are reporting Windows Guest Additions: Added fixes related to VBoxTray IPC - Fix boo#1204233 boo#1204331 boo#1202851 - Remove file fix_error_in_USB_header.patch - fixed upstream OBS-URL: https://build.opensuse.org/request/show/1029812 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=661
27 lines
1.4 KiB
Diff
27 lines
1.4 KiB
Diff
Index: VirtualBox-6.1.40/src/VBox/Additions/x11/Installer/98vboxadd-xclient
|
|
===================================================================
|
|
--- VirtualBox-6.1.40.orig/src/VBox/Additions/x11/Installer/98vboxadd-xclient
|
|
+++ VirtualBox-6.1.40/src/VBox/Additions/x11/Installer/98vboxadd-xclient
|
|
@@ -21,18 +21,11 @@ for i in $HOME/.vboxclient-*.pid; do
|
|
test -w $i || rm -f $i
|
|
done
|
|
|
|
-if ! test -c /dev/vboxguest 2>/dev/null; then
|
|
- # Do not start if the kernel module is not present.
|
|
- # Execute notify-send in the back-ground to avoid racing with sddm,
|
|
- # as notify-send may wait for sddm to start while it waits for us to exit.
|
|
- notify-send "VBoxClient: the VirtualBox kernel service is not running. Exiting." &
|
|
-elif test -z "${SSH_CONNECTION}"; then
|
|
- # This script can also be triggered by a connection over SSH, which is not
|
|
- # what we had in mind, so we do not start VBoxClient in that case. We do
|
|
- # not use "exit" here as this script is "source"d, not executed.
|
|
+# Do not start if the kernel module is not present; or if this script is
|
|
+# triggered by a connection over SSH.
|
|
+if [ -c /dev/vboxguest -a -z "${SSH_CONNECTION}" ]; then
|
|
/usr/bin/VBoxClient --clipboard
|
|
/usr/bin/VBoxClient --checkhostversion
|
|
/usr/bin/VBoxClient --seamless
|
|
/usr/bin/VBoxClient --draganddrop
|
|
- /usr/bin/VBoxClient --vmsvga # In case VMSVGA emulation is enabled
|
|
fi
|