summaryrefslogtreecommitdiffstats
path: root/sesman/startwm.sh
blob: 457ca1a5e21d5204348433c53d256b33181524fa (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
#!/bin/sh
if [ -r /etc/default/locale ]; then
  . /etc/default/locale
  export LANG LANGUAGE
fi

# 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