Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-24-2005, 11:45 AM   #1
LQ Newbie
Registered: Jan 2005
Location: Canada
Distribution: Mandrake 10.0
Posts: 7

Rep: Reputation: 0
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.
Old 01-24-2005, 11:50 AM   #2
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Rep: Reputation: 15
thats my problem too
Old 01-24-2005, 11:57 AM   #3
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 845

Rep: Reputation: 33
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)

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.
Old 01-24-2005, 12:11 PM   #4
LQ Newbie
Registered: Jan 2005
Location: Canada
Distribution: Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
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 ...
Old 01-24-2005, 12:33 PM   #5
LQ Newbie
Registered: Jan 2005
Location: Canada
Distribution: Mandrake 10.0
Posts: 7

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


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
neet to edit inittab, pls help PSIPHON Linux - Newbie 7 07-16-2005 06:43 PM
Recover/edit of /etc/inittab from GRUB sujith_marar Linux - General 1 09-11-2004 02:19 PM
How to recover/edit /etc/inittab From GRUB sujith_marar Linux - Newbie 3 06-25-2004 11:28 AM
trying to edit inittab, perission denied texasjailer Linux - Newbie 4 06-18-2004 09:33 AM
Permision error when trying to edit 'inittab' /home/kyle Linux - Software 13 03-12-2004 06:19 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration