Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
KPowersave bringt Fehlermeldung nach Start
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Bloodsurfer
Guru
Guru


Joined: 07 Dec 2005
Posts: 361
Location: Wolfstein, Germany (Rhineland-Palatinate)

PostPosted: Fri Jul 28, 2006 1:27 pm    Post subject: KPowersave bringt Fehlermeldung nach Start Reply with quote

Und zwar folgende:

Sie haben nicht die nötigen Rechte, eine Verbindung zum Powersave Daemon über DBUS herzustellen. Bitte überprüfen Sie ihre DBUS Konfiguration sowie Ihre Installation.

Per Google finde ich dazu nur den Quellcode des Programms...

Die Meldung kommt seit dem letzten World Update.
Geändert hat sich da versionstechnisch bei den (meiner Meinung nach) relevanten Programmen folgendes:

Code:
[ebuild     U ] sys-power/kpowersave-0.6.2 [0.6.1] USE="-arts -debug -xinerama" 3,444 kB
[ebuild     UD]  sys-power/powersave-0.12.20 [0.13.1] USE="-doc -pam_console" 563 kB


kpowersave wurde also up- und powersave downgegradet (weiß zufällig jemand warum die neuere Version aus Portage verschwunden ist? bemerke das auch erst jetzt).

sys-apps/dbus-0.62 hatte ich schon vor dem Update, daran hat sich nichts geändert. Ich habe keinerlei Änderung an der Konfiguration vorgenommen, ausser Änderungen, die Portage wollte, an Dateien die ich selbst noch nie geändert hatte, automatisch vornehmen zu lassen per etc-update.

Auch neumergen der einzelnen Programme ändert nichts an der Fehlermeldung.

Hat jemand eine Idee wie ich das beheben könnte?
_________________
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Back to top
View user's profile Send private message
Masta Pete
Tux's lil' helper
Tux's lil' helper


Joined: 06 Dec 2004
Posts: 89
Location: /Europe/Austria/Vienna

PostPosted: Fri Jul 28, 2006 8:58 pm    Post subject: Reply with quote

Ich habe nun hier bei mir mal powersave und kpowersave emerged. zuerst hat noch der acpid gefehlt, aber nachdem ich den auch emerged hab(und nach einem reboot) lies sich powersaved mal ohne probleme starten. kpowersave lässt sich bis jetzt aber nur als root ausführen. als normaleruser bekomm ich nur fehlermeldungen von dbus.

//EDIT:

Das problem lässt sich mit sudo umgehen. vielleicht kennt sich ja jmd hier besser mit dbus aus und könnte evtl
beschreiben, wie man auch als normaler user mit kpowersave auf dbus zugreifen kann.

lg
pete
_________________
Auftragsentwicklung
Back to top
View user's profile Send private message
genstef
Retired Dev
Retired Dev


Joined: 13 Jun 2004
Posts: 668
Location: M/Bay/Germany

PostPosted: Fri Jul 28, 2006 10:50 pm    Post subject: Reply with quote

/etc/dbus-1/system.d/powersave.conf:

<!-- Allow desktop users to connect -->
<policy group="users">
<allow send_interface="com.novell.powersave"/>
<allow send_interface="com.novell.powersave.manager"/>
<allow send_interface="com.novell.powersave.request"/>
<allow send_interface="com.novell.powersave.action"/>

<allow receive_interface="com.novell.powersave"/>
<allow receive_interface="com.novell.powersave.manager"/>
<allow receive_interface="com.novell.powersave.request"/>
<allow receive_interface="com.novell.powersave.action"/>
</policy>


Also: addet euch einfach mal zur users gruppe.
Und sicherstellen dass dbus auch verfügbar ist im env:
source /etc/X11/xinit/xinitrc.d/30-dbus
Back to top
View user's profile Send private message
Masta Pete
Tux's lil' helper
Tux's lil' helper


Joined: 06 Dec 2004
Posts: 89
Location: /Europe/Austria/Vienna

PostPosted: Sat Jul 29, 2006 11:34 am    Post subject: Reply with quote

@genstef: ich hab das mal ausprobiert, die fehlermeldung bleibt aber trotzdem.

lg
pete
_________________
Auftragsentwicklung
Back to top
View user's profile Send private message
Bloodsurfer
Guru
Guru


Joined: 07 Dec 2005
Posts: 361
Location: Wolfstein, Germany (Rhineland-Palatinate)

PostPosted: Wed Aug 02, 2006 3:08 pm    Post subject: Reply with quote

Danke genstef, die "users" Gruppe hat bei mir das Problem gelöst! :)
_________________
SiberianSniper: my girlfriend's name ends with .c
Clete2: Uber geek! W00t! I'd rather have it end in .cpp... <insert name>.cpp
Dralnu: ...why not <name>.o? Then she's ready for linking...
SiberianSniper: or <name>.ko, so she's ready for insertion?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum