Sddm does not start

Hi.

My Calculate Linux boots ok, but it ends in a black screen. Then I switch to a console using ctl+alt+F1 and then I execute sddm and KDE starts without problem.

I have checked the file /etc/conf.d/xdm and set DISPLAYMANAGER=“sddm” as indicated in https://wiki.gentoo.org/wiki/SDDM.

Using this modifications the computer boots without problem.

The question is that the file is modified by Calculate Utilities 3.5.8.12 and is said that to modify I have to create /etc/conf.d/xdm.ctl but I haven’t found information on how to write it.

Or maybe the problem is the script xautologin that doesn’t know to boot sddm.

Any suggestions?

Thanks in advance.

I’m not sure but maybe you have to make similar file with that name, so cl-tools will read it and create new config using values from it. Default template is quite big

cat /var/lib/layman/calculate/profiles/templates/3.5/3_ac_install_live/1-merge/x11-base/xorg-server/conf.d/xdm
 # Calculate comment=#

CHECKVT=7
#?module(client)!=&&client.os_remote_auth!=#
#?pkg(x11-misc/sddm)!=#
DISPLAYMANAGER="sddm"
START_STOP_ARGS=
#pkg#
#?pkg(kde-base/kdm)!=&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="kdm"
START_STOP_ARGS=
#pkg#
#?pkg(x11-misc/lightdm)!=&&pkg(kde-base/kdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="lightdm"
START_STOP_ARGS=
#pkg#
#?pkg(lxde-base/lxdm)!=&&pkg(x11-misc/lightdm)==&&pkg(kde-base/kdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="lxdm"
START_STOP_ARGS=
#pkg#
#?pkg(gnome-base/gdm)!=&&pkg(kde-base/kdm)==&&pkg(x11-misc/lightdm)==&&pkg(lxde-base/lxdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="gdm"
START_STOP_ARGS=
#pkg#
#?pkg(x11-misc/slim)!=&&pkg(kde-base/kdm)==&&pkg(x11-misc/lightdm)==&&pkg(gnome-base/gdm)==&&pkg(lxde-base/lxdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="slim"
START_STOP_ARGS=
#pkg#
#!module#
#?cl_autologin!=&&pkg(x11-misc/lightdm)!=&&pkg(x11-misc/light-locker)!=#
DISPLAYMANAGER="lightdm"
START_STOP_ARGS=
#cl_autologin#
#?cl_autologin!=&&pkg(x11-misc/lightdm)==||cl_autologin!=&&pkg(x11-misc/light-locker)==#
XUSER=#-cl_autologin-#
DISPLAYMANAGER="bash"
START_STOP_ARGS="--background -- /usr/bin/xautologin $XUSER $CHECKVT"
#cl_autologin#
#?cl_autologin==&&pkg(x11-misc/sddm)!=#
DISPLAYMANAGER="sddm"
START_STOP_ARGS=
#cl_autologin#
#?cl_autologin==&&pkg(kde-base/kdm)!=&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="kdm"
START_STOP_ARGS=
#cl_autologin#
#?cl_autologin==&&pkg(x11-misc/lightdm)!=&&pkg(kde-base/kdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="lightdm"
START_STOP_ARGS=
#cl_autologin#
#?cl_autologin==&&pkg(lxde-base/lxdm)!=&&pkg(x11-misc/lightdm)==&&pkg(kde-base/kdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="lxdm"
START_STOP_ARGS=
#cl_autologin#
#?cl_autologin==&&pkg(gnome-base/gdm)!=&&pkg(kde-base/kdm)==&&pkg(x11-misc/lightdm)==&&pkg(lxde-base/lxdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="gdm"
START_STOP_ARGS=
#cl_autologin#
#?cl_autologin==&&pkg(x11-misc/slim)!=&&pkg(kde-base/kdm)==&&pkg(x11-misc/lightdm)==&&pkg(gnome-base/gdm)==&&pkg(lxde-base/lxdm)==&&pkg(x11-misc/sddm)==#
DISPLAYMANAGER="slim"
START_STOP_ARGS=
#cl_autologin#
#module#

Maybe much shorter one would be enough, for example:

CHECKVT=7
DISPLAYMANAGER="sddm"
START_STOP_ARGS=

Thanks a lot for your answer.

I will try the short version and check if an upgrade has modified it.

Thanks again.