Password for suspend -

poma pomidorabelisima at gmail.com
Sun Jan 19 19:55:07 UTC 2014


Answer to The Ultimate Question of Life, the Universe, and Everything. :)

LightDM/Xfce?

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

Create a group 'hibernate'
# groupadd hibernate

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

Re-log-in.


poma


-------------- next part --------------
polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.hibernate-multiple-sessions" &&
        subject.isInGroup("hibernate")) {
        return polkit.Result.YES;
    }
});


More information about the users mailing list