You are not logged in.
Hi fellow Archers. I've been searching around without luck for a while, so here we go:
The systemd power commands only works when run as root.
when I try "systemctl poweroff" or "hibernate" as my regular user, I get
Failed to issue method call: Access denied
To the best of my knowledge, I have a well functioning systemd install, no rc's, no sysvinit.
I do not run a desktop environment.
I do not have polkit, but I do have PAM.
I use SLIM as login manager.
My logind session does not appear broken:
Id=1
Timestamp=Sat 2013-02-09 12:13:00 CET
TimestampMonotonic=34960282
DefaultControlGroup=name=systemd:/user/bladt/1
VTNr=7
Display=:0.0
Remote=no
RemoteUser=root
Service=slim
Leader=303
Audit=1
Type=x11
Class=user
Active=yes
State=active
KillProcesses=no
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
Name=bladt
As always, help and and help for self-help is much appreciated :)
Last edited by Bladtman242 (2013-02-09 16:34:58)
Offline
I do not have polkit, but I do have PAM.
You need polkit for this (this is also what the wiki says btw ).
Offline
Ah well.
I thought is was just outdated, as this has worked before.
Having polkit around just for this seems wasteful, so I think I'm going to make do with editing sudoers and making a couple aliases.
But thanks anyway
Offline