default session of ubuntu-2d doesn't work

Bug #869546 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-defaults-builder (Ubuntu)
Fix Released
High
Martin Pitt
Oneiric
Fix Released
High
Martin Pitt

Bug Description

I created a defaults pkg using ubuntu-defaults-builder.

I set the desktop/default-session.txt first and only non-comment line to:
ubuntu-2d

In the running system with this installed, there is a file named:
/usr/share/xsessions/ubuntu-2d.desktop

However:
 * the greeter does not selecte "Ubuntu 2D" as the default (Ubuntu is selected)
 * for the one user created during oem-config and for any new users created at run time
 * and if the default is used, the session is indeed unity (not unity-2d, which is installed)

Revision history for this message
Martin Pitt (pitti) wrote :

Apparently lightdm now creates an /etc/lightdm/lightdm.conf by default. When I wrote that part, it wasn't, so I thought I'd rather not change an already existing config. But it seems we need to do that now.

Do you need this as an oneiric SRU, or will precise be enough?

Changed in ubuntu-defaults-builder (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Actually I need something working so I can set ubunty-2d as default this week. I am thinking of diverting /usr/share/xsessions/ubuntu.desktop and adding /usr/share/xsessions/ubuntu-3d.desktop (with ubuntu-contents) because I notice that by default, greeter seems to select the lowest desktop file in alphabetical order. Thus, ubuntu-2d wins and is default,

Martin Pitt (pitti)
Changed in ubuntu-defaults-builder (Ubuntu):
importance: Medium → High
Revision history for this message
Martin Pitt (pitti) wrote :

Uploaded to oneiric final queue now, I think we can still squeeze this in.

Changed in ubuntu-defaults-builder (Ubuntu Oneiric):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-defaults-builder - 0.23

---------------
ubuntu-defaults-builder (0.23) oneiric; urgency=low

  * debhelper-scripts/postinst-ubuntu-defaults-desktop-session: Use
    /usr/lib/lightdm/lightdm-set-defaults to also change the default session
    if /etc/lightdm/lightdm.conf already exists (which is the case in oneiric
    final). (LP: #869546)
 -- Martin Pitt <email address hidden> Wed, 12 Oct 2011 07:16:37 +0200

Changed in ubuntu-defaults-builder (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

@Kyle -- there :-) That should avoid having to do hacks like diverting the session files.

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

@Martin: it worked, hacks remove. thanks.

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.