diff options
Diffstat (limited to 'remote/modules')
| -rwxr-xr-x | remote/modules/xorg/data/etc/X11/Xsession | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/remote/modules/xorg/data/etc/X11/Xsession b/remote/modules/xorg/data/etc/X11/Xsession index 914dd2e8..63f594b5 100755 --- a/remote/modules/xorg/data/etc/X11/Xsession +++ b/remote/modules/xorg/data/etc/X11/Xsession @@ -10,6 +10,11 @@ export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/o #Workaround to start Xsession. The original Xsession script includes error handling functionality and sources other scrips from the Xsession.d/ directory. +PROFILE="/etc/profile" +if [ -e "$PROFILE" ]; then + . "$PROFILE" || slxlog "xsession" "Xsession: Could not source $PROFILE" "$PROFILE" +fi + SESSIONDIR="/etc/X11/Xsession.d" if [ -d "$SESSIONDIR" ]; then |
