Specify USC_SOCKET in lightdm's init session, so anyone that wants to can find USC (like the welcome wizard
commitc113da719f17471dedf73328e87963e6569a3b4e
authorMichael Terry <michael.terry@canonical.com>
dateThu 15 May 2014, 13:47 (12 years ago)
parentec95238
data/unity8-greeter-wrapper+1−1
@@ -54,7 +54,7 @@ gdbus call --session --dest org.freedesktop.DBus --object-path /org/freedesktop/
5454# creates for them and don't want to start all the services that a normal
5555# session would. So it's inconvenient to live within an upstart session.
5656# But... we still want to use Upstart for some services. So launch here.
57−MIR_SOCKET=$SUB_SOCKET $TOUCH_WRAPPER /sbin/init --user --no-startup-event &
57+USC_SOCKET=$MIR_SOCKET MIR_SOCKET=$SUB_SOCKET $TOUCH_WRAPPER /sbin/init --user --no-startup-event &
5858INIT_PID=$!
5959while [ ! -e "$XDG_RUNTIME_DIR/upstart/sessions/$INIT_PID.session" ]; do sleep 0.1; done
6060export UPSTART_SESSION=$(/sbin/initctl list-sessions | grep "^$INIT_PID " | cut -d' ' -f2)