[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Detecting dbus session



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 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]