This is not identical to mine as, in my case, the taskbar had entirely disappeared. That’s not to say the solution may not be the same! But definitely differences in symptoms.
Having tested for 2 days with no issues I believe @knurpht 's answer has solved my problem. Thanks!
Unfortunately I must report that the issue returned. @knurpht - your fix is still relevant as it does resolve the symptoms temporarily, but clearly not the root cause.
Additional observation - the first occurrence of it this time around happened when I typed my password very rapidly after waking from sleep, before the lock screen had fully loaded. Possibly it’s due to that? I will see if I can replicate.
none. The OS was installed just over a week ago and I added the following things just after installing:
Thunderbird
Steam
The only non-default options I used during installation were to select en-GB language/keyboard and a bit of partition juggling as I’m dual-booting while working out how to remove my reliance on Windows.
I’ve added a couple of other things but they shouldn’t be relevant as the problem occurred before I added them.
When in this situation, a right-click on the desktop background does not produce any context menu, consequently I cannot enter the edit/configuration mode.
It may be misleading to say “desktop background” as when this happens, the wallpaper and desktop icons are gone as well as the taskbar. What I still see is any application windows that were already open, and a black background.
Things I have found that do still work:
Right click in windows that are still visible produces a context menu appropriate to that application
Yep - as already mentioned, that test (Wayland vs X11) was done … and shockingly, Wayland worked without showing the issue. It was suggested to continue to log in using the"Plasma / Wayland" option, until such time it’s determined what the true underlying issue is.
Also, logging in as a new user account does not reveal the issue.
This does bring everything back, which is good, though it died when I closed terminal. I had to call it as nohup plasmashell --replace & in order to let it stay running.
I am going to do more tests in Wayland and new user - while I did half a dozen each, I didn’t use either for a particularly long period, so I’m going to follow up just to be sure.
Here are some maybe-relevant logs
Feb 02 18:13:11 localhost.localdomain kscreenlocker_greet[88434]: PAM unable to dlopen(/usr/lib64/security/pam_fprintd.so): /usr/lib64/security/pam_fprintd.so: cannot open shared object file: No such file or directory
Feb 02 18:13:11 localhost.localdomain kscreenlocker_greet[88434]: PAM adding faulty module: /usr/lib64/security/pam_fprintd.so
Feb 02 18:13:11 localhost.localdomain kscreenlocker_greet[88434]: PAM unable to dlopen(/usr/lib64/security/pam_pkcs11.so): /usr/lib64/security/pam_pkcs11.so: cannot open shared object file: No such file or directory
Feb 02 18:13:11 localhost.localdomain kscreenlocker_greet[88434]: PAM adding faulty module: /usr/lib64/security/pam_pkcs11.so
Feb 02 18:18:14 localhost.localdomain kscreenlocker_greet[88743]: PAM unable to dlopen(/usr/lib64/security/pam_fprintd.so): /usr/lib64/security/pam_fprintd.so: cannot open shared object file: No such file or directory
Feb 02 18:18:14 localhost.localdomain kscreenlocker_greet[88743]: PAM adding faulty module: /usr/lib64/security/pam_fprintd.so
Feb 02 18:18:14 localhost.localdomain kscreenlocker_greet[88743]: PAM unable to dlopen(/usr/lib64/security/pam_pkcs11.so): /usr/lib64/security/pam_pkcs11.so: cannot open shared object file: No such file or directory
Feb 02 18:18:14 localhost.localdomain kscreenlocker_greet[88743]: PAM adding faulty module: /usr/lib64/security/pam_pkcs11.so
Feb 02 18:18:16 localhost.localdomain kscreenlocker_greet[88806]: PAM unable to dlopen(/usr/lib64/security/pam_fprintd.so): /usr/lib64/security/pam_fprintd.so: cannot open shared object file: No such file or directory
Feb 02 18:18:16 localhost.localdomain kscreenlocker_greet[88806]: PAM adding faulty module: /usr/lib64/security/pam_fprintd.so
Feb 02 18:18:16 localhost.localdomain kscreenlocker_greet[88806]: PAM unable to dlopen(/usr/lib64/security/pam_pkcs11.so): /usr/lib64/security/pam_pkcs11.so: cannot open shared object file: No such file or directory
Feb 02 18:18:16 localhost.localdomain kscreenlocker_greet[88806]: PAM adding faulty module: /usr/lib64/security/pam_pkcs11.so
Feb 02 18:18:19 localhost.localdomain plasmashell[2253]: qt.qpa.clipboard: QXcbClipboard::setMimeData: Cannot set X11 selection owner
Feb 02 18:18:19 localhost.localdomain plasmashell[2253]: qt.qpa.clipboard: QXcbClipboard::setMimeData: Cannot set X11 selection owner
Feb 02 18:18:19 localhost.localdomain plasmashell[2253]: qt.qpa.clipboard: QXcbClipboard::setMimeData: Cannot set X11 selection owner
Feb 02 18:33:17 localhost.localdomain kded6[2100]: org.kde.plasma.nm.kded: Unhandled active connection state change: 3
Feb 03 08:53:28 localhost.localdomain systemd[1922]: Stopped target Bluetooth.
Feb 03 08:53:28 localhost.localdomain systemd[1922]: Reached target Bluetooth.
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 40414261
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Output: 68
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Property: "EDID"
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: State (newValue, Deleted): 1
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRNotify_OutputProperty (ignored)
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 40414261
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Output: 68
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Property: "EDID"
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: State (newValue, Deleted): 1
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRNotify_OutputChange
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 38855623
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Output: 68
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: CRTC: 62
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Mode: 979
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Rotation: "Rotate_0"
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Connection: "Disconnected"
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Subpixel Order: 0
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRScreenChangeNotify
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 38855623
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Config_timestamp: 40414263
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Window: 16777222
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Root: 955
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Rotation: "Rotate_0"
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Size ID: 65535
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Size: 5120 1440
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: SizeMM: 1353 380
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRNotify_OutputChange
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 38855623
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Output: 68
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: CRTC: 62
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Mode: 979
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Rotation: "Rotate_0"
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Connection: "Disconnected"
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Subpixel Order: 0
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: XRandROutput 68 update
m_connected: 0
m_crtc XRandRCrtc(0x563119ede120)
CRTC: 62
MODE: 979
Connection: 1
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: Output 68 : connected = false , enabled = true
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: XRandROutput 68 update
m_connected: 1
m_crtc XRandRCrtc(0x563119ede120)
CRTC: 62
MODE: 979
Connection: 1
Feb 03 08:53:28 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: Output 68 : connected = false , enabled = true
Feb 03 08:53:28 localhost.localdomain kscreenlocker_greet[88806]: pam_kwallet5(kde-fingerprint:auth): pam_kwallet5: pam_sm_authenticate
Feb 03 08:53:28 localhost.localdomain kscreenlocker_greet[88806]: pam_kwallet5(kde-fingerprint:auth): pam_kwallet5: we were already executed
Feb 03 08:53:28 localhost.localdomain kscreenlocker_greet[88806]: pam_kwallet5(kde:auth): pam_kwallet5: pam_sm_authenticate
Feb 03 08:53:28 localhost.localdomain kscreenlocker_greet[88806]: pam_kwallet5(kde:auth): pam_kwallet5: we were already executed
Feb 03 08:53:28 localhost.localdomain kscreenlocker_greet[88806]: pam_kwallet5(kde-smartcard:auth): pam_kwallet5: pam_sm_authenticate
Feb 03 08:53:28 localhost.localdomain kscreenlocker_greet[88806]: pam_kwallet5(kde-smartcard:auth): pam_kwallet5: we were already executed
Feb 03 08:53:28 localhost.localdomain plasmashell[2253]: kde.plasmashell: requesting unexisting screen available rect -1
Feb 03 08:53:28 localhost.localdomain plasmashell[2253]: kde.plasmashell: requesting unexisting screen available rect -1
Feb 03 08:53:28 localhost.localdomain plasmashell[2253]: kde.plasmashell: requesting unexisting screen available rect -1
Feb 03 08:53:28 localhost.localdomain plasmashell[2253]: kde.plasmashell: requesting unexisting screen available rect -1
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRNotify_OutputChange
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 38855623
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Output: 68
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: CRTC: 62
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Mode: 979
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Rotation: "Rotate_0"
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Connection: "Connected"
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Subpixel Order: 0
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRScreenChangeNotify
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 38855623
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Config_timestamp: 40414771
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Window: 16777222
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Root: 955
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Rotation: "Rotate_0"
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Size ID: 0
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Size: 5120 1440
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: SizeMM: 1353 380
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: RRNotify_OutputChange
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Timestamp: 38855623
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Output: 68
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: CRTC: 62
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Mode: 979
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Rotation: "Rotate_0"
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Connection: "Connected"
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xcb.helper: Subpixel Order: 0
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: XRandROutput 68 update
m_connected: 1
m_crtc XRandRCrtc(0x563119ede120)
CRTC: 62
MODE: 979
Connection: 0
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: Connected output 68 to CRTC 62
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: Output 68 : connected = true , enabled = true
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: XRandROutput 68 update
m_connected: 0
m_crtc XRandRCrtc(0x563119ede120)
CRTC: 62
MODE: 979
Connection: 0
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: Output 68 : connected = true , enabled = true
Feb 03 08:53:29 localhost.localdomain kscreen_backend_launcher[2252]: kscreen.xrandr: Emitting configChanged()
Feb 03 08:53:32 localhost.localdomain DiscoverNotifier[2508]: packagekitqt.offline: Cannot process "org.freedesktop.PackageKit" as "org.freedesktop.PackageKit.Offline"
Feb 03 08:53:32 localhost.localdomain kded6[2100]: Registering ":1.844/StatusNotifierItem" to system tray
Feb 03 08:53:35 localhost.localdomain kscreenlocker_greet[88806]: pam_kwallet5(kde:setcred): pam_kwallet5: pam_sm_setcred
Feb 03 08:53:35 localhost.localdomain unix_chkpwd[89925]: password check failed for user (<redacted>)
Feb 03 08:53:35 localhost.localdomain kscreenlocker_greet[88806]: pam_unix(kde-fingerprint:auth): authentication failure; logname=<redacted> uid=1000 euid=1000 tty= ruser= rhost= user=<redacted>
Feb 03 08:53:35 localhost.localdomain unix_chkpwd[89926]: password check failed for user (<redacted>)
Feb 03 08:53:35 localhost.localdomain kscreenlocker_greet[88806]: pam_unix(kde-smartcard:auth): authentication failure; logname=<redacted> uid=1000 euid=1000 tty= ruser= rhost= user=<redacted>
Feb 03 08:54:20 localhost.localdomain plasmashell[2253]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:136: TypeError: Cannot read property 'screenGeometry' of null
Feb 03 08:54:20 localhost.localdomain plasmashell[2253]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml:250: TypeError: Cannot read property 'plasmoid' of undefined
Feb 03 08:54:20 localhost.localdomain xdg-document-portal[2060]: removing transfer 7691581730618747787 for dead peer :1.28
Feb 03 08:54:20 localhost.localdomain systemd[1922]: plasma-plasmashell.service: Consumed 5min 41.050s CPU time.
Feb 03 08:54:22 localhost.localdomain systemd[1922]: Started dbus-:1.2-org.kde.KSplash@1.service.
Feb 03 08:55:22 localhost.localdomain plasma_waitforname[90161]: org.kde.plasma.waitforname: WaitForName: Service was not registered within timeout
Feb 03 08:55:22 localhost.localdomain systemd[1922]: dbus-:1.2-org.kde.KSplash@1.service: Main process exited, code=exited, status=1/FAILURE
Feb 03 08:55:22 localhost.localdomain systemd[1922]: dbus-:1.2-org.kde.KSplash@1.service: Failed with result 'exit-code'.
Feb 03 08:55:49 localhost.localdomain systemd[1922]: Started dbus-:1.2-org.kde.KSplash@2.service.
Feb 03 08:55:56 localhost.localdomain pipewire[2191]: pw.node: (alsa_output.pci-0000_08_00.6.analog-stereo-46) graph xrun not-triggered (0 suppressed)
Feb 03 08:55:56 localhost.localdomain pipewire[2191]: pw.node: (alsa_output.pci-0000_08_00.6.analog-stereo-46) xrun state:0x7f70ec0d8008 pending:1/1 s:37703454068303 a:37703454074030 f:37703454095052 waiting:5727 process:21022 statu>
Feb 03 08:55:56 localhost.localdomain pipewire[2191]: pw.node: (alsa_output.pci-0000_03_00.1.hdmi-stereo-extra4-64) graph xrun not-triggered (0 suppressed)
Feb 03 08:55:56 localhost.localdomain pipewire[2191]: pw.node: (alsa_output.pci-0000_03_00.1.hdmi-stereo-extra4-64) xrun state:0x7f70ed16b008 pending:1/1 s:0 a:0 f:0 waiting:0 process:0 status:triggered
Feb 03 08:56:11 localhost.localdomain systemd[1922]: app-org.kde.konsole-28799.scope: Consumed 2min 29.202s CPU time.