Package: calamares-settings-debian Version: 10.0.25-2 Tags: patch Hi,
Enabling autologin for user (by checking the checkbox at the Users page during installation) doesn't work due to 'displaymanager' module not being enabled in settings.conf. The attached patch fixes this issue.
diff -aNru calamares-settings-debian-10.0.25.orig/calamares/modules/displaymanager.conf calamares-settings-debian-10.0.25/calamares/modules/displaymanager.conf --- calamares-settings-debian-10.0.25.orig/calamares/modules/displaymanager.conf 1970-01-01 03:00:00.000000000 +0300 +++ calamares-settings-debian-10.0.25/calamares/modules/displaymanager.conf 2019-08-07 20:47:08.015332785 +0300 @@ -0,0 +1,26 @@ +# Configure one or more display managers (e.g. SDDM) +# with a "best effort" approach. +--- +#The DM module attempts to set up all the DMs found in this list, in that precise order. +#It also sets up autologin, if the feature is enabled in globalstorage. +#The displaymanagers list can also be set in globalstorage, and in that case it overrides anything set up here. +displaymanagers: + - slim + - sddm + - lightdm + - gdm + - lxdm + +#Enable the following settings to force a desktop environment in your displaymanager configuration file: +#defaultDesktopEnvironment: +# executable: "startkde" +# desktopFile: "plasma" + +#If true, try to ensure that the user, group, /var directory etc. for the +#display manager are set up correctly. This is normally done by the distribution +#packages, and best left to them. Therefore, it is disabled by default. +basicSetup: false + +#If true, setup autologin for openSUSE. This only makes sense on openSUSE +#derivatives or other systems where /etc/sysconfig/displaymanager exists. +sysconfigSetup: false diff -aNru calamares-settings-debian-10.0.25.orig/calamares/settings.conf calamares-settings-debian-10.0.25/calamares/settings.conf --- calamares-settings-debian-10.0.25.orig/calamares/settings.conf 2019-07-05 18:34:32.000000000 +0300 +++ calamares-settings-debian-10.0.25/calamares/settings.conf 2019-08-07 20:45:11.872088632 +0300 @@ -36,6 +36,7 @@ - keyboard - localecfg - users + - displaymanager - networkcfg - hwclock - services-systemd