On Thursday 09 February 2006 19:42, El TuZa wrote:
> > runlevel? gentoo? runlevel?
>
> Sorry, I told I was new to gentoo...I was using slackware till I got
> my amd64 and slamd64 didn't do it for me. How does gentoo manage with
> runlevels? how to do to start kdm automatically?

rc-update add xdm default

as root

also open 
/etc/rc.conf 

and set 
DISPLAYMANAGER="kdm"

for the runlevels:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=4

as you can see here:
l0:0:wait:/sbin/rc shutdown
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot

3, 4 and 5 are the same runlevel (default)

you call runlevels by their name in gentoo (single, nonetwork, boot, default). 
If you want to run something in a certain runlevel you add it with rc-update.

thus rc-update add xdm default

will add the xdm init script to the default runlevel - which login manager is 
started is determined by rc.conf  . while
rc-update add hotplug boot

would add hotplug to the boot runlevel

removing is done with 'del' instead of add.

This is all explained in detail in the documentation, please read it.

Glück Auf
Volker

-- 
gentoo-user@gentoo.org mailing list

Reply via email to