Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dbus + consolekit
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Wed Jan 04, 2012 1:23 pm    Post subject: [SOLVED] dbus + consolekit Reply with quote

ok, so i've finally managed to get a decent result from ck-list-sessions. got the current session as active and local ( involved rewriting .xinitrc, and chanding a conf file in pam.d ).

now, i'm yet to get consolekit to appear in dbus, because apparently that's what i need to restart/poweroff as a user, programatically (if not, please say so, since i'm SO confused with hal going out the windows, that i don't know much, anymore)


my qdbus does not show anything useful, currently:
Code:

rhiakath@gentoo ~ $ qdbus
:1.0
:1.1
 im.pidgin.purple.PurpleService
:1.2
 org.pulseaudio.Server
:1.28
:1.6
 org.gnome.GConf
:1.8
org.freedesktop.DBus


so, no consolekit there. i've noticed that there are quite a bunch of files in a certain dbus directory which look useful.

Code:

rhiakath@gentoo ~ $ ls /usr/share/polkit-1/actions/
org.freedesktop.consolekit.policy  org.freedesktop.policykit.policy  org.freedesktop.udisks.policy  org.freedesktop.upower.policy  org.freedesktop.upower.qos.policy  org.gnome.gconf.defaults.policy


policykit, consolekit, udisks, upower, none of those appear in qdbus. So i guess i must be missing something...

is there something i need to do?
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...


Last edited by Rhiakath on Wed Jan 04, 2012 4:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Wed Jan 04, 2012 4:39 pm    Post subject: Reply with quote

So, i got the answer.

Consolekit is on system debus, not on session dbus.
so the correct call would be qdbus --system
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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