LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   About /etc/inittab (https://www.linuxquestions.org/questions/linux-general-1/about-etc-inittab-558995/)

zaxonus 06-04-2007 04:55 AM

About /etc/inittab
 
Hello,

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.

Michel

sadiqdm 06-04-2007 05:25 AM

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)
Code:

# /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

syg00 06-04-2007 05:41 AM

Check the (awesome) Gentoo docs - start with the Desktop Resources.

reddazz 06-04-2007 06:01 AM

Gentoo doesn't use the runlevels in the same way as Redhat and most Linux distros. To start KDM at boot time, do
Code:

#rc-update add xdm default
Also edit /etc/conf.d/xdm and make kdm the default login manager
Code:

DISPLAYMANAGER="kdm"


All times are GMT -5. The time now is 09:17 AM.