- Add this line to /etc/gettytab to describe new terminal line with autologin
al.username:al=username:tc=std.230400:
, where <username> is user to log in automatically. "al.username" is the terminal name which can be any. -
Change ttyv0 line in /dev/ttys from this:
ttyv0 "/usr/libexec/getty Pc" xterm on secure
to thisttyv0 "/usr/libexec/getty al.username" xterm on secure
to spawn auto logged in terminal at Alt+F1 console. -
Set login shell on ttyv0 to start X11 immediately
echo 'if $tty == ttyv0 startx' >> ~/.login
- Reboot.
- X11 will start automatically for <username>.
Wednesday, January 30, 2013
Autologin in FreeBSD without GDM
Autologin and startx without GDM or other display manager:
Subscribe to:
Posts (Atom)