debian default runlevel
I keep getting a graphical login with Debian (woody 3.0r1). I've gone to /etc/inittab where it has lines that say:
#The default runlevel. id:2:initdefault: I've changed that 2 to a 3 but I still get a graphical login. Am I in the right place? Does anyone know what I need to change where to boot to the command line instead? If it helps, boot up shows that it does enter run level 3 but then it always starts xdm.. Thanks in advance for the help! |
In Debian you have the update-rc.d program for dealing with symlinks of the runlevels. Get the default runlevel to 2 back, than run, as root :
update-rc.d -f xdm remove && update-rc.d xdm start 99 3 4 5 . stop 99 0 1 2 6 . Then the system will boot with command line. You just have to be able to launch 'init 3' to get a graphical login. You can use sudo for that. |
Cripe! It worked! Merci mon ami! I have no idea what that command does (are you sure you're a newbie!?) but it did the trick. Thanks again!
|
That command just creates or removes the symlinks you can find in the runlevels :
ls -l /etc/rc?.d |
All times are GMT -5. The time now is 04:58 AM. |