LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Default runlevel = command line login? (https://www.linuxquestions.org/questions/debian-26/default-runlevel-%3D-command-line-login-241985/)

rdd 10-12-2004 11:06 PM

Default runlevel = command line login?
 
Hello -

Is it possible to have Debian boot up into a command line login prompt by default, rather than the GUI? From the little that I've read so far, it seems that runlevels 2-5 are identical for Debian, so this may not be possible (I've changed id in inittab from 2 to 3, to no avail). This is different from what I'm used to on RH.

Just curious...

Thank you,

Axo 10-12-2004 11:14 PM

Debian uses the following runlevels:

* 1 (single-user mode),
* 2 through 5 (multiuser modes), and
* 0 (halt the system),
* 6 (reboot the system).

darthtux 10-12-2004 11:24 PM

No it's not red hat.

apt-get install sysv-rc-conf

and use it to remove xdm, gdm, or kdm from your runlevel. Whatever your display manager is.

Or do it the easy way and in /etc/rc2.d/ change S99xdm to K99xdm.
Substitute you display manager. Or if your in runlevel 3 now do it in /etc/rc3.d/

utanja 10-12-2004 11:28 PM

apt-get install sysvconfig....

now just uncheck gdm or kdm or what ever window manger you use... and reboot

:) :) :)

darthtux 10-12-2004 11:32 PM

You don't have to reboot. This ain't windows :) Just do a telinit command.

telinit q
causes the /etc/inittab file to be re-read or you can
init runlevel

rdd 10-13-2004 12:08 PM

Thank you all for the replies!


All times are GMT -5. The time now is 10:55 PM.