DebianThis forum is for the discussion of Debian Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have recently installed Debian,
when i tried to install the nvidia driver i need to shutdown the xserver but the command :
telinit 3 dont work (as root!)
and telinit 0 works well !
i have tried to run at level 3 from the startup but also it's a failure.
You can start the system in text-mode editing the /etc/inittab file and puting the number "1" instead of "2" in the "The default runlevel" line.
I totally disagree with this solution because this would put you in single user mode and that is a completely different story. Besides that changing the inittab file makes the change permanent until another edit of the same file.
LE (2 year old thread): I know that this is a 2 year old post, but the thread wasn't closed and since I bumped into this I though I would make things a little bit clearer.
I totally disagree with this solution because this would put you in single user mode and that is a completely different story. Besides that changing the inittab file makes the change permanent until another edit of the same file.
I would also do CTRL+ALT+F2 login as root /etc/init.d/gdm stop install the drivers /etc/init.d/gdm start and I'm back in business..
no reason to edit any files to get to text mode.. I usually disable gdm in runlevel 2 so I always boot to console mode, then I login and startx. Personal preference, it gives me an easy way to install new drivers after a kernel upgrade without ever having to fight the system, and I never end up booting to a black screen this way..
In Debian as you have discovered run levels 2-5 are all identical. Debian boots to runlevel 2 by default. if you want you could edit runlevel 3 and tell it to stop gdm(or kdm, xdm whatever your case may be), then your approach with telinit 3 would actually work. you can use sysv-rc-conf to easily edit your runlevels.
How did you log off from the x server. I would really appreciate if you could write all thwe steps you made starting from having kdm/gnome up an running. Thanks in advance
If you want to boot say in runlevel 2 and you have grub,
Edit the line (e if I remember well), go at the end of the line and add 2
And you'll start in runlevel 2.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.