You are not logged in.
I installed Kpowersave from the AUR.
when I start it as user I get this error:
$ kpowersave
22:07:10:537: kpowersave::kpowersave
22:07:10:540: pDaemon::pdaemon
22:07:10:540: dbusPowersaveConnection::dbusPowersaveConnection
22:07:10:540: dbusPowersaveConnection::initDBUS
22:07:10:564: User is not permitted to connect to daemon
22:07:10:564: ERROR: Can't connect to DBUS
a added the user to the groups dbus,power and daemon, but I still get the same error.
How can I give the user the permission to connect to DBUS?
starting kpowersave as root works fine, but I want to run it as user...
Offline
did you restart you session?
groups only get updated after a new session is created
Offline
yes, I did.
$groups
users abs power dbus daemon slocate
Offline
maybe it has something to do with the acpid daemon taking control of the events:
Offline
Today I booted into my arch and it works!
The user don't need to be in groups dbus,daemon,power,hal ...
$ groups
slocate users michael abs
Maybe the daemons (hal,dbus,powersave) or (some of) the init-scripts had to be restarted after installation of kpowersave?? I don't know...
Anyway, the reboot did it.
Offline
good for u
Offline
hmm, after another reboot I get the same problem :?
20:28:09:772: User is not permitted to connect to daemon
20:28:09:772: ERROR: Can't connect to DBUS
I've made no changes!
Reooting now doesn't solve it...
any ideas?
EDIT:
I hope I solved it now. The user have to be in the "power" group.
I found the info in
etc/dbus-1/system.d/powersave.conf
Offline