/etc/enlightenment/sysactions.conf
action: halt /sbin/shutdown -h now
action: reboot /sbin/shutdown -r now
action: suspend /etc/acpi/sleep.sh force
action: hibernate /etc/acpi/hibernate.sh force
user: BOB allow: halt reboot suspend hibernate
I am running e17 with slim login. Sorry for resurrecting an old thread but it kept topping my google search.
]]>systemctl status polkit.service
polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
Active: active (running) since Mon, 2012-11-19 06:45:47 CST; 4min 41s ago
Docs: man:polkit(8)
Main PID: 391 (polkitd)
CGroup: name=systemd:/system/polkit.service
└ 391 /usr/lib/polkit-1/polkitd --no-debug
I am running a pure systemd system. I was very confused when I could not find rc.d
systemd-sysvcompact is installed
]]># systemctl status polkit.service
show you? Are you sure you're running a pure systemd system? Is your system fully up to date? Also maybe it's this: https://bbs.archlinux.org/viewtopic.php?pid=1187801
Edit: also, check to see that you have systemd-sysvcompat installed as it has the links to the shutdown, reboot options.
]]>user: family allow: halt reboot suspend hibernate
action: halt /sbin/shutdown -h now
action: reboot /sbin/shutdown -r now
action: suspend /usr/sbin/pm-suspend
action: hibernate /usr/sbin/pm-hibernate
action: /bin/mount /bin/mount
action: /bin/umount /bin/umount
action: /usr/bin/eject /usr/bin/eject
user: root allow: *
group: operator allow: *
group: staff allow: *
group: admin allow: *
group: sys allow: *
group: wheel allow: *
group: adm allow: *
group: dialout allow: *
group: disk allow: *
group: adm allow: *
group: cdrom allow: *
group: floppy allow: *
group: audio allow: *
group: dip allow: *
group: plugdev allow: *
group: netdev allow: *
group: bluetooth allow: *
group: video allow: *
group: voice allow: *
group: fax allow: *
group: tty allow: *
user: * deny: *
I tried giving user all the power as well with the
user: family allow: *
Before when I had this problem I added consolekit in the initab with slim, but now arch uses systemd which I am not familier with. Any other ideas, I have been reading searching other post believe me. With the changes in Arch, the solutions I have been finding are old and outdated.
]]>user: myusername allow: *
to that file /etc/enlightenment/sysactions.conf
and that did the job for me. I found that I think on this forum or somewhere on google, it was only a few days ago, but don't exactly remember where.
]]>edit: so the OP has the option to edit the /etc/enlightenment/sysactions.conf or just add him/herself to the wheel group, I guess.
]]>edit: I still have E17 installed on my desktop but seldom use it. I just tried it out now and there are no problems with shutdown, reboot, etc. on my end. I use xdm with xdm-archlinux theme, not slim, so that may indeed be your problem.
]]>