f82e2df3e8
- Fix screen resizing under Wayland (boo#1194126 and boo#1194126) New files are "VirtualBox-5.2.10-xclient.patch", "vboxclient.desktop", "vboxclient.service", and "vboxservice.service" The fixes were derived from looking at many hundreds of Web pages, and by looking at the code in Fedora35. Thanks to RedHat for the help. OBS-URL: https://build.opensuse.org/request/show/994409 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=650
25 lines
1.3 KiB
Diff
25 lines
1.3 KiB
Diff
--- ./src/VBox/Additions/x11/Installer/98vboxadd-xclient.orig 2020-06-06 06:20:12.079227656 +0100
|
|
+++ ./src/VBox/Additions/x11/Installer/98vboxadd-xclient 2020-06-06 06:26:55.886940895 +0100
|
|
@@ -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
|