You are not logged in.
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
tried ?
exec ck-launch-session dbus-launch wm
Give what you have. To someone, it may be better than you dare to think.
Offline
That fixed it thanks
Offline