mirror of https://github.com/neutrinolabs/xrdp
Merge pull request #1702 from yifanjiang/devel
startwm.sh: Additionally support /usr/etc/X11/xdm/Xsession
This commit is contained in:
commit
176b4b15a2
|
@ -85,6 +85,9 @@ wm_start()
|
||||||
# do not execute the pseudo login shell scripts
|
# do not execute the pseudo login shell scripts
|
||||||
. /etc/X11/xdm/Xsession
|
. /etc/X11/xdm/Xsession
|
||||||
exit 0
|
exit 0
|
||||||
|
elif [ -r /usr/etc/X11/xdm/Xsession ]; then
|
||||||
|
. /usr/etc/X11/xdm/Xsession
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_start
|
pre_start
|
||||||
|
|
Loading…
Reference in New Issue