Skip to main content
 —  James Oakley
Screen Locker error

Just a quick post in case this helps someone.

My PC (Fedora 42) has just updated to KDE Plasma 6.4.

Immediately, every time I locked the session (Super key + L), an error appeared on the screen

Screenshot of error message

The screen locker is broken and unlocking it is not possible anymore. In order to unlock it, switch to a virtual terminal (e.g. Ctrl+Alt+F1), log in to your account and execute the command:

loginctl unlock-session 2

Then log out of the virtual session by pressing Ctrl+D, and switch back to the running session (Ctrl+Alt+F2).

Should you have forgotten the instructions, you can get back to this screen by pressing Ctrl+Alt+F2.

Firstly, for some reason, tty1 wouldn't work, so I needed to use Ctrl+Alt+F3 to get to tty3.

But I didn't want to be doing that every time my session locked.

Searching the web I found various bug reports (none recent) that sounded similar. There was nothing in the KDE bug tracker to match the error (that was opened since the Plasma 6.4 release). I went down various blind alleys that didn't help: changing my wallpaper from picture of the day to a fixed image, looking into the error file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory, and the error "ml: The backend got an unknown wallpaper provider type. Both those errors were popping up in journalctl at exactly the moment I locked my session and got the error message.

In the end, something someone posted somewhere prompted me to change the desktop theme. I simply opened the Settings app, and clicked to choose Breeze Dark.

The KDE Plasma System Settings window

Now my sessions lock and unlock without a hitch.

Blog Category:
Add new comment
The content of this field is kept private and will not be shown publicly.