xfce4-session doesn't check for reboot correctly
Bug #1724196 reported by
Owen Dunn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Xfce4 Session |
Fix Released
|
Medium
|
|||
xfce4-session (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
xfce4-session 4.12.1-3ubuntu1
xfce4-session determines which buttons to grey out on the logout dialogue box by calling
polkit_
However, if polkit policy permits these actions but denies org.freedesktop
xfce4-session should instead use the CanReboot (etc.) methods on systemd-logind, which will automatically correctly check the correct polkit permissions.
I attach a patch to xfsm-systemd.c which works for me.
(S)
Changed in xfce4-session: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in xfce4-session: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
The attachment "Patch to xfsm-systemd.c" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]