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.
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
init 3
Issue the following command on linux startup
- I'm a code junkie security enthusiast
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.
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
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.......
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...