No login screen after interrupting sleep

When my screen goes dark after 5 minutes of inactivity and I instantly move my mouse (or press any key) to prevent it from locking, I see only sddm wallpaper (with current time) but no login screen. How can I get my login screen back to resume my KDE plasma session?
If I don’t instantly interrupt screen locking (not sure if it’s actually “locking” or “sleeping” or sth else) and move the mouse a bit later (I guess after it is fully locked) then login screen is properly displayed and I can resume GUI session.

What I tried so far:

  • switching to terminal (ctrl+alt+f3) and restarting sddm with:
    systemctl restart sddm
    it showed me sddm with login dialog, but after trying to login I got error “startkde: could not start plasma session”
  • ctrl+alt+backspace, to kill all xorg processes - it gets me to sddm login, but when I login I get the same error in dialog box: “startkde: could not start plasma session”. But I would like to avoid killing all processes and losing unsaved data.

Thank you in advance for any help.

– EDIT – some addition info:

kernel logs
sddm logs
plasmashell logs

Maybe this has something to do with it:

lip 04 11:21:45 mylap sddm[549245]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"
lip 04 11:21:45 mylap sddm[549245]: Auth: sddm-helper (--socket /tmp/sddm-auth-72039a61-2cb5-4469-a7a6-96b20f36a263 --id 1 --start /usr/bin/startplasma-x11 --user kossak) crashed (exit code 1)
lip 04 11:21:45 mylap sddm[549245]: Authentication error: SDDM::Auth::ERROR_INTERNAL "Process crashed"

kscreenlocker logs:

lip 04 09:04:57 mylap kscreenlocker_greet[16447]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US". Search paths QList("/usr/share/qt6/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
lip 04 10:24:46 mylap kscreenlocker_greet[245939]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US". Search paths QList("/usr/share/qt6/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
lip 04 11:08:02 mylap kscreenlocker_greet[462758]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US". Search paths QList("/usr/share/qt6/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
lip 04 11:21:59 mylap systemd[884]: plasma-ksmserver.service: Killing process 462758 (kscreenlocker_g) with signal SIGKILL.

Please tell us what are the error messages in journactl.

I had the same issue yesterday, right after the update (testing branch, X11), installing hunspell-en_us package solved the problem surprisingly.

I added logs to my first post.

That’s not sddm but kscreenlocker. They look the same, but they are two very different pieces of software.

That’s the wrong command. Use systemctl instead.

Sorry for the mistake, it was systemctl (there’s no such command as systemd :)).
I added some logs to my first post, including plasmashell logs, which also has a bunch of errors.

some logs for kscreenlocker:

lip 04 09:04:57 mylap kscreenlocker_greet[16447]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US". Search paths QList("/usr/share/qt6/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
lip 04 10:24:46 mylap kscreenlocker_greet[245939]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US". Search paths QList("/usr/share/qt6/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
lip 04 11:08:02 mylap kscreenlocker_greet[462758]: qt.virtualkeyboard.hunspell: Hunspell dictionary is missing for "en_US". Search paths QList("/usr/share/qt6/qtvirtualkeyboard/hunspell", "/usr/share/hunspell", "/usr/share/myspell/dicts")
lip 04 11:21:59 mylap systemd[884]: plasma-ksmserver.service: Killing process 462758 (kscreenlocker_g) with signal SIGKILL.

Maybe I do try to install this hunspell dictionary hunspell-en_us and see if it helps…

Did you read my first message ??? :face_with_raised_eyebrow:

Yes I provided logs in first message. Also I just installed hunspell-en_us. Anything i missed? :slight_smile:

No, i do not think so, just reboot and see what happens.

I also updated my plasma theme because i had lot of warning messages in logs

I also updated Manjaro to latest version, but all this didn’t help, unfortunately.

But I found workaround, thx to @Aragorn pointing it is not sddm, but screenlocker. When it happened again, I just killed kscreenlocker_greet process using terminal:
sudo kill -9 <PID_OF_SCREENLOCKER>
and got my plasma GUI session back properly :slight_smile:

Crashes like that can happen due to an incompatible theme, or the remnants of such in your home directory.

Probably yes, yesterday i updated (in fact i deleted and reinstalled them) all my windows11-**** themes because of incompatibility warnings in journalctl

A similar-sounding bug was reported to KDE and a fix was included in KDE Plasma 6.1.1.

3 Likes

And now it works. I have no idea why - last thing I did was just killing the screenlocker process, which helped only once, because the next lock happened again in 5 minutes, and this time there wasn’t any screenlocker process to kill, so I rebooted. Now I tried it twice, before and after reboot, and the problem is gone.
So thank you everyone for help!