startwm.sh should look for Xsession

This commit is contained in:
Jay Sorg 2013-05-03 20:07:31 -07:00
parent e4b19abd1d
commit 2086cc25e7

View File

@ -4,3 +4,23 @@ if [ -r /etc/default/locale ]; then
export LANG LANGUAGE
fi
. /etc/X11/Xsession
# debian
if [ -r /etc/X11/Xsession ]; then
. /etc/X11/Xsession
exit 0
fi
# el
if [ -r /etc/X11/xinit/Xsession ]; then
. /etc/X11/xinit/Xsession
exit 0
fi
# suse
if [ -r /etc/X11/xdm/Xsession ]; then
. /etc/X11/xdm/Xsession
exit 0
fi
xterm