Unable to Shutdown/Reboot/Logout from KDE Plasma 6

Hi All,

Whenever I try and use the shutdown/reboot/logout buttons from the Start menu, I get the overlay saying that the computer will shutdown/reboot/logout in 30 seconds. However, when I press the OK button or let the timer run out, it doesn’t shutdown/reboot/logout. The only application that I’ve noticed close is Konsole, but nothing else seems to happen. Furthermore, the shutdown/reboot/logout buttons become unresponsive once clicked again in this state. So far I’ve had to run sudo shutdown now to shutdown my PC.

Doing some investigation, this is what I’ve found so in the journalctl:
(Running sudo journalctl -b, press the “Shutdown” button, then running sudo journalctl -b again )

Summary
Jun 10 14:00:18 GRAVY-DESKTOP sudo[4360]:    gravy : TTY=pts/1 ; PWD=/home/gravy ; USER=root ; COMMAND=/usr/bin/journalctl -b
Jun 10 14:00:18 GRAVY-DESKTOP sudo[4360]: pam_kwallet5(sudo:setcred): pam_kwallet5: pam_sm_setcred
Jun 10 14:00:18 GRAVY-DESKTOP sudo[4360]: pam_unix(sudo:session): session opened for user root(uid=0) by gravy(uid=1000)
Jun 10 14:00:18 GRAVY-DESKTOP sudo[4360]: pam_kwallet5(sudo:session): pam_kwallet5: pam_sm_open_session
Jun 10 14:00:18 GRAVY-DESKTOP sudo[4360]: pam_kwallet5(sudo:session): pam_kwallet5: we were already executed
Jun 10 14:00:22 GRAVY-DESKTOP sudo[4360]: pam_unix(sudo:session): session closed for user root
Jun 10 14:00:22 GRAVY-DESKTOP sudo[4360]: pam_kwallet5(sudo:session): pam_kwallet5: pam_sm_close_session
Jun 10 14:00:22 GRAVY-DESKTOP sudo[4360]: pam_kwallet5(sudo:setcred): pam_kwallet5: pam_sm_setcred
Jun 10 14:00:24 GRAVY-DESKTOP plasmashell[2579]: error creating screencast "Could not find window id 0"
Jun 10 14:00:25 GRAVY-DESKTOP dbus-daemon[2257]: [session uid=1000 pid=2257] Activating service name='org.kde.LogoutPrompt' requested by ':1.25' (uid=1000 pid=2579 comm="/usr/bin/plasma>
Jun 10 14:00:26 GRAVY-DESKTOP dbus-daemon[2257]: [session uid=1000 pid=2257] Successfully activated service 'org.kde.LogoutPrompt'
Jun 10 14:00:26 GRAVY-DESKTOP kernel: lockdown_is_locked_down: 5 callbacks suppressed
Jun 10 14:00:26 GRAVY-DESKTOP kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 10 14:00:26 GRAVY-DESKTOP kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 10 14:00:26 GRAVY-DESKTOP kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 10 14:00:26 GRAVY-DESKTOP kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 10 14:00:26 GRAVY-DESKTOP kernel: Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Jun 10 14:00:26 GRAVY-DESKTOP ksmserver-logout-greeter[4389]: kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11
Jun 10 14:00:26 GRAVY-DESKTOP dbus-daemon[1463]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.87' (uid=1000 pid=>
Jun 10 14:00:26 GRAVY-DESKTOP systemd[1]: Starting PackageKit Daemon...
Jun 10 14:00:26 GRAVY-DESKTOP PackageKit[4409]: daemon start
Jun 10 14:00:26 GRAVY-DESKTOP dbus-daemon[1463]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jun 10 14:00:26 GRAVY-DESKTOP systemd[1]: Started PackageKit Daemon.
Jun 10 14:00:26 GRAVY-DESKTOP ksmserver-logout-greeter[4389]: kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11
Jun 10 14:00:26 GRAVY-DESKTOP ksmserver-logout-greeter[4389]: kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11
Jun 10 14:00:26 GRAVY-DESKTOP plasmashell[2579]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
Jun 10 14:00:42 GRAVY-DESKTOP PackageKit[4409]: get-updates transaction /1_ddbaabba from uid 1000 finished with success after 16241ms
Jun 10 14:00:56 GRAVY-DESKTOP dbus-daemon[2257]: [session uid=1000 pid=2257] Activating service name='org.kde.Shutdown' requested by ':1.93' (uid=1000 pid=4389 comm="/usr/libexec/ksmser>
Jun 10 14:00:56 GRAVY-DESKTOP dbus-daemon[2257]: [session uid=1000 pid=2257] Successfully activated service 'org.kde.Shutdown'
Jun 10 14:00:56 GRAVY-DESKTOP plasma-shutdown[4544]: org.kde.plasma.shutdown: KWin failed to complete logout
Jun 10 14:01:00 GRAVY-DESKTOP PackageKit[4409]: daemon quit
Jun 10 14:01:00 GRAVY-DESKTOP systemd[1]: packagekit.service: Deactivated successfully.
Jun 10 14:01:00 GRAVY-DESKTOP systemd[1]: packagekit.service: Consumed 1.831s CPU time.
Jun 10 14:01:05 GRAVY-DESKTOP systemd[2212]: Started Konsole - Terminal.
Jun 10 14:01:08 GRAVY-DESKTOP sudo[4624]: pam_kwallet5(sudo:auth): pam_kwallet5: pam_sm_authenticate
Jun 10 14:01:08 GRAVY-DESKTOP sudo[4624]: pam_kwallet5(sudo:auth): pam_kwallet5: Refusing to do anything for the root user
Jun 10 14:01:12 GRAVY-DESKTOP systemd[1]: snapperd.service: Deactivated successfully.
Jun 10 14:01:13 GRAVY-DESKTOP sudo[4624]:    gravy : TTY=pts/1 ; PWD=/home/gravy ; USER=root ; COMMAND=/usr/bin/journalctl -b
Jun 10 14:01:13 GRAVY-DESKTOP sudo[4624]: pam_kwallet5(sudo:setcred): pam_kwallet5: pam_sm_setcred
Jun 10 14:01:13 GRAVY-DESKTOP sudo[4624]: pam_unix(sudo:session): session opened for user root(uid=0) by gravy(uid=1000)
Jun 10 14:01:13 GRAVY-DESKTOP sudo[4624]: pam_kwallet5(sudo:session): pam_kwallet5: pam_sm_open_session
Jun 10 14:01:13 GRAVY-DESKTOP sudo[4624]: pam_kwallet5(sudo:session): pam_kwallet5: we were already executed

Trying to run the logout command directly:

$ sudo qdbus6 org.kde.LogoutPrompt /LogoutPrompt org.kde.LogoutPrompt.promptLogout
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

I am running the most up-to-date snapshot of Tumbleweed as of writing, Plasma 6.0.5 & Wayland.

If there is any other information I should provide, please let me know.

Thanks!

Which display manager are you using?

You cannot request logout as different user (even root).

Wayland. Same issue occurred on X11 aswell.

However, I did manage to resolve this when finding Arch users having a similar problem.

I decided to uninstall drkonqi5 to see if that was the issue. After a reboot, I was successfully able to shutdown/reboot/logout. I then re-installed drkonqi5 to test if that package was indeed the issue. However, I was still able to shutdown/reboot/logout without issues.

I’m not sure if drkonqi5 was the issue and a re-install fixed it or if an update fixed it, but I am no longer having the issue :grinning:

Not the question I asked… but anyway you claim that it is working as expected now.

Oh, apologies. SDDM.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.