on xenial help sign in
set MIR_SERVER_PROMPT_FILE for prompt session socket
7a5c3c3Nick Dedekind
data/unity8.conf+5
@@ -44,6 +44,11 @@ pre-start script
44 rm "$MIR_SERVER_FILE"
44 rm "$MIR_SERVER_FILE"
45 fi
45 fi
46
46
47+ if [ -n "$MIR_SERVER_PROMPT_FILE" ]; then
48+ MIR_SERVER_PROMPT_FILE=$XDG_RUNTIME_DIR/mir_socket_trusted
49+ initctl set-env --global MIR_SERVER_PROMPT_FILE=$MIR_SERVER_PROMPT_FILE
50+ fi
51+
47 initctl emit scope-ui-starting
52 initctl emit scope-ui-starting
48 initctl emit --no-wait indicator-services-start
53 initctl emit --no-wait indicator-services-start
49end script
54end script