diff --git a/sesman/startwm.sh b/sesman/startwm.sh index d38b6d14..0724bb76 100755 --- a/sesman/startwm.sh +++ b/sesman/startwm.sh @@ -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