LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 03-31-2003, 06:42 PM   #1
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Rep: Reputation: 30
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!
 
Old 03-31-2003, 08:03 PM   #2
moinefou
LQ Newbie
 
Registered: Mar 2003
Location: Strasbourg, France
Distribution: Debian GNU/Linux
Posts: 27

Rep: Reputation: 15
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.
 
Old 03-31-2003, 08:20 PM   #3
viniosity
Member
 
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244

Original Poster
Rep: Reputation: 30
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!
 
Old 03-31-2003, 08:29 PM   #4
moinefou
LQ Newbie
 
Registered: Mar 2003
Location: Strasbourg, France
Distribution: Debian GNU/Linux
Posts: 27

Rep: Reputation: 15
That command just creates or removes the symlinks you can find in the runlevels :

ls -l /etc/rc?.d
 
  


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
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 02:10 PM
default runlevel 2 ? javb Ubuntu 3 10-28-2005 01:39 PM
default runlevel for Mandrake 10 lmcilwain Linux - Newbie 7 01-24-2005 11:56 AM
Default WM on Suse 9.2 @ Runlevel 5 maelstrom209 Linux - Software 2 12-06-2004 03:13 PM
Runlevel 5 default services pete_bogg Red Hat 7 10-31-2003 07:55 PM


All times are GMT -5. The time now is 04:01 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