5 # xdm: Starts the X Display Manager (gdm / kdm / xdm)
7 # Version: @(#) /etc/rc.d/init.d/gdm 1.3
10 # description: Starts and stops the X Display Manager at startup and shutdown.
11 # can run one of several display managers; gdm, kdm, or xdm, in that order of
12 # preferential treatment.
14 # config: /etc/X11/gdm/gdm.conf
18 . /etc/rc.d/init.d/functions
20 # See how we were called.
23 show Starting X Daemon
24 daemon /usr/X11R6/bin/gdm
25 touch /var/lock/subsys/gdm
28 show Shuting down X daemon
30 rm -f /var/lock/subsys/gdm
40 echo "Usage: $0 {start|stop|status|restart}"