Kscreenlocker_greet missing osd directory

Hi! My lock screen will now work on the first unlock, but for subsequent unlocks the screen crashes / advises opening a new virtual terminal.

When I’m logged in and run /usr/libexec/kscreenlocker_greet --testing in the terminal, I get the following:

qml: The backend got an unknown wallpaper provider type. The wallpaper will now fall back to the default. Please check your wallpaper configuration!
file:///usr/share/plasma/shells/org.kde.plasma.desktop/contents/lockscreen/LockOsd.qml:10:1: "../osd": no such directory
Segmentation fault (core dumped)

I can’t find much about an “osd” folder from searching around, but it seems like I’m missing it? If I make an osd directory, then I get an error that I’m missing OsdItem.qml.

This is for Plasma 6.4.1 on Fedora with Wayland on x86_64. I updated today and I think Plasma was included. Any suggestions for how to proceed? Thanks!

hi, welcome.

the error message is trying to tell you why its failed, but you skipped over that part.

there is something about the wallpaper you are trying to use that is not set up properly

if you switch back to one of the canned wallpapers that comes with the distro, do you still have this issue?

I suspect this is the issue discussed here: All KDE apps crash upon opening / interacting - #2 by pg-tips

It’s a problem with the latest version of qt6-qtwayland deployed in Fedora.

If you updated today, then you most likely have version 6.9.1-2 of that package installed, so you could try downgrading to 6.9.1-1 as per 2375356 – qt6-qtwayland 6.9.1-2 breaks KDE Plasma lockscreen, requiring user to drop to TTY to unlock session

The “…/osd” error message is unrelated I think. I also see this message on a system which has never had the bad version of qt6-qtwayland installed, and never had the broken lockscreen.

The timing of the updates has meant that many users got their qt6-qtwayland upgraded at the same time as the Plasma 6.4.1 upgrade. So this issue is often being attributed to Plasma 6.4.1, when the cause is actually this Fedora-specific qtwayland package.

Hello,

I have the same Problem.
Plasma version 6.4.1-1.fc42.

x86_64, wayland, Fedora 42

Does downgrading qt6-qtwayland to 6.9.1-1 resolve the issue?

Guidance on how to do so: 2375356 – qt6-qtwayland 6.9.1-2 breaks KDE Plasma lockscreen, requiring user to drop to TTY to unlock session or https://bugzilla.redhat.com/show_bug.cgi?id=2375356#c4

UPDATE: a fixed version of qt6-qtwayland,6.9.1-3, has now been released into stable Fedora 42. So a normal sudo dnf upgrade --refresh should fix.

1 Like

yep directly resolved the issue. Thank you!!

1 Like

Hi all, as skyfishgoo noted there were two separate errors going on at once. Fixed the improperly set wallpaper and still kept running into the osd issue. Similar to Tschenkel, rolling back to qt6-wayland 6.9.1-1 resolved that for me, per @pg-tips’s suggestion. Thanks for the help everyone!!

Just to further the discussion. I’m not comfortable with “downgrade” as a solution to the issue. Same basic issue as the OP, but in following the code, I found that Root (more accurately “sudo to root”) doesn’t crash the logger like a normal user account. The referenced osd directory does not exist which could be getting to the root of the issue.