From 559f3ae404978aef53b07ed82af0c6814d8d9e91 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 15 Aug 2017 19:36:35 +0200 Subject: [ldm-bwlp] Make Xsetup/Xreset/Xsession functional again as with KDM --- .../data/etc/X11/Xsession.d/999-ldm-force-vmchooser | 6 ++++++ .../data/etc/lightdm/lightdm.conf.d/10-openslx.conf | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 core/modules/lightdm-greeter-bwlp/data/etc/X11/Xsession.d/999-ldm-force-vmchooser (limited to 'core/modules/lightdm-greeter-bwlp') 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 + -- cgit v1.2.3-55-g7522