On sam., 2012-08-04 at 15:30 +0200, Jonathan Michalon wrote: > > So *who* sends to the session bus? > > According to the error popup when called it's gdm's gdmflexiserver.
Ok, so lightdm and gdm “API”s are not compatible. GDM uses session bus while lightdm uses system bus. > > > > > > 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. That won't work, see above. > > > > 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. Ok. But then consider lightdm as not supporting user switching :) -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part