Prev | Current Page 62 | Next

Chris Tyler

"X Power Tools"

You can easily disable the startup of the display
manager in runlevel 3 by executing these commands:
# update-rc.d -f gdm remove
# update-rc.d gdm start 31 2 4 5 . stop 31 1 3 .
2.6
30 Chapter 2: Starting a Local X Server
2.6 What Started the Display Manager?
Depending on your system configuration, the display manager may be started
directly by init, or through an init script. It??™s useful to know how the display manager
starts so that you can make changes and so that you know what will happen if
the display manager exits (or crashes!).
Started Directly by init
In some Linux distributions, the display manager is directly started by init. For example,
in Fedora??™s /etc/inittab, you will find this entry:
# Run xdm in runlevel 5
x:5:respawn:/etc/X11/prefdm -nodaemon
In the second line, the second field specifies that this command is executed only in
runlevel 5, and the third field directs that it is to be respawned (executed again) if it
exits.
The script /etc/X11/prefdm will execute /usr/sbin/autologin to automatically log in one
user if that feature has been set up. Otherwise, it will start one of the display managers
(GDM, KDM, or XDM) depending on the specification in /etc/sysconfig/desktop.


Pages:
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74