XDG_CURRENT_DESKTOP not set for non-autologin sessions

Bug #1221803 reported by Sebastien Bacher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Light Display Manager
Fix Released
High
Robert Ancell
lightdm (Ubuntu)
Fix Released
High
Robert Ancell

Bug Description

Using current saucy, it seems that the fix for bug #1212408 doesn't work

* Starting an Unity session (normal user, or guest session) "initctl get-env XDG_CURRENT_DESKTOP" states that the variable is not defined

* $ grep Desktop /usr/share/xsessions/ubuntu.desktop
...
X-LightDM-DesktopName=Unity

* editing /etc/X11/Xsession.d/99x11-common_start to add an "env > /tmp/debug" gives that environment (when starting a guest session) shows it's not in the environement there either

Other variable exported by lightdm, like XDG_VTNR are defined though...

Related branches

Revision history for this message
Sebastien Bacher (seb128) wrote :

Hey Robert, could you have a look to the issue (since you added the feature).

Setting as "high" because that leads to problems where upstart started processes don't get the right environment and behave buggy

Changed in lightdm (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
importance: Undecided → High
summary: - XDG_CURRENT_DESKTOP not correctly set?
+ XDG_CURRENT_DESKTOP not set for non-autologin sessions
Changed in lightdm:
status: New → In Progress
Changed in lightdm (Ubuntu):
status: New → Triaged
Changed in lightdm:
importance: Undecided → High
assignee: nobody → Robert Ancell (robert-ancell)
Changed in lightdm:
status: In Progress → Fix Committed
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:lightdm at revision None, scheduled for release in lightdm, milestone Unknown

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lightdm - 1.7.13-0ubuntu1

---------------
lightdm (1.7.13-0ubuntu1) saucy; urgency=low

  * New upstream release:
    - Correctly set $XDG_CURRENT_DESKTOP for non-autologin sessions
      (LP: #1221803)
    - Fix overallocation of array for strings from greeter.
    - Fix truncation writing card32 in XDMCP server.
 -- Robert Ancell <email address hidden> Mon, 09 Sep 2013 16:08:55 +1200

Changed in lightdm (Ubuntu):
status: Triaged → Fix Released
Changed in lightdm:
milestone: none → 1.7.13
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.