probonopd / LIVEstep

Experimental Live ISO based on FreeBSD with GNUstep and other components.
BSD 3-Clause "New" or "Revised" License
74 stars 12 forks source link

Remove the need to type startx #8

Closed probonopd closed 4 years ago

probonopd commented 4 years ago

http://12-oz-programmer.blogspot.com/2013/01/autologin-in-freebsd-without-gdm.html

echo 'al.liveuser:al=liveuser:tc=std.230400:' >> /etc/gettytab

sed -i -e 's|^ttyv0.*$|ttyv0 "/usr/libexec/getty al.liveuser" xterm on secure|g' /etc/ttys
rm /etc/ttys-e

echo 'if $tty == ttyv0 startx' >> /usr/share/skel/dot.login 

Things like this feel overengineered and underengineered at the same time.

probonopd commented 4 years ago

Done