on xenial help sign in
Simpler session path passing.
commit6655fcfe3fc0e1de035e9cc5f73a633288f35d1c authorOliver Gravert <ogra@ubuntu.com> dateTue 3 Jun 2014, 12:31 (12 years ago) parent8ac2b4b
1 file changed+1−2
data/unity8-greeter-wrapper+1−2
data/unity8-greeter-wrapper+1−2
@@ -65,8 +65,7 @@ while [ ! -e "$XDG_RUNTIME_DIR/upstart/sessions/$INIT_PID.session" ]; do sleep 0
6565export UPSTART_SESSION=$(/sbin/initctl list-sessions | grep "^$INIT_PID " | cut -d' ' -f2)
6666
6767/sbin/initctl start dbus
68−. /var/lib/lightdm/.cache/upstart/dbus-session
69−[ -n "$DBUS_SESSION_BUS_ADDRESS" ] && export DBUS_SESSION_BUS_ADDRESS
68+export DBUS_SESSION_BUS_ADDRESS="$(/sbin/initctl get-env DBUS_SESSION_BUS_ADDRESS)"
7069
7170# We disable ofono using pulse. It causes problems with racing with the user's
7271# pulse. We need to come up with a better long-term fix for this, because we