You are not logged in.

#1 2010-07-14 21:49:12

slint
Member
Registered: 2009-05-22
Posts: 31

dbus, consolekit, polkit, udisks issue

after hours trying to figure out why I can't mount disks with udisks I finally came across this line in /var/log/auth.log:

Jul 14 23:16:41 void dbus-daemon: [system] Rejected send message, 1 matched rules; type="method_call", sender=":1.8" (uid=0 pid=1675 comm="/usr/lib/polkit-1/polkitd) interface="org.freedesktop.ConsoleKit.Manager" member="GetSessionForUnixProcess" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=12597 comm="/usr/sbin/console-kit-daemon))

So it seems that polkit can't contact consolekit and so polkit doesn't see that my session is active.
I fixed this with commenting out:

  <deny own="*"/>
    <deny send_type="method_call"/>

in /etc/dbus-1/system.conf but I don't think that's a clean method, and I have absolutely no idea what those line do.
I run xmonad launched with ck-launch-session.

How can this be fixed better?

Offline

#2 2010-07-14 22:23:04

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: dbus, consolekit, polkit, udisks issue

tried ?

exec ck-launch-session dbus-launch wm

Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-07-15 09:39:19

slint
Member
Registered: 2009-05-22
Posts: 31

Re: dbus, consolekit, polkit, udisks issue

That fixed it thanks

Offline

Board footer

Powered by FluxBB