[arch-dev-public] xinitrc.d/30-dbus and ConsoleKit mess

Evangelos Foutras evangelos at foutrelis.com
Fri Nov 4 03:50:26 EDT 2011

Hi all,

My understanding of how PolicyKit, ConsoleKit, D-Bus, etc interact with
each other is somewhat vague, so if I'm saying something wrong or
stupid, please correct me.

I recently removed a couple of "PolicyKit Local Authority" (.pkla) files
from xfce4-session and another one from thunar yesterday. The reasoning
being that everything should work through ConsoleKit without requiring
membership to a specific group, e.g. power or storage.

Unfortunately, one cannot simply do 'exec ck-launch-session startxfce4'
in their $HOME/.xinitrc due to FS#25031 [1], at least not without
commenting the block in the beginning that sources

I see two possible ways to solve this:

1) Remove /etc/X11/xinit/xinitrc.d/30-dbus and let the individual
display manager, session manager, w/e, start a dbus session.

2) Add a /etc/X11/xinit/xinitrc.d/90-consolekit file to the consolekit
package like Gentoo seems to be doing [2].

Maybe someone more knowledgeable knows what the best way to proceed is?

[1] https://bugs.archlinux.org/task/25031
[2] https://bugs.gentoo.org/show_bug.cgi?id=329317

More information about the arch-dev-public mailing list