FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Development

 
 
LinkBack Thread Tools
 
Old 11-04-2011, 06:50 AM
Evangelos Foutras
 
Default xinitrc.d/30-dbus and ConsoleKit mess

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
/etc/X11/xinit/xinitrc.d/30-dbus.

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
 
Old 11-04-2011, 07:07 AM
Ionut Biru
 
Default xinitrc.d/30-dbus and ConsoleKit mess

On 11/04/2011 09:50 AM, Evangelos Foutras wrote:

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
/etc/X11/xinit/xinitrc.d/30-dbus.

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.



this crap breaks gnome as well


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



--
IonuČ›
 

Thread Tools




All times are GMT. The time now is 04:26 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org