Summary: | cannot shutdown kde session sometimes | ||
---|---|---|---|
Product: | [Unmaintained] ksmserver | Reporter: | Roman K. <roman.karlstetter> |
Component: | general | Assignee: | Lubos Lunak <l.lunak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dirk.kde, jan, nate, ot.an, quazgar, stuffcorpse, s_chriscollins |
Priority: | NOR | ||
Version: | 4.11.1 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Roman K.
2011-10-12 20:36:32 UTC
I'm using 4.7.4 and have that problem as well. It seems to be that in my case in KSMServer::completeShutdownOrCheckpoint a notification is created and its signal closed() is connected to the slot logoutSoundFinished(). However, this slot gets never called. I couldn't yet figure out what goes wrong, sending the event explicitely after connecting the slot to it didn't solve it. I have a multicore AMD64 machine with damaged soundcard configuration (KDE thinks I have no soundcard). I'm on Gentoo, btw. Oh, it seems I'm hitting bug 228005. This seems to be a fix: https://git.reviewboard.kde.org/r/103593/diff/. i'm seeing this problem as well. luckily, i use suspend to ram most of the time, so it doesn't bother me that much that the only way to exit a kde session is by crashing it. the problem is that ksmserver never considers the session fully started. this is probably related to a "sorry" box telling me it could not start a .desktop file in Autostart (which worked just fine a while ago), and possibly knotify non-stop spamming me with an unidentified signal (there is just an annoying sound, no useful output; debug output is useless as well). I can reproduce the original problem in 4.10.2 sometimes, but it's not reliably reproduceable. I think I should note that trying to invoke the logout process manually with qdbus org.kde.ksmserver /KSMServer logout 0 2 2 does not produce any output in ~/.xsession-errors at all. That's right, it happened to me too in the last time (4.10.3). I use "systemctl poweroff" in these cases, but I don't think the KDE session is shut down properly then. This issue has almost certainly been fixed at some point in the last 10 years. Any new occurrences of it would be a new issue with a new root cause that needs a new bug report. |