[plug] Redhat 6.0 - killing X

Colin Muller colin at durbanet.co.za
Fri Feb 11 14:26:25 WST 2000


Peter Wright wrote:
> XFree86, Gnome, etc. I'd like to
> 
> (a) kill X

Ctrl-Alt-Backspace - but it will still come back to an X login until you
do the following:

> (b) change the startup scripts so it doesn't try to start X on bootup.# 

You should find this line in  /etc/inittab:
id:5:initdefault:

Change the 5 to a 3 and re-boot

If you do startup at runlevel 5, you can get to a non-X login prompt
without killing your X by pressing Ctrl-Alt-F2 (or F3, F4, F5, F6). Then
use Ctrl-Alt-F7 to get back to the X window.

Here's RH's explanation of the runlevels from its default inittab file:

# Default runlevel. The runlevels used by RHS are:
#   0 - halt (Do NOT set initdefault to this)
#   1 - Single user mode
#   2 - Multiuser, without NFS (The same as 3, if you do not have
networking)
#   3 - Full multiuser mode
#   4 - unused
#   5 - X11
#   6 - reboot (Do NOT set initdefault to this)

Colin



More information about the plug mailing list