LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   edit inittab (https://www.linuxquestions.org/questions/linux-newbie-8/edit-inittab-281639/)

C_J 01-24-2005 10:45 AM

edit inittab
 
Can someone please explain to me how to edit my inittab file from a command prompt - or maybe explain how to change run level from 5 to 3 at start-up? Problem is that my login screen doesn't load when X starts. I tried to login from failsafe, then startX - but got error that I don't have console ownership. Any help would be greatly appreciated. :newbie:

Niflheim 01-24-2005 10:50 AM

thats my problem too

Linux~Powered 01-24-2005 10:57 AM

Code:

vi /etc/inittab
# These are the default runlevels in Slackware:
# 0 = halt
# 1 = single user mode
# 2 = unused (but configured the same as runlevel 3)
# 3 = multiuser mode (default Slackware runlevel)
# 4 = X11 with KDM/GDM/XDM (session managers)
# 5 = unused (but configured the same as runlevel 3)
# 6 = reboot

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

Depending on your distributor you want the number beside the X11.
In Slackware it's 4, but other distributions its 5. So, you'll want to change the 3 to to either a 4 or 5.

If you're using VI to edit the file move you cursor over the "3" hit the "x" then the "i" then insert your number 4 or 5. then :wq Next time you reboot it'll boot to X.

C_J 01-24-2005 11:11 AM

Actually, it does boot into Xserver now ,problem is that it doesn't give me a login screen. Only a picture - cannot login. I think this may be what I need though - if I can login, then startX, maybe I can fix my screwup that is preventing login screen. Thanks - was looking at your site - very helpful. Will attempt to fix this now ...

C_J 01-24-2005 11:33 AM

Well, I tried ... :mad: :scratch: but now my inittab file is blank - don't ask me how ... crap, stuckon Windoze till I can fix this!!


All times are GMT -5. The time now is 10:49 PM.