summaryrefslogtreecommitdiffstats
path: root/debian/patches/06-xsession.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:49:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:49:11 +0000
commitf4f3a659b7663cf52c2f2e1fa8e58ed4000e29c9 (patch)
tree46477e488553a670f4b0346080d3f9a635672104 /debian/patches/06-xsession.patch
parentAdding upstream version 7.0.6-dfsg. (diff)
downloadvirtualbox-debian.tar.xz
virtualbox-debian.zip
Adding debian version 7.0.6-dfsg-1.debian/7.0.6-dfsg-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/06-xsession.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/06-xsession.patch b/debian/patches/06-xsession.patch
new file mode 100644
index 00000000..9a15d84a
--- /dev/null
+++ b/debian/patches/06-xsession.patch
@@ -0,0 +1,22 @@
+Description: Make Xsession.d script ignore errors.
+Author: Michael Meskes <meskes@debian.org>
+
+Index: virtualbox/src/VBox/Additions/x11/Installer/98vboxadd-xclient
+===================================================================
+--- virtualbox.orig/src/VBox/Additions/x11/Installer/98vboxadd-xclient
++++ virtualbox/src/VBox/Additions/x11/Installer/98vboxadd-xclient
+@@ -40,9 +40,9 @@
+ # 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.
+- /usr/bin/VBoxClient --clipboard
+- /usr/bin/VBoxClient --checkhostversion
+- /usr/bin/VBoxClient --seamless
+- /usr/bin/VBoxClient --draganddrop
+- /usr/bin/VBoxClient --vmsvga-session # In case VMSVGA emulation is enabled
++ /usr/bin/VBoxClient --clipboard || true
++ /usr/bin/VBoxClient --checkhostversion || true
++ /usr/bin/VBoxClient --seamless || true
++ /usr/bin/VBoxClient --draganddrop || true
++ /usr/bin/VBoxClient --vmsvga-session || true # In case VMSVGA emulation is enabled
+ fi