sddm freezes after entering password

It used to work, but now shortly after a distro upgrade (15.1 → 15.2), and some working reboots it stopped… :frowning:

running journalctl -ef shows the following when I enter the passwort in der login screen:


Oct 14 11:22:50 myhost sddm-greeter[1259]: Reading from "/usr/share/xsessions/plasma5.desktop"
Oct 14 11:22:50 myhost sddm[1803]: Message received from greeter: Login
Oct 14 11:22:50 myhost sddm[1803]: Reading from "/usr/share/xsessions/plasma5.desktop"
Oct 14 11:22:50 myhost sddm[1803]: Reading from "/usr/share/xsessions/plasma5.desktop"
Oct 14 11:22:50 myhost sddm[1803]: Session "/usr/share/xsessions/plasma5.desktop" selected, command: "/usr/bin/startplasma-x11"
Oct 14 11:22:51 myhost sddm-helper[1278]: [PAM] Starting...
Oct 14 11:22:51 myhost sddm-helper[1278]: [PAM] Authenticating...
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:auth): (null): pam_sm_authenticate
Oct 14 11:22:51 myhost sddm-helper[1278]: [PAM] Preparing to converse...
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:auth): pam_kwallet5: Couldn't get password (it is empty)
Oct 14 11:22:51 myhost sddm-helper[1278]: [PAM] Conversation with 1 messages
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:auth): pam_kwallet5: pam_sm_authenticate
Oct 14 11:22:51 myhost sddm-helper[1278]: [PAM] returning.
Oct 14 11:22:51 myhost sddm[1803]: Authenticated successfully
Oct 14 11:22:51 myhost sddm-greeter[1259]: Message received from daemon: LoginSucceeded
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Oct 14 11:22:51 myhost systemd-logind[1269]: New session 6 of user annacou.
Oct 14 11:22:51 myhost systemd[1]: Started Session 6 of user annacou.
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_unix(sddm:session): session opened for user annacou by (uid=0)
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Oct 14 11:22:51 myhost sddm-helper[1284]: pam_kwallet5: final socket path: /run/user/1000/kwallet5.socket
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_open_session
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:session): pam_kwallet5: we were already executed
Oct 14 11:22:51 myhost sddm-helper[1278]: Starting: "/etc/X11/xdm/Xsession \"/usr/bin/startplasma-x11\""
Oct 14 11:22:51 myhost sddm-helper[1287]: Adding cookie to "/home/annacou/.Xauthority"
Oct 14 11:22:51 myhost sddm[1803]: Session started
Oct 14 11:22:51 myhost sddm-helper[1246]: [PAM] Closing session
Oct 14 11:22:51 myhost sddm-helper[1246]: pam_unix(sddm-greeter:session): session closed for user sddm
Oct 14 11:22:51 myhost sddm-helper[1246]: [PAM] Ended.
Oct 14 11:22:51 myhost sddm-helper[1246]: pam_kwallet5(sddm-greeter:session): pam_kwallet5: pam_sm_close_session
Oct 14 11:22:51 myhost sddm[1803]: Auth: sddm-helper exited successfully
Oct 14 11:22:51 myhost sddm[1803]: Greeter stopped.
Oct 14 11:22:51 myhost systemd-logind[1269]: Session 5 logged out. Waiting for processes to exit.
Oct 14 11:22:51 myhost systemd-logind[1269]: Removed session 5.
Oct 14 11:22:51 myhost systemd[1]: Stopping User Manager for UID 464...
Oct 14 11:22:51 myhost systemd[1248]: Stopping D-Bus User Message Bus...
Oct 14 11:22:51 myhost systemd[1248]: Stopped target Default.
Oct 14 11:22:51 myhost systemd[1248]: Stopped D-Bus User Message Bus.
Oct 14 11:22:51 myhost systemd[1248]: Stopped target Basic System.
Oct 14 11:22:51 myhost systemd[1248]: Stopped target Timers.
Oct 14 11:22:51 myhost systemd[1248]: Stopped target Sockets.
Oct 14 11:22:51 myhost systemd[1248]: Closed Sound System.
Oct 14 11:22:51 myhost systemd[1248]: Closed Multimedia System.
Oct 14 11:22:51 myhost systemd[1248]: Stopped target Paths.
Oct 14 11:22:51 myhost systemd[1248]: Closed D-Bus User Message Bus Socket.
Oct 14 11:22:51 myhost systemd[1248]: Reached target Shutdown.
Oct 14 11:22:51 myhost systemd[1248]: Starting Exit the Session...
Oct 14 11:22:51 myhost systemd[1248]: Received SIGRTMIN+24 from PID 1293 (kill).
Oct 14 11:22:51 myhost systemd[1]: Stopped User Manager for UID 464.
Oct 14 11:22:51 myhost systemd[1]: Removed slice User Slice of UID 464.
Oct 14 11:22:51 myhost sddm-helper[1278]: [PAM] Closing session
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_unix(sddm:session): session closed for user annacou
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:session): pam_kwallet5: pam_sm_close_session
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Oct 14 11:22:51 myhost sddm-helper[1278]: pam_kwallet5(sddm:setcred): pam_kwallet5: pam_sm_setcred
Oct 14 11:22:51 myhost sddm-helper[1278]: [PAM] Ended.
Oct 14 11:22:51 myhost sddm[1803]: Auth: sddm-helper exited with 1
Oct 14 11:22:51 myhost systemd-logind[1269]: Session 6 logged out. Waiting for processes to exit.

# kwallet-query 
qt.qpa.xcb: could not connect to display 
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

Aborted (core dumped)


Desperate for help! Thx :slight_smile:

@annacou:

Yeah, I also had this with my main KDE user after the upgrade fro Leap 15.1 to Leap 15.2 …

The solution is:

  • From a VT (tty1 … tty6), clean out the ~/.cache/ and ~/.kde4/ directories.
  • Remove the (text) file(s) in the ~/.dbus/session-bus/ directory.
  • Remove the user’s ~/.Xauthority file.
  • Clean out the user’s files in the /tmp/ and /var/ directories.
  • In the directory ~/.local/share/akonadi/ there’s a symbolic link to a directory in /tmp/ – unlink it.

Akonadi now uses a link to a user directory in /run/user/ …
[HR][/HR]That should be sufficient but, if it is not enough, the affected user should, from a VT, check the content of ~/.local/share/sddm/xorg-session.log for errors and, the output of the user’s systemd Journal – for the user, not the user “root”: “journalctl --this-boot” …

Haha, thank you.
When I tried mkdir cache.bak it failed due to no diskspace left. Then I realized timeshift had occupied all remaining diskspace on my home partition. I deleted it’s folder and now everything id fine.
Thank you! :slight_smile:

@annacou you can tried to reinstall sddm

"apt-get reinstall sddm

Its worked for me

In openSUSE, you use the following: zypper in -f sddm

“apt-get” is from the debian/ubuntu world.