polkit doesn't return a result if a user is in the wheel group so when a
user
logs out the options to shutdown, suspend, etc aren't displayed.

I propose adding a file in /etc/polkit-1/rules.d in the build of lxsession
with the following:

polkit.addRule(function(action, subject) {
    if (subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});

If the user is in the group wheel they will now see the extra options when
logging out.

To test no logout is needed.  Just create the file and lxpolkit will pick
it up.

-Joe
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to