@@ -64,6 +64,10 @@ INIT_PID=$!
64while [ ! -e "$XDG_RUNTIME_DIR/upstart/sessions/$INIT_PID.session" ]; do sleep 0.1; done
64while [ ! -e "$XDG_RUNTIME_DIR/upstart/sessions/$INIT_PID.session" ]; do sleep 0.1; done
65export UPSTART_SESSION=$(/sbin/initctl list-sessions | grep "^$INIT_PID " | cut -d' ' -f2)
65export UPSTART_SESSION=$(/sbin/initctl list-sessions | grep "^$INIT_PID " | cut -d' ' -f2)
67+/sbin/initctl start dbus
68+. /var/lib/lightdm/.cache/upstart/dbus-session
69+[ -n "$DBUS_SESSION_BUS_ADDRESS" ] && export DBUS_SESSION_BUS_ADDRESS
67# We disable ofono using pulse. It causes problems with racing with the user's
71# We disable ofono using pulse. It causes problems with racing with the user's
68# pulse. We need to come up with a better long-term fix for this, because we
72# pulse. We need to come up with a better long-term fix for this, because we
69# eventually need the greeter to play ringtones for users that aren't logged in.
73# eventually need the greeter to play ringtones for users that aren't logged in.