/usr/sbin/ubuntu-touch-lightdm-session is in ubuntu-touch-session 0.108+16.04.20160407-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/sh
# /usr/sbin/lightdm-session is very X specific. We don't want it for Ubuntu
# Touch's Mir sessions. So determine if we are running Mir or X and do the
# right thing. Ideally LightDM would do this for us, but in the meantime...
if [ -n "$MIR_SOCKET" ]; then
exec $@
else
exec /usr/sbin/lightdm-session $@
fi
|