2026-09-18 15:12 UTC
Day 18
Upon login on the first console, I configured ~/.profile to auto-start an X session. Upon exit, the user is logged out of the console:
if [ -z "$DISPLAY" ] && [ "$(tty)" = "/dev/constty" ]; then
exec startx > "$HOME/.xlog" 2>&1
fi
#X11 #40DaysOfNetBSD #NetBSD #RunBSD
Replies (0)
No replies.