Launchpad has imported 1 comments from the remote bug at https://bugzilla.xfce.org/show_bug.cgi?id=14707.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2018-09-19T09:55:02+00:00 Theo Linkspfeifer wrote: Created attachment 7984 Patch to xfsm-systemd.c Forwarded from https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1724196 --- xfce4-session 4.12.1-3ubuntu1 xfce4-session determines which buttons to grey out on the logout dialogue box by calling polkit_check_authorization_sync for the action org.freedesktop.login1.reboot etc. However, if polkit policy permits these actions but denies org.freedesktop.login1.reboot-multiple-sessions, and multiple users are logged in, the restart button on the logout dialogue box will be enabled even though the user isn't able to reboot the machine. 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) Reply at: https://bugs.launchpad.net/ubuntu/+source/xfce4-session/+bug/1724196/comments/4 ** Changed in: xfce4-session Status: Unknown => Confirmed ** Changed in: xfce4-session Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1724196 Title: xfce4-session doesn't check for reboot correctly To manage notifications about this bug go to: https://bugs.launchpad.net/xfce4-session/+bug/1724196/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs