eliasp / plasma-workspace-units

systemd user-session units for KDE Frameworks 5/Plasma 5
http://quickgit.kde.org/?p=plasma-systemd-integration.git
GNU General Public License v2.0
19 stars 4 forks source link

Shutdown just log out #12

Closed AnAkkk closed 9 years ago

AnAkkk commented 9 years ago

When I try to shutdown my computer, it just log outs of the session and goes back to SDDM.

ghost commented 9 years ago

Same problem here

eliasp commented 9 years ago

This is a known limitation of the current user session experiments. User session services are ran outside of any session context, which means, they're not linked to any logind session. This means, that the processes run in a user-session service lack the context=default privilege required by most D-Bus system services (org.freedesktop.NetworkManager, org.freedesktop.UDisks2, …) for calling any methods on interfaces of those services.

This will be solved, once kdbus found its way into the Kernel and the model of a "user bus" instead of a "session bus" was established.

AFAIK there are some workarounds in polkit + dbus under development, trying to hack around this for the time being, but for now consider this "unsupported".