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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-31-2003, 05:42 PM
|
#1
|
Member
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244
Rep:
|
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!
|
|
|
03-31-2003, 07:03 PM
|
#2
|
LQ Newbie
Registered: Mar 2003
Location: Strasbourg, France
Distribution: Debian GNU/Linux
Posts: 27
Rep:
|
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.
|
|
|
03-31-2003, 07:20 PM
|
#3
|
Member
Registered: Oct 2001
Location: Washington, DC
Distribution: Debian, Archlinux, Ubuntu, Sidux
Posts: 244
Original Poster
Rep:
|
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!
|
|
|
03-31-2003, 07:29 PM
|
#4
|
LQ Newbie
Registered: Mar 2003
Location: Strasbourg, France
Distribution: Debian GNU/Linux
Posts: 27
Rep:
|
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 10:04 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|