~unity8-desktop-session-team/unity8-desktop-session/trunk

« back to all changes in this revision

Viewing changes to data/lightdm-unity8-session

  • Committer: CI bot
  • Author(s): Christopher Townsend
  • Date: 2014-08-29 18:19:32 UTC
  • mfrom: (66.1.1 unity8-desktop-session)
  • Revision ID: ps-jenkins@lists.canonical.com-20140829181932-phh0c3luhw24es01
Add check to see if the Unity8 LXC session is not being started before calling the init script. Fixes: 1359332
Approved by: Stephen M. Webb

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# traditional X-based desktop session startup.
5
5
#
6
6
 
7
 
if test -z "$DISPLAY"; then
 
7
if test -z "$DISPLAY" && [ $XDG_SESSION_DESKTOP != "unity8-mir-lxc" ]; then
8
8
  export QT_QPA_PLATFORM=ubuntumirclient
9
9
  export UNITY_INDICATOR_PROFILE=desktop
10
10
  exec init --user