Click to See Complete Forum and Search --> : Automatically startx on Gentoo


LiquidBeef
01-08-2004, 11:23 PM
How do I make it so when the computer starts gdm when Gentoo boots up? Thank you.

DerekKraan
01-08-2004, 11:39 PM
There are two files in Gentoo, one does things that you want on startup, and the other does things that you want on shutdown. /etc/conf.d/local.start starts things, and /etc/conf.d/local.stop stops things(at shutdown). So if you want it to start up gdm for example you'd add gdm to your local.start and gdm stop to your local.stop.

X_console
01-08-2004, 11:45 PM
Actually, the recommended way of doing it is by adding xdm to your default runlevel. First, edit /etc/rc.conf and change the value for DISPLAYMANAGER to gdm. Then do rc-update add xdm default At your next reboot, gdm will be started for you. Read /etc/init.d/xdm for details on how it works.