Automatically startx on Gentoo


Results 1 to 3 of 3

Thread: Automatically startx on Gentoo

  1. #1
    Join Date
    Jan 2003
    Location
    Washington
    Posts
    41

    Automatically startx on Gentoo

    How do I make it so when the computer starts gdm when Gentoo boots up? Thank you.

  2. #2
    Join Date
    Jan 2003
    Location
    Ontario, Canada
    Posts
    310
    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.

  3. #3
    Join Date
    Apr 1999
    Location
    Toronto
    Posts
    6,707
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •