summaryrefslogtreecommitdiffstats
path: root/core/modules/lightdm-greeter-bwlp
diff options
context:
space:
mode:
authorSimon Rettberg2017-08-15 19:36:35 +0200
committerSimon Rettberg2017-08-15 19:36:35 +0200
commit559f3ae404978aef53b07ed82af0c6814d8d9e91 (patch)
treed175aa9d2c1f54bbdde469a63622b8b031435277 /core/modules/lightdm-greeter-bwlp
parent[run-virt] make sure TMP_ON_HDD is empty if needed (diff)
downloadmltk-559f3ae404978aef53b07ed82af0c6814d8d9e91.tar.gz
mltk-559f3ae404978aef53b07ed82af0c6814d8d9e91.tar.xz
mltk-559f3ae404978aef53b07ed82af0c6814d8d9e91.zip
[ldm-bwlp] Make Xsetup/Xreset/Xsession functional again as with KDM
Diffstat (limited to 'core/modules/lightdm-greeter-bwlp')
-rw-r--r--core/modules/lightdm-greeter-bwlp/data/etc/X11/Xsession.d/999-ldm-force-vmchooser6
-rw-r--r--core/modules/lightdm-greeter-bwlp/data/etc/lightdm/lightdm.conf.d/10-openslx.conf5
2 files changed, 10 insertions, 1 deletions
diff --git a/core/modules/lightdm-greeter-bwlp/data/etc/X11/Xsession.d/999-ldm-force-vmchooser b/core/modules/lightdm-greeter-bwlp/data/etc/X11/Xsession.d/999-ldm-force-vmchooser
new file mode 100644
index 00000000..3f25fcff
--- /dev/null
+++ b/core/modules/lightdm-greeter-bwlp/data/etc/X11/Xsession.d/999-ldm-force-vmchooser
@@ -0,0 +1,6 @@
+#!/bin/ash
+
+if [ -x /opt/openslx/bin/vmchooser ]; then
+ set -- /opt/openslx/bin/vmchooser
+fi
+
diff --git a/core/modules/lightdm-greeter-bwlp/data/etc/lightdm/lightdm.conf.d/10-openslx.conf b/core/modules/lightdm-greeter-bwlp/data/etc/lightdm/lightdm.conf.d/10-openslx.conf
index 0e717dbf..039a0400 100644
--- a/core/modules/lightdm-greeter-bwlp/data/etc/lightdm/lightdm.conf.d/10-openslx.conf
+++ b/core/modules/lightdm-greeter-bwlp/data/etc/lightdm/lightdm.conf.d/10-openslx.conf
@@ -1,4 +1,7 @@
[SeatDefaults]
greeter-hide-users=true
greeter-session=qt-lightdm-greeter
-session-wrapper=/opt/openslx/bin/vmchooser
+session-wrapper=/etc/X11/Xsession
+display-setup-script=/etc/X11/Xsetup
+session-cleanup-script=/etc/X11/Xreset
+