Enable/Disable GUI on bootup

Paul Howarth paul at city-fan.org
Thu Mar 9 21:44:59 UTC 2006


On Thu, 2006-03-09 at 13:33 -0800, Tim Alberts wrote:
> How can I enable or disable the GUI login at bootup?  I have FC4 which gives the full GUI login (X Windows) and then can start into KDE/Gnome/etc.  How can I change that to not load any GUI login and just stay in terminal?  Then, how can I quickly get the GUI back?  Is there a way to switch back and forth without rebooting?

In the file /etc/inittab you have a line:

id:5:initdefault:

Change the 5 to a 3 to disable the GUI startup.

To switch between runlevels 5 and 3 without rebooting (which is what you
are trying to do), use "telinit 3" to go to runlevel 3 (no GUI), and
"telinit 5" to go to runlevel 5 (GUI).

Paul.





More information about the fedora-list mailing list