default session set to GNOME and fails. Should be Unity

Bug #820372 reported by Jean-Baptiste Lallement
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-session (Ubuntu)
Fix Released
High
Didier Roche-Tolomelli

Bug Description

Ubuntu Alternate i386 (20110802.1)

After a fresh LTSP installation the default session is set to GNOME and it fails with an error "Failed to load session 'gnome'" then the user is disconnected.

1. It should be unity as default
2. Gnome should not be proposed if it can not load

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ltsp-client (not installed)
ProcVersionSignature: Ubuntu 3.0.0-7.9-generic 3.0.0
Uname: Linux 3.0.0-7-generic i686
Architecture: i386
Date: Wed Aug 3 15:27:19 2011
EcryptfsInUse: Yes
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: ltsp
UpgradeStatus: Upgraded to oneiric on 2011-07-12 (22 days ago)

tags: added: iso-testing
Changed in ltsp (Ubuntu):
importance: Undecided → High
Changed in ltsp (Ubuntu):
status: New → Confirmed
Revision history for this message
Stéphane Graber (stgraber) wrote :

IRC log:

17:24 < stgraber> hello, not sure if someone mentioned it here already but ISO testing found bug 820372
17:24 < ubot2> Launchpad bug 820372 in ltsp "default session set to GNOME and fails. Should be Unity" [High,Confirmed] https://launchpad.net/bugs/820372
17:24 < stgraber> which isn't an LTSP bug but a gnome-session one
17:24 < stgraber> LTSP calls /etc/X11/Xsession to start whatever is the default session (no parameter)
17:24 < stgraber> Xsession then starts gnome-session but without a --session= parameter which makes it fail
17:24 < stgraber> I think we had a fix in Natty to make it use a the right "default" session but that apparently got lost somewhere
17:25 < stgraber> was wondering what source package I should move that bug to?
17:25 < cyphermox> stgraber: what I would see was aside from the Ubuntu and Ubuntu 2D entries there was an extra GNOME one that shouldn't be there
17:26 < cyphermox> (outside of ltsp)
17:27 < stgraber> with Edubuntu we have gnome-session-fallback installed so apparently gnome-session starts the fallback session then (instead of unity-3d =>
                  unity-2d => gnome-session-fallback) but on regular Ubuntu, it just fails
17:28 < cyphermox> mmkay, so which case is failing now?
17:29 < stgraber> calling "/etc/X11/Xsession" with no parameter doesn't start the default session on regular Ubuntu
17:29 < stgraber> the same thing on Edubuntu works but starts the session fallback instead of unity (which is wrong too)
17:31 < stgraber> simply calling "/etc/X11/Xsession" from a terminal on your system should reproduce the issue
17:32 < seb128> stgraber, can you check with didrocks when he's around?
17:32 < seb128> stgraber, or better assigned the bug to canonical desktop team
17:32 < seb128> we will sort it
17:41 < stgraber> seb128: ok, will do

Changed in ltsp (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
affects: ltsp (Ubuntu) → gnome-session (Ubuntu)
Changed in gnome-session (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → nobody
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

yeah, this code changed between natty and oneiric, it's not the same issue: I tried to be better a citizen and have --session=ubuntu now. So we default to pure GNOME otherwise.

I'll set the "no parameter" to ubuntu as a distro-patch.

Changed in gnome-session (Ubuntu):
assignee: nobody → Didier Roche (didrocks)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-session - 3.1.3-0ubuntu7

---------------
gnome-session (3.1.3-0ubuntu7) oneiric; urgency=low

  * add debian/gnome-session-common.gsettings-override:
    - set ubuntu as the default session if nothing is provided
      (LP: #820372)
 -- Didier Roche <email address hidden> Fri, 05 Aug 2011 07:57:43 +0200

Changed in gnome-session (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Fabien Tassin (fta) wrote :

bad, you must also update /usr/share/xsessions/gnome-shell.desktop to pass --session=gnome otherwise you get a crappy compiz with nothing but nautilus when you asked for gnome-shell.

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.