Re: How to logout an Online Desktop session



On Wed, 2008-04-09 at 07:23 -0400, Owen Taylor wrote:
> On Wed, 2008-04-09 at 09:07 +0200, Manuel Rego Casasnovas wrote:
> > Hello,
> > 
> > On Tue, 2008-04-08 at 13:31 -0400, Colin Walters wrote:
> > > python test-session.py -s online.gnome.org
> > 
> > I've tried it, but I have the same error:
> > $ python test-session.py -s online.gnome.org
> > DEBUG:mugshot.DataModel:Looking for engine
> > org.freedesktop.od.Engine.online_2Egnome_2Eorg_3A80
> > DEBUG:mugshot.DataModel:Failed to get proxy for
> > org.freedesktop.od.Engine.online_2Egnome_2Eorg_3A80
> 
> The desktop-data-engine won't be activated by this D-BUS name,
> so if you aren't already running bigboard (or mugshot) you need
> to start the d-d-e manually 
>  
>  ~/od/install/libexec/desktop-data-engine &
> 
> Every instance of the d-d-e:
> 
>  - Registers itself under the name of the server it is connected
>    to (online.gnome.org, dogfood-online.gnome.org, etc)
>  - If nobody already has it, takes the generic name
>    "org.freedesktop.od.Engine"
> 
> But there is just a D-BUS service file for the generic name,
> activation only occurs under that name.
> 
> If you look at the code for test-session.py:
> 
>   model = DataModel(options.server)
> 
> If that was just:

[ continuing after accidentally sending ... ]

If that was just:

  model = DataModel()

Then it would use (and activate if necessary) the generic
org.freedesktop.od.Engine name.

That probably should be the default when no -s parameter is provided
to test-session.py. (It's a bit of a quick hack...)

- Owen




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