Notice a mistake in the previous post. :)
I suggest tomorrow morning with a cup of hot black coffee.

LightDM/Xfce?

Save the file '50-org.freedesktop.login1.reboot-multiple-sessions.rules'
in the attachment to a dir '/etc/polkit-1/rules.d'.

Create a group 'reboot'
# groupadd reboot

Add your username to this group
# gpasswd -a <USER> reboot

Re-log-in.


poma


polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.reboot-multiple-sessions" &&
        subject.isInGroup("reboot")) {
        return polkit.Result.YES;
    }
});
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to