[Pkg-xfce-devel] Bug#683373: Bug#683373: Bug#683373: lightdm: User switching does not work under GNOME

Jonathan Michalon johndescs at gmail.com
Sat Aug 4 13:30:06 UTC 2012


[CCing bug, sorry]

Le Wed, 01 Aug 2012 20:17:43 +0200,
Yves-Alexis Perez <corsac at debian.org> a écrit :
> On mer., 2012-08-01 at 14:50 +0200, Jonathan Michalon wrote:
> > Le Tue, 31 Jul 2012 15:49:31 +0200,
> > Yves-Alexis Perez <corsac at debian.org> a écrit :
> > > On mar., 2012-07-31 at 11:03 +0200, Jonathan Michalon wrote:
> > > > Investigations show that GNOME (shell, menu, screensaver / lock) use gdmflexiserver
> > > > (which may not be removed due to dependencies).
> > > > But gdmflexiserver uses the SESSION bus, whereas lightdm listens to SYSTEM bus.
> > 
> > > So you mean that GNOME stopped calling directly /usr/lib/gdmflexiserver
> > > but rather sends a dbus call?
> > 
> > Nope, GNOME uses gdmflexiserver, which in turn seems to send a dbus call (at
> > least everything tend to show that).
> > Maybe my sentence was not that clear ;)
> 
> So *who* sends to the session bus?

According to the error popup when called it's gdm's gdmflexiserver.

> > > > Ubuntu ships a gdmflexiserver script doing the --system dbus-send call located
> > > > in a directory placed at the beginning of PATH which can be considered as an
> > > > (ugly) workaround. Listening to session bus (if this is standard) may be better.
> > > > 
> > > 
> > > The script is upstream, but I remove it on purpose. But How could
> > > lightdm listen on the session bus, which is owned by the user, afaict.
> > 
> > No idea. But why remove the script, if they think that this is The Right Way™ ?
> 
> Because there's no way I'll add /usr/lib/lightdm in $PATH of a user.

Didn't know there was such an implication, but I agree this is a good reason.
What about a kind of divert ? There is already a dialog asking which DM we
prefer, I suppose it may update an alternative alongside modifying the file.

> > I'm no expert in that area, and as such I may be completely misleading. But as
> > is I can't use lightdm together with GNOME as I often need to change user.
> 
> To be honest, GNOME users aren't my priority here, considering they can
> use gdm3. I'm more targetting Xfce and non-DE users.

Seems rational. But I tested lightdm as gdm3 is really buggy… and heavy.

--
Jonathan Michalon
IT student in Strasbourg



More information about the Pkg-xfce-devel mailing list