From 9b422d52541dcf9dc34b3c971679e343c549118d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 2 Dec 2013 18:56:57 +0100 Subject: [xorg] Support /etc/X11/Xsession.d --- remote/modules/xorg/data/etc/X11/Xsession | 8 ++++++++ 1 file changed, 8 insertions(+) mode change 100644 => 100755 remote/modules/xorg/data/etc/X11/Xsession (limited to 'remote/modules') diff --git a/remote/modules/xorg/data/etc/X11/Xsession b/remote/modules/xorg/data/etc/X11/Xsession old mode 100644 new mode 100755 index 15867190..dc64cf77 --- a/remote/modules/xorg/data/etc/X11/Xsession +++ b/remote/modules/xorg/data/etc/X11/Xsession @@ -2,6 +2,14 @@ #Workaround to start Xsession. The original Xsession script includes error handling functionality and sources other scrips from the Xsession.d/ directory. +SESSIONDIR="/etc/X11/Xsession.d" + +if [ -d "$SESSIONDIR" ]; then + for file in $SESSIONDIR/*; do + . $file || slxlog "xsession" "Xsession: Could not source $file" "$file" + done +fi + #start selected session case "$1" in failsafe) -- cgit v1.2.3-55-g7522