Wednesday, 15 April 2009

Login to Desktop or Console Prompt

1. Boot to console prompt: manual login, then startx ...
OR
2. Boot to Desktop (auto-login as USERNAME) ...

(on Archlinux)

1. vi /etc/inittab

id:3:initdefault:
# Boot to X11
#id:5:initdefault:

2. vi /etc/inittab

#id:3:initdefault:
# Boot to X11
id:5:initdefault:
#
# .... other stuff
#
# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:once:/bin/su USERNAME -l -c "/bin/bash --login -c startx >/dev/null 2>&1"
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null



References

Arch Boot Process, Auto Login, Login Manager, Start X at boot

No comments:

Post a Comment