Tuesday, February 26, 2008

Disabling GUI on Linux How-to

To disable GUI on Linux, Edit the file /etc/inittab

Change the line

id:5:initdefault:

to

id:3:initdefault:


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)

0 comments: