diff options
Diffstat (limited to 'remote/modules')
| -rwxr-xr-x[-rw-r--r--] | remote/modules/xorg/data/etc/X11/Xsession | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/remote/modules/xorg/data/etc/X11/Xsession b/remote/modules/xorg/data/etc/X11/Xsession index 15867190..dc64cf77 100644..100755 --- 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) |
