SDDM fails to stop on reboot and shutdown

Strange, perhaps not anymore. I remember the first time I installed eos in 2020, I was so excited about the terminal centric that I used the shutdown command for the first time. As I recall it was giving a timer and then shutting down, that was what I found so :sunglasses: a bit like mission impossible. Then I discovered shutdown now. Guess either things changed or I live in an alternative world. Or have a bad memory. :grin:

Edit: but that’s on xfce, probably not that it matters.

Don’t know.

I just type poweroff and the system goes down immediately.
Likewise for reboot. I just type reboot.

Me either on kde with sddm.

Since we are at it, any command to logout?

Edit: ah depends on the DE, for xfce xfce4-session-logout

1 Like

I don’t know any DE agnostic command for that.

On Gnome, the following works for logout:

gnome-session-quit --logout

or

gnome-session-quit --logout --no-prompt

1 Like

qdbus org.kde.ksmserver /KSMServer logout 1 0 3

Edit: Not sure this is the best way?

Just checking in to say I have this issue on two different systems on wayland, both regardless of issuing shutdown via command line or UI (they’re both intel with amd dgpu, if that matters). But weirdly enough: Occasionally they just shut down gracefully. Testing out using wayland greeter with weston now. Might have fixed it.

Welcome to the EndeavourOS forum, I hope you enjoy your time here.

Pudge

Wayland greeter did not fix it for me =/ Still having this issue

I am now experiencing it on Arch as well. As far as I know, using the UI on Endeavour still behaves correctly. On Arch, it doesn’t, I need to logout before rebooting or shutting down. It’s either KWin or SDDM that’s causing the issue from what I was able to find around. I may open an issue on the Arch forums for my desktop.

Edit : in both cases, it’s the same kernel version and reverting to a previous kernel version on my Arch desktop didn’t fix the behaviour, so it is not likely to be an issue with the kernel.

It would be somewhat of a problem to use such work around but, perhaps, getting rid of the plasma x11 session and kwin_x11 could fix that problem if it is caused by kwin_x11.

I had the same problem running on Sway, on reboot sddm caused an error.

Installing sddm-git from AUR solved this problem for me.

Does anyone know what the status of this bug is? Is there any topic on the KDE bug tracker that you can check? The one posted by pebcak above is closed, but the problem still persists for month now. It seems that there are only workarounds available, but not a fix.

Since I’m no longer bothered by that issue (and it’s been months), I think the fix is to install sddm-git :wink:

That’s a workaround, not a fix :face_with_monocle:
I really don’t know if I want to replace a core package with some aur git one. That doesn’t sound exactly stable.

Up to you…been doing it for 9 months now…no problems.
Where do you think core packages come from ?
Hmm, I just checked and git and sddm the extra package, are at the same level. So it probably wouldn’t do you any good if you’re updated to current.

I have tried SDDM-git before, it didn’t fix it for me.

https://github.com/sddm/sddm/pull/1515 seems to suggest a fix but it’s been held for quite a while.

I am just a few days into my first eos install on my daily driver. I hit this same thing with Sway. (so…I would assume this is native to sddm with wayland, not just KDE-way).

Installed the git version, that’s fine. But looking at the sddm github, they don’t do full on https://github.com/sddm/sddm/releases very often, so I don’t see this getting fixed for us new to eos first time installers anytime soon. It’s kind of an ugly thing to have your first reboot take seemingly forever.

Just a suggestion that the maintainers of the Wayand flavors address it somehow. Either defaulting to the git, which seems ugly, or choosing a different greeter(Any suggestions?).

Loving this new install tho.

(this is copy and pasted from my post to another forum, forgive it sounding like I haven’t read through the thread here, I have.)