From 578c518553a27c89dee0614f513c9b0bd111905f Mon Sep 17 00:00:00 2001 From: Blake Ridgway Date: Fri, 21 Aug 2026 20:13:38 -0500 Subject: [PATCH] fix: boot to graphical.target when a display manager is enabled Enabling sddm created the graphical.target.wants symlink but the system still booted to multi-user (tty), because the default boot target was never switched. configure-system.sh now sets graphical.target whenever an enabled service list includes sddm, so the workstation edition boots straight to the KDE login screen. --- scripts/configure-system.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/configure-system.sh b/scripts/configure-system.sh index d69e21c..df1ad48 100755 --- a/scripts/configure-system.sh +++ b/scripts/configure-system.sh @@ -73,6 +73,14 @@ while IFS= read -r svc; do [[ -n "$svc" ]] && systemctl mask "$svc" 2>/dev/null || true done < <(yaml_list "$META" "masked" || true) +# Graphical boot: when a display manager (sddm) is enabled, boot straight to +# the graphical login instead of a tty. Without this the desktop is installed +# but the system still boots to multi-user. +if yaml_list "$META" "enabled" | grep -qx "sddm"; then + systemctl set-default graphical.target + log "graphical boot: default target set to graphical.target (sddm)" +fi + # Zero-telemetry: apt's automatic update calls are masked in metadata; also # ensure no package telemetry survives. rm -f /var/log/apt/*.log /var/cache/apt/archives/*.deb