You are not logged in.

#1 2006-10-29 21:58:30

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

[solved] Kpowersave - Can't connect to DBUS

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

#2 2006-10-30 00:00:34

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: [solved] Kpowersave - Can't connect to DBUS

did you restart you session?

groups only get updated after a new session is created

Offline

#3 2006-10-30 05:43:34

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] Kpowersave - Can't connect to DBUS

yes, I did.

$groups
users abs power dbus daemon slocate

Offline

#4 2006-10-30 06:59:11

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: [solved] Kpowersave - Can't connect to DBUS

maybe it has something to do with the acpid daemon taking control of the events:

http://powersave.sourceforge.net/powersave/index.html

Offline

#5 2006-10-30 16:13:44

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] Kpowersave - Can't connect to DBUS

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.   smile

Offline

#6 2006-10-30 16:47:19

Pajaro
Member
Registered: 2004-04-21
Posts: 878

Re: [solved] Kpowersave - Can't connect to DBUS

good for u smile

Offline

#7 2006-10-30 19:27:08

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: [solved] Kpowersave - Can't connect to DBUS

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

Board footer

Powered by FluxBB