summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc9
1 files changed, 6 insertions, 3 deletions
diff --git a/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc b/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc
index 9f760789..7774f4d2 100644
--- a/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc
+++ b/os-plugins/plugins/kiosk/files/profiles/vmchooser/xinitrc
@@ -1,4 +1,7 @@
-#!/bin/sh
+# check if we need to include Xsession script generated by out profile
+# plugin
+[ -e /etc/X11/Xsession.d/10slx-home_env ] && \
+ . /etc/X11/Xsession.d/10slx-home_env
-xsetroot -bg navy
-/opt/openslx/plugin-repo/vmchooser/vmchooser -p /dev/null
+/usr/bin/xsetroot -solid navy
+/opt/openslx/plugin-repo/vmchooser/vmchooser -p /dev/null \ No newline at end of file