https://bugzilla.xfce.org/show_bug.cgi?id=14722
--- Comment #19 from Landry Breuil <[email protected]> --- ok, first i looked and tried hard to understand the existing xfce4-session 4.12 code flow without patches, here on OpenBSD, and those are my findings: - if : - messagebus/systemwide dbus is running - the session is launched within consolekit - polkit is running - but we're not in operator group in the logout dialog, all actions are available. - the shutdown code tries to go via consolekit_try_shutdown, but the default consolekit rules on OpenBSD (http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/sysutils/consolekit/files/10-openbsd-consolekit.rules?rev=1.2&content-type=text/x-cvsweb-markup) require operator group to shutdown, or would ask for auth - i dont have a polkit agent installed, so the ckit codepath fails, doesnt ask for a passwd (apparently, even with mate-polkit installed it fails) - the fallback code 'works' because the polkit rule installed by xfce4-session in polkit-1/actions/org.xfce.session.policy allows the active session (<allow_active>yes</allow_active>) to execute xfsm-shutdown-helper (via consolekit, which runs as root) so a regular user (not in the operator group) is allowed to shutdown/reboot. now, to look again at that new fallback code.... -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ Xfce-bugs mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce-bugs
