How to Linux disable X Windows KDE during system boot

by on September 2, 2006 · 2 comments· LAST UPDATED September 6, 2006

in

Q. How can I configure my system to disable X Windows KDE during Linux system coming up / booting up?

A. Usually almost all Linux distribution use following runlevels for text and GUI mode:

=> Runlevel - 2/3 : Text mode
=> Runlevel - 5 : GUI mode

These modes are defined in /etc/inittab file.

Open file /etc/inittab
# vi /etc/inittab

Find out entry that read as follows:
id:5:initdefault:

Set the default runlevel to 3 (text mode)
id:3:initdefault:

Save and close the file

Reboot the system
# reboot

Now you will boot into text mode only. If you want to see GUI (KDE desktop) type the following command:
$ startx

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 2 comments… read them below or add one }

1 Bhanu May 1, 2009 at 9:12 am

Thanks.. the data was really helpful in installing my 9800GT.

Reply

2 someswararao September 12, 2012 at 3:30 am

why graphical interface is disabled in linux servers

Reply

Leave a Comment

Tagged as:

Previous Faq:

Next Faq: