on xenial help sign in
Also manually start dbus.
commit8ac2b4b706c67117320e01e8288089a11ba6ac76 authorOliver Grawert <ogra@ubuntu.com> dateTue 3 Jun 2014, 12:22 (12 years ago) parent2ff532c
1 file changed+4
data/unity8-greeter-wrapper+4
data/unity8-greeter-wrapper+4
@@ -64,6 +64,10 @@ INIT_PID=$!
6464while [ ! -e "$XDG_RUNTIME_DIR/upstart/sessions/$INIT_PID.session" ]; do sleep 0.1; done
6565export UPSTART_SESSION=$(/sbin/initctl list-sessions | grep "^$INIT_PID " | cut -d' ' -f2)
6666
67+/sbin/initctl start dbus
68+. /var/lib/lightdm/.cache/upstart/dbus-session
69+[ -n "$DBUS_SESSION_BUS_ADDRESS" ] && export DBUS_SESSION_BUS_ADDRESS
70+
6771# We disable ofono using pulse. It causes problems with racing with the user's
6872# pulse. We need to come up with a better long-term fix for this, because we
6973# eventually need the greeter to play ringtones for users that aren't logged in.