https://bugs.kde.org/show_bug.cgi?id=389144

            Bug ID: 389144
           Summary: KDisplayManager logind instantly kills all user
                    sessions on shutdown
           Product: ksmserver
           Version: 5.11.95
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: NOR
         Component: general
          Assignee: l.lu...@kde.org
          Reporter: max.harma...@web.de
  Target Milestone: ---

There is a severe problem with session handling on systems with logind.
This is reproducible on current kde-neon. 

Whenever a user on logout request a reboot or poweroff the KSMServer will use
"KDisplayManager" (plasma-workspace/libkworkspace) to handle the request. On
most current linux systems this will be handed to logind (not the display
manager as the name might suggest) via DBus to "org.freedesktop.login1" by
calling one of "org.freedesktop.login1.Manager.Reboot()" or
"org.freedesktop.login1.Manager.PowerOff()".

logind will then kill *all* user sessions instantly. In particular the current
running user session will not cleanly shutdown.

This can be illustrated by adding to "/usr/bin/startkade" after the comment
"#Anything after here is logout/shutdown":

echo "Checkpoint" >> ~/startkde.log

This will be executed on simple logout, but not on a shutdown. In particular
any following code is dead code on shutdown.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to