startwm.sh should look for Xsession
This commit is contained in:
parent
e4b19abd1d
commit
2086cc25e7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user