summaryrefslogtreecommitdiffstats
path: root/sesman/startwm.sh
blob: 0724bb76f59932389f579f77c8bc111037e41f77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
if [ -r /etc/default/locale ]; then
  . /etc/default/locale
  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