mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
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:
parent
30bc1f37da
commit
d497967e2f
1 changed files with 11 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue