LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-17-2006, 02:18 PM   #1
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Rep: Reputation: 0
I Don't Understand RunLevels


Hey guys whats up, I was fooling around on my box and changed the inittab along with emerging gnome-light. Pretty much all I changed was the /etc/inittab runlevel from 3 to 5 to get a gui login. Well it works but something is broken about the login, its just a bix X and gray background and I login and dont get anything. So I tried to change it back to 3 and still get the gui. I can change it to 1 and get the text login but no internet, obviously.

I told you all that so you can understand alittle about the situation, basically what I want again is just to have the normal text login (runlevel 3) but when I change it to 3 i still get the XDM (i think thats what it is) If anyone knows anyother files I have to edit to get it going back to runlevel 3, I've been reading through all the files related to startup but maybe I missed something. Any help would be greatly appreciated, thanks.

Gentoo 2.6.15-r1

Last edited by XavierP; 03-18-2006 at 07:19 AM.
 
Old 03-17-2006, 02:29 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
first, please clean up the language....

When changing inittab, are you re-booting? If so, and you still have problems, check to see that the file is really changed (maybe an issue with saving??)
 
Old 03-17-2006, 03:03 PM   #3
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
I reboot everytime I changed the inittab file, and I still get XDM and it even says during start-up that "Entering runlevel 3" but I still get the GUI xdm.
 
Old 03-17-2006, 03:25 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
If you see an ugly, loathsome, repulsive, deformed window manager, that's twm.
That's from the Gentoo "X config howto" doc - which along with a Gnome paper is in the "desktop Doco". I'd suggest you spend some time there.

As to your problem, sounds like you also added xdm to the default runlevel. Just take it out to lose the GUI login.
 
Old 03-17-2006, 05:30 PM   #5
anon209
Member
 
Registered: Nov 2005
Location: North America
Distribution: Gentoo
Posts: 105

Original Poster
Rep: Reputation: 0
Ok, So how exactly do I go about stopping XDM, I mean i can run "/etc/init.d/xdm stop" but that just stops it for the current session. How do I 'umemerge' xdm because I think now that your telling me all this, I remember emerging xdm and I think that command embedded xdm into my runlevel. So how can I fully remove xdm? Or what command will fix this problem?
 
Old 03-17-2006, 05:51 PM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
emerge would not have added xdm to runlevel 3, you must have done that. It's been a while since I've ran Gentoo but look check the man page for rc-update and use that to remove xdm from the default runlevel. Something like this, maybe a Gentoo user could correct my syntax here?
Code:
rc-update xdm remove default
 
Old 03-17-2006, 06:52 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Close - "rc-update del xdm default". Leave the runlevel off to delete it from all levels.
As suggested, hit the man page.

"rc-update show" will tell you if you have added it to a runlevel.
 
Old 03-18-2006, 07:20 AM   #8
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Thread and title cleaned up.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Runlevels nin881 Slackware 8 05-21-2005 02:50 AM
RunLevels bcom Mandriva 3 05-31-2004 07:07 PM
runlevels? Computergirl24 Linux - Software 4 12-26-2003 04:45 PM
mandrake 9 runlevels jbmcmillan Linux - Distributions 3 07-21-2003 12:56 AM
runlevels kriver Linux - General 1 03-13-2002 05:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:57 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
Open Source Consulting | Domain Registration