summaryrefslogtreecommitdiffstats
path: root/debian/patches/06-xsession.patch
blob: 2329f377091e3e4b9f810549bbc58bd4388f69c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
@@ -30,10 +30,10 @@
    # 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 --display
-  /usr/bin/VBoxClient --seamless
-  /usr/bin/VBoxClient --draganddrop
-  /usr/bin/VBoxClient --vmsvga-x11  # In case VMSVGA emulation is enabled
+  /usr/bin/VBoxClient --clipboard || true
+  /usr/bin/VBoxClient --checkhostversion || true
+  /usr/bin/VBoxClient --display || true
+  /usr/bin/VBoxClient --seamless || true
+  /usr/bin/VBoxClient --draganddrop || true
+  /usr/bin/VBoxClient --vmsvga-x11  || true # In case VMSVGA emulation is enabled
 fi