Configuring LightDM auto-login as wrolpi for WROLPi Portable.

Drops straight into the XFCE session at boot. The wrolpi password is still
required for sudo and screen unlock.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Roland 2026-05-20 19:15:37 -06:00 • committed by lrnselfreliance
parent 30bc1f37da
commit d497967e2f

View file

@ -172,6 +172,17 @@ banner-message-enable=true
banner-message-text=WROLPi Portable
EOF
# LightDM auto-login — drop straight into the XFCE session as wrolpi without
# a password prompt. The wrolpi password ('wrolpi') is still required for
# sudo and screen unlock.
mkdir -p /etc/lightdm/lightdm.conf.d
cat > /etc/lightdm/lightdm.conf.d/50-wrolpi-autologin.conf <<'EOF'
[Seat:*]
autologin-user=wrolpi
autologin-user-timeout=0
autologin-session=xfce
EOF
# Drop the default Postgres cluster created by the postgresql-* package.
# On first boot, the persistence partition will be bind-mounted over
# /var/lib/postgresql; with the default cluster baked into the squashfs, the