Start X at login

From ArchWiki
Revision as of 23:08, 23 July 2005 by Cactus (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Q: How can I start X at boot time in Arch?

A: Edit your /etc/inittab ... the first uncommented line should be something like this:


Change it to:


Forum Topic

You may also want to change the last line of the inittab file to start kdm or gdm instead of xdm

An alternative is to add something like the following to the bottom of your ~~/.bashrc:

if [[ -z \"$DISPLAY\" ]] && [[ $(tty) = /dev/vc/1 ]]; then

This way X is automatically started when you log in at the first console.

A final option is to add a display manager (kdm, gdm, or xdm) to the DAEMONS array in /etc/rc.conf