How to Linux disable X Windows KDE during system boot

by Vivek Gite on September 2, 2006 · 1 comment

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

Featured Articles:

Share this with other sys admins!
Facebook it - Tweet it - Print it -

{ 1 comment… read it below or add one }

1 Bhanu May 1, 2009

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

Reply

Leave a Comment

You can use these HTML tags and attributes for your code and commands: <strong> <em> <ol> <li> <u> <ul> <blockquote> <pre> <a href="" title="">
What is 6 + 2 ?
Please leave these two fields as-is:
Solve the simple math so we know that you are a human and not a bot.



Previous post:

Next post: