Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I'm running Debian sarge, and I have trouve switching runlevels, I can switch to runlevel 1 by typing "init 1" but init 2, 3 and up seems to keep my X server.
So how can I run without my X server, do I have to change anything in /etc/inittab ?
Thanks for the help
Near the top of /etc/inittab, there is a comment which states: "The default runlevel is defined here", which is followed by the statement "id:x:initdefault". The X stands for the default runlevel. Change it to 5, save, and reboot to see if it starts if GUI mode (runlevel 5). If it boots to runlevel 3 (command line), issue the command "startx" to see if it starts the X server.
All of the commands are, of course, issued without quotes.
Debian seems to just use run levels 1 and 2. init 1 is the command prompt and init 2 is X. If you want the command prompt edit /etc/inittab and change initdefault to 1
Code:
sed -i 's@id:2:initdefault:@id:1:initdefault:@g' /etc/inittab
I've been trying all of this and it just doesn't work.
I am trying to get into init 3 runlevel to install my nvidia driver, but i can't do it. Ctrl+alt+backspace just logs me out. Inits 1 and 2 do something. And no matter how i get into a console, i always get a message within the driver installer that X server is running.
I even typed telinit 3 as root to see if it would drop into it. But debian is just not paying attention to it.
Is there a simpler, direct way instead of modifying scripts???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.