LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-24-2005, 10:45 AM   #1
C_J
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, 10:50 AM   #2
Niflheim
Member
 
Registered: Jan 2005
Location: Québec
Distribution: Mandrake 10.1 Official
Posts: 104

Rep: Reputation: 15
thats my problem too
 
Old 01-24-2005, 10:57 AM   #3
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
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.
 
Old 01-24-2005, 11:11 AM   #4
C_J
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, 11:33 AM   #5
C_J
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!!
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 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