LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-13-2004, 12:06 AM   #1
rdd
LQ Newbie
 
Registered: May 2004
Posts: 11

Rep: Reputation: 0
Question 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,
 
Old 10-13-2004, 12:14 AM   #2
Axo
Member
 
Registered: May 2003
Distribution: Debian
Posts: 153

Rep: Reputation: 17
Debian uses the following runlevels:

* 1 (single-user mode),
* 2 through 5 (multiuser modes), and
* 0 (halt the system),
* 6 (reboot the system).
 
Old 10-13-2004, 12:24 AM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
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/
 
Old 10-13-2004, 12:28 AM   #4
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
apt-get install sysvconfig....

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

 
Old 10-13-2004, 12:32 AM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
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
 
Old 10-13-2004, 01:08 PM   #6
rdd
LQ Newbie
 
Registered: May 2004
Posts: 11

Original Poster
Rep: Reputation: 0
Thank you all for the replies!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
default.hotplug: line 1: env: command not found voyciz Slackware 2 03-04-2005 10:44 AM
play audio mp3 files from command line? runlevel <5 carl0ski Linux - Software 3 12-02-2004 05:58 AM
how do i get just a command line after login? Compton420 Linux - Newbie 7 09-18-2004 10:13 PM
Setting default printer from command line mihailolja Linux - Newbie 1 03-19-2004 03:49 PM
Changin Graphical Login to command line login 3DLirio Linux - Newbie 2 10-16-2003 10:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration