Submitted by topquarck on Thu, 06/04/2006 - 17:04.
( categories: )

hi all;

By default i adjust my Linux to boot to the GUI automatically. but sometimes I need to boot to the text-mode without GUI.

I know it is so simple, to boot normally on the GUI andthen press Alt+Ctrl+F1 to use the text mode. but i think that the X server is still running so i am afraid that it is using memory and CPU power while i want to save them while i use the text mode.
Is there is a method to boot my Linux on text-mode only temporary without affecting the GUI paremently???

thanks tooo much


init 3

Pronco's picture

Issue the following command on linux startup

init 3

- I'm a code junkie security enthusiast

- http://pronco.manalaa.net

May I add please

ShErbO's picture

This is 100% correct. And if you want the system to boot by default to command line, edit (as root) the file /etc/inittab

you will find a line that says: id:5:initdefault:

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

What you can do, without

Bassist Of The Fall's picture

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


A new conspiracy theory: http://www.microsoft.com/ is running on a linux server

so if i allrady runing

bestofnay's picture

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.......

several ways to do it

BooDy's picture

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


HomePage: http://www.slashproc.net
Death is only the beginning...

Comment viewing options

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