Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-04-2007, 04:55 AM   #1
Registered: Jul 2005
Posts: 53

Rep: Reputation: 15
About /etc/inittab


I have a Gentoo installed on an old computer along with KDE.

All this works fine. But if I want the graphical login to fire up from start; for some reason it does not work.
I changed the initdefault in /etc/inittab from 3 to 5 as a I always do when I want to get this result. Nevertheless this time I must have forgotten something. Any idea ?

If I do startx from the command line : it works fine.

Old 06-04-2007, 05:25 AM   #2
Registered: Nov 2003
Location: London, UK
Distribution: openSUSE, Ubuntu
Posts: 358

Rep: Reputation: 35
Not all distribution use the same run-levels. Check in the text comments in inittab that 5 is correct. You should see a block of text that looks like this (from Suse 10.2)
# /etc/init.d/rc takes care of runlevel handling
# runlevel 0  is  System halt   (Do not use this for initdefault!)
# runlevel 1  is  Single user mode
# runlevel 2  is  Local multiuser without remote network (e.g. NFS)
# runlevel 3  is  Full multiuser with network
# runlevel 4  is  Not used
# runlevel 5  is  Full multiuser with network and xdm
# runlevel 6  is  System reboot (Do not use this for initdefault!)

I have also seen runlevel 4 used for X
Old 06-04-2007, 05:41 AM   #3
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,799

Rep: Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158Reputation: 2158
Check the (awesome) Gentoo docs - start with the Desktop Resources.
Old 06-04-2007, 06:01 AM   #4
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Gentoo doesn't use the runlevels in the same way as Redhat and most Linux distros. To start KDM at boot time, do
#rc-update add xdm default
Also edit /etc/conf.d/xdm and make kdm the default login manager


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
since we have no /etc/inittab scrupul0us Ubuntu 19 12-09-2010 04:54 PM
rc[0-6] and inittab kpachopoulos Linux - General 1 08-12-2005 04:27 PM
inittab mikedeatworld Linux - Software 3 08-13-2004 10:01 AM
Cant get out of inittab InEeDhElPlInUx Linux - Newbie 3 10-09-2003 02:13 PM
/etc/inittab sakeeb Linux - General 9 05-29-2002 09:04 AM > Forums > Linux Forums > Linux - General

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