Detecting dbus session

Dan Williams dcbw at redhat.com
Sun Oct 28 21:02:57 UTC 2007


On Sun, 2007-10-28 at 07:53 -0400, Jesse Keating wrote:
> On Sun, 28 Oct 2007 10:10:28 +0100
> Alexander Boström <abo at kth.se> wrote:
> 
> > sön 2007-10-28 klockan 01:10 -0400 skrev Dan Williams:
> > > This sounds pretty wrong; root isn't supposed to know about the
> > > session
> > > bus, and you're going to have a very hard time finding out the
> > > address of some random user session bus by design.   
> > 
> > Yup. And a user might have multiple sessions on a single computer.
> > Think multiple logins to the guest account, or one log in through GDM
> > and one session established via ssh. Stuff like that happens.
> 
> If this is the case, then wouldn't it make sense to have a
> NetworkManagerDispatcher option to run things in the active session?

Except for the fact that as root, NMD can't find out the session bus
address, nor should it be able to.

Dan





More information about the Fedora-desktop-list mailing list