~michael-sheldon/ubuntu-touch-session/fix-1659388

« back to all changes in this revision

Viewing changes to ubuntu-touch-lightdm-session

  • Committer: Michael Terry
  • Date: 2014-06-03 14:31:27 UTC
  • mto: This revision was merged to the branch mainline in revision 185.
  • Revision ID: michael.terry@canonical.com-20140603143127-9k3ull4hzlopmsee
Don't run lightdm-session in Mir, because it does all sorts of weird X-specific things

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# /usr/sbin/lightdm-session is very X specific.  We don't want it for Ubuntu
 
4
# Touch's Mir sessions.  So determine if we are running Mir or X and do the
 
5
# right thing.  Ideally LightDM would do this for us, but in the meantime...
 
6
 
 
7
if [ -n "$MIR_SOCKET" ]; then
 
8
    exec $@
 
9
else
 
10
    exec /usr/sbin/lightdm-session $@
 
11
fi