From cbb2129acee7d9e0324e6d8c43963e9d06fdbc87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tales=20A=2E=20Mendon=C3=A7a?= Date: Wed, 9 Sep 2026 22:09:32 -0300 Subject: [PATCH] Enable the display manager in the module that enables units The previous commit put the display manager list where it configures the greeter, not where it is switched on: Calamares has the displaymanager module configure the session, the greeter and autologin, and never touch the unit, which the services module does. So a GNOME install still reached a text login even with displaymanager.conf in place - the list was read, gdm was configured, and nothing enabled it. services.conf now enables all three, none of them mandatory, so the two that the edition did not install are skipped: sddm on KDE, gdm on GNOME, lightdm on Cinnamon and XFCE. displaymanager.conf stays, because without it the module falls back to a SUSE-only path and fails the job instead of configuring the display manager the image ships. --- .../bigcommunity/modules/services.conf | 13 +++++++++++++ .../biglinux/modules/services.conf | 13 +++++++++++++ .../xivastudio/modules/services.conf | 13 +++++++++++++ 3 files changed, 39 insertions(+) diff --git a/biglinux-livecd/usr/share/biglinux/calamares-profiles/bigcommunity/modules/services.conf b/biglinux-livecd/usr/share/biglinux/calamares-profiles/bigcommunity/modules/services.conf index fe42f9c..d0485ab 100644 --- a/biglinux-livecd/usr/share/biglinux/calamares-profiles/bigcommunity/modules/services.conf +++ b/biglinux-livecd/usr/share/biglinux/calamares-profiles/bigcommunity/modules/services.conf @@ -39,9 +39,22 @@ units: - name: cups-browsed action: enable mandatory: false + # One of these three is what the edition installed: sddm on KDE, gdm on + # GNOME, lightdm on Cinnamon and XFCE. The displaymanager module only + # configures the display manager - the session, the greeter, autologin - + # and never enables its unit, which is this module's job, so listing only + # sddm here left a GNOME or XFCE install with no display-manager.service + # and a text login on first boot. Enabling a unit that is not installed is + # skipped because none of them is mandatory. - name: sddm action: enable mandatory: false + - name: gdm + action: enable + mandatory: false + - name: lightdm + action: enable + mandatory: false - name: graphical.target action: set-default mandatory: false diff --git a/biglinux-livecd/usr/share/biglinux/calamares-profiles/biglinux/modules/services.conf b/biglinux-livecd/usr/share/biglinux/calamares-profiles/biglinux/modules/services.conf index fe42f9c..d0485ab 100644 --- a/biglinux-livecd/usr/share/biglinux/calamares-profiles/biglinux/modules/services.conf +++ b/biglinux-livecd/usr/share/biglinux/calamares-profiles/biglinux/modules/services.conf @@ -39,9 +39,22 @@ units: - name: cups-browsed action: enable mandatory: false + # One of these three is what the edition installed: sddm on KDE, gdm on + # GNOME, lightdm on Cinnamon and XFCE. The displaymanager module only + # configures the display manager - the session, the greeter, autologin - + # and never enables its unit, which is this module's job, so listing only + # sddm here left a GNOME or XFCE install with no display-manager.service + # and a text login on first boot. Enabling a unit that is not installed is + # skipped because none of them is mandatory. - name: sddm action: enable mandatory: false + - name: gdm + action: enable + mandatory: false + - name: lightdm + action: enable + mandatory: false - name: graphical.target action: set-default mandatory: false diff --git a/biglinux-livecd/usr/share/biglinux/calamares-profiles/xivastudio/modules/services.conf b/biglinux-livecd/usr/share/biglinux/calamares-profiles/xivastudio/modules/services.conf index fe42f9c..d0485ab 100644 --- a/biglinux-livecd/usr/share/biglinux/calamares-profiles/xivastudio/modules/services.conf +++ b/biglinux-livecd/usr/share/biglinux/calamares-profiles/xivastudio/modules/services.conf @@ -39,9 +39,22 @@ units: - name: cups-browsed action: enable mandatory: false + # One of these three is what the edition installed: sddm on KDE, gdm on + # GNOME, lightdm on Cinnamon and XFCE. The displaymanager module only + # configures the display manager - the session, the greeter, autologin - + # and never enables its unit, which is this module's job, so listing only + # sddm here left a GNOME or XFCE install with no display-manager.service + # and a text login on first boot. Enabling a unit that is not installed is + # skipped because none of them is mandatory. - name: sddm action: enable mandatory: false + - name: gdm + action: enable + mandatory: false + - name: lightdm + action: enable + mandatory: false - name: graphical.target action: set-default mandatory: false