Just for clarity on the architecture here and what was happening:

This is the greeter command line: /usr/lib/lightdm/lightdm-greeter-
session /usr/bin/unity8-greeter-wrapper /usr/bin/unity8-greeter

lightdm-greeter-session is a standard wrapper for greeters, used in the
Desktop images too.  This is what actually calls dbus-launch, if
available.

unity8-greeter-wrapper depends on dbus-x11, so that dbus-launch is
available in the above script, so that we can assume we are already
inside a working dbus session.  This is why the gdbus calls etc are no
problem here.

unity8-greeter is of course the actual executable.

So there is no problem with unity8-greeter-wrapper and dbus.  The reason
we were seeing double dbus-daemon in the user session was because of
another LightDM wrapper, /usr/sbin/lightdm-session, which is used only
for user sessions.  This assumes X11 and manually calls the scripts in
/etc/X11/Xsession.d/ which when dbus-x11 is installed, also launches its
own dbus-daemon (in addition to the one that the user's dbus upstart job
does).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1325882

Title:
  unity8-greeter-wrapper needs a re-org to not use dbus-launch

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1325882/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to