I can’t log out, poweroff, restart and logout are all unresponsive, only “switch user” and “lock” work and they don’t provide any power-related buttons.
I was using a custom SDDM theme but tried switching to both vanilla Breeze and Breath with no result. Global theme is already just ordinary Breath, but I will try switching and re-applying, maybe it helps?
Under SDDM - behaviour - halt and reboot everything looks fine:
/usr/bin/systemctl reboot
/usr/bin/systemctl poweroff
I suppose last chance is to try to switch global theme, but it seems doubtful.
What I find strange is that “switch user” and “lock” are working but not the other 3 alternatives. Do you know if these are connected to different things? Does SDDM handle the 3 options that do not work but not the other 2? Then maybe something with SDDM is broken? I never really understood the different login features available in Linux.
Edit: I checked my logs for errors and found the following which maybe be relevant:
org.kde.kdeconnect ICE default IO error handler doing an exit(), pid = 6674, errno = 2
systemd plasma-kactivitymanagerd.service: Failed with result ‘exit-code’
Edit 2: Never mind the above errors, unable to reproduce them so they seem to have been connected to that particular boot.
I also solved the issue with the buttons after a day of troubleshooting. The issue was quite ridiculous and not at all as deep as I had assumed. I realized that it had nothing to do with SDDM as both switch user and lock worked fine and at least “switch user” seems to drop me to SDDM. Restoring global theme also made the “switch user screen” look like it used to. Then I remembered that the restart and poweroff options do not put you in SDDM but rather some form of graphical overlay on the desktop.
For future reference this is what I did:
Settings - Startup and Shutdown - Desktop sessions - deselect “confirm logout” and “offer shutdown options” - apply. Now the buttons work. Next session after restart simply apply them again and the overlay works again.