Hi,
I recently noticed that whenever I log out from my KDE session I’m presented with a black screen on my laptop, and the Fedora boot logo on my desktop.
The system isn’t frozen or hung, as I can switch to a tty and log into my account. However, trying to restart the SDDM display manager (sudo systemctl restart display-manager.service
) won’t work.
One strange thing I noticed is that this doesn’t happen with a fresh new user, so I presume the issue must be related to KDE, right?
Looking into the system journal, I see some stuff that may indicate what the problem is, but I can’t make much out of it:
Oct 04 20:15:56 vittusaatana systemd[1]: Started sddm.service - Simple Desktop Display Manager.
Oct 04 20:15:56 vittusaatana audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=sddm comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 20:15:57 vittusaatana audit[1518]: USER_AUTH pid=1518 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_permit acct="sddm" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 04 20:15:57 vittusaatana audit[1518]: USER_ACCT pid=1518 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_permit acct="sddm" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 04 20:15:57 vittusaatana audit[1518]: CRED_ACQ pid=1518 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 04 20:15:57 vittusaatana sddm-helper[1518]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=976) by (uid=0)
Oct 04 20:15:57 vittusaatana systemd-logind[1224]: New session c1 of user sddm.
Oct 04 20:15:57 vittusaatana audit[1524]: USER_ACCT pid=1524 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:accounting grantors=pam_unix,pam_usertype acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 20:15:57 vittusaatana audit[1524]: CRED_ACQ pid=1524 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='op=PAM:setcred grantors=? acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
Oct 04 20:15:57 vittusaatana systemd[1524]: pam_unix(systemd-user:session): session opened for user sddm(uid=976) by (uid=0)
Oct 04 20:15:57 vittusaatana audit[1524]: USER_START pid=1524 uid=0 auid=976 ses=1 subj=system_u:system_r:init_t:s0 msg='op=PAM:session_open grantors=pam_selinux,pam_selinux,pam_loginuid,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="sddm" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Oct 04 20:15:57 vittusaatana systemd[1]: Started session-c1.scope - Session c1 of User sddm.
Oct 04 20:15:57 vittusaatana audit[1518]: USER_START pid=1518 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Oct 04 20:15:57 vittusaatana sddm-helper[1518]: Starting X11 session: "" "/usr/bin/sddm-greeter --socket /tmp/sddm-:0-jumDTN --theme /usr/share/sddm/themes/01-breeze-fedora"
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: Loading file:///usr/share/sddm/themes/01-breeze-fedora/Main.qml...
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject: Cannot create children for a parent that is in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject: Cannot create children for a parent that is in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject: Cannot create children for a parent that is in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject: Cannot create children for a parent that is in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject: Cannot create children for a parent that is in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject: Cannot create children for a parent that is in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject: Cannot create children for a parent that is in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
Oct 04 20:15:57 vittusaatana sddm-greeter[1534]: Failed to find a Kirigami platform plugin
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: gkr-pam: unable to locate daemon control file
Oct 04 20:16:04 vittusaatana audit[1657]: USER_AUTH pid=1657 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:authentication grantors=pam_usertype,pam_localuser,pam_unix,pam_gnome_keyring acct="cig0" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: gkr-pam: stashed password to try later in open session
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Oct 04 20:16:04 vittusaatana audit[1657]: USER_ACCT pid=1657 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:accounting grantors=pam_unix,pam_localuser acct="cig0" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Oct 04 20:16:04 vittusaatana audit[1657]: CRED_ACQ pid=1657 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_localuser,pam_unix,pam_gnome_keyring acct="cig0" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=? res=success'
Oct 04 20:16:04 vittusaatana audit[1657]: USER_ROLE_CHANGE pid=1657 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='pam: default-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 selected-context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 exe="/usr/libexec/sddm-helper" hostname=vittusaatana addr=? terminal=/dev/tty1 res=success'
Oct 04 20:16:04 vittusaatana sddm-helper[1518]: pam_unix(sddm-greeter:session): session closed for user sddm
Oct 04 20:16:04 vittusaatana audit[1518]: USER_END pid=1518 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_close grantors=pam_unix,pam_systemd acct="sddm" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Oct 04 20:16:04 vittusaatana audit[1518]: CRED_DISP pid=1518 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:setcred grantors=pam_permit acct="sddm" exe="/usr/libexec/sddm-helper" hostname=? addr=? terminal=:0 res=success'
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: pam_unix(sddm:session): session opened for user cig0(uid=1000) by (uid=0)
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Oct 04 20:16:04 vittusaatana sddm-helper[1680]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Oct 04 20:16:04 vittusaatana audit[1657]: USER_START pid=1657 uid=0 auid=1000 ses=2 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_kwallet5,pam_umask,pam_lastlog acct="cig0" exe="/usr/libexec/sddm-helper" hostname=vittusaatana addr=? terminal=/dev/tty1 res=success'
Oct 04 20:16:04 vittusaatana sddm-helper[1657]: Starting Wayland user session: "/usr/share/sddm/scripts/wayland-session /usr/libexec/plasma-dbus-run-session-if-needed /usr/bin/startplasma-wayland"
Oct 04 20:16:04 vittusaatana audit[1682]: AVC avc: denied { add_name } for pid=1682 comm="sddm-helper" name="sddm" scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:container_file_t:s0 tclass=dir permissive=0
Oct 04 20:16:04 vittusaatana sddm-helper[1682]: Could not open stderr to "/home/cig0/.local/share/sddm/wayland-session.log"
I’m running Kinoite 36 on both my laptop and my desktop; the GPU on my laptop is an Intel chipset, and on my desktop, I’m using the closed-source, proprietary Nvidia drivers. On both systems I use Wayland, but this issue also happens with the X11 server.