LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 05: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, 07: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, 07: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, 07: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



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 01:10 PM
default runlevel 2 ? javb Ubuntu 3 10-28-2005 12:39 PM
default runlevel for Mandrake 10 lmcilwain Linux - Newbie 7 01-24-2005 10:56 AM
Default WM on Suse 9.2 @ Runlevel 5 maelstrom209 Linux - Software 2 12-06-2004 02:13 PM
Runlevel 5 default services pete_bogg Red Hat 7 10-31-2003 06:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:48 AM.

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
Open Source Consulting | Domain Registration