Skip to Content

Can I boot without X ?

topquarck's picture
Pronco's picture

init 3

Issue the following command on linux startup


- I'm a code junkie security enthusiast

ShErbO's picture

May I add please

This is 100% correct. And if you want the system to boot by default to command line,

you will find a line that says:

Change the 5 to 3 and voila'. The system will give you command-line by default and no X11 server.

Bassist Of The Fall's picture

What you can do, without

What you can do, without even editing /etc/inittab:

If you are using grub, you can edit the boot entry while in the menu after powering on. Hit "e" and you'll get an editor. Add a 3 on its own to the end of the line with kernel=/boot/vmlinuz-.. Then hit enter and b to boot up with these new settings (They're not permenant). That way you'll boot into runlevel 3 (no X), and when you reboot, the old settings will be back again.

-A

bestofnay's picture

so if i allrady runing

so if i allrady runing xserver and i wont shutdown it to install some driver like vga card and startx agin?

what i do to do this.......

BooDy's picture

several ways to do it

But since your question was asked in a topic related to runlevels I will tell you to switch to runlevel 3 from within your X. go to your favorite terminal emulator and as root type init 3 and X will die on you and throw you out to a login terminal.

PS: you should have asked this question in a seperate new topic

Death is only the beginning...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.


Dr. Radut | forum