Installing gnome-session-flashback in Ubuntu GNOME Trusty provides a Flashback (Compiz) session when compiz is not installed

Bug #1332183 reported by Erick Brunzell
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-panel (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Ubuntu GNOME users may install 'gnome-session-flashback' and unwittingly log into a GNOME Flashback (Compiz) session even though 'compiz' is not installed. If auto-login has not been selected the session can be changed after a hard reboot, but if auto-login has been selected it can be quite perplexing to get back to the login screen since no window manager is running and Ubuntu GNOME has no key sequence set out-of-box for killing X.

[Test Case]
Install Ubuntu GNOME Trusty selecting to automatically login during installation, apply all updates and reboot when prompted. Do not edit any key sequences. Upon reboot install only 'gnome-session-flashback', logout, then select GNOME Flashback (Compiz) and log back in. You'll find that you've logged into a session with only a blank background because no window manager is running. Attempts to kill X and return to the login screen such as restarting gdm will likely fail so you'll have to launch a TTY, manually edit "/etc/gdm/custom.conf" to turn auto-login off, and reboot in order to select a working session.

[Regression Potential]
None based on testing Ubuntu GNOME, Ubuntu, and Edubuntu Utopic with the patched files. The Edubuntu test was performed by choosing "flashback" as the default DE during installation with the Utopic 20140623 i386 image. I also tested Ubuntu GNOME both prior to and after installing 'compiz' to be sure we broke no sessions.

*******************************************

Just as the title says, installing 'gnome-session-flashback' in Ubuntu GNOME provides a GNOME Flashback (Compiz) session even though 'compiz' is not installed:

lance@lance-desktop:~$ ls /usr/share/xsessions
gnome-classic.desktop gnome-fallback-compiz.desktop
gnome.desktop gnome-fallback.desktop
lance@lance-desktop:~$ apt-cache policy compiz
compiz:
  Installed: (none)
  Candidate: 1:0.9.11+14.04.20140423-0ubuntu1
  Version table:
     1:0.9.11+14.04.20140423-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main i386 Packages
     1:0.9.11+14.04.20140409-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/main i386 Packages

This is much more than a minor inconvenience since Ubuntu GNOME has no keyboard shortcut set for killing X out-of-box so, if the user selected auto-login during installation, with no window manager running it can be quite difficult to get back to the login screen to select a different session.

The easiest way I found so far is to open a TTY via Ctrl+Alt+F1 and then run "sudo nano /etc/gdm/custom.conf", change "AutomaticLoginEnable=true" to "AutomaticLoginEnable=False", then run "sudo dpkg-reconfigure gdm", followed by "sudo reboot". Then on reboot a working session can be selected.

I would hope that there is some way to NOT display a session if it's window manager is not installed.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gnome-session-flashback 1:3.8.0-1ubuntu12
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic 3.13.11.2
Uname: Linux 3.13.0-29-generic i686
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
CurrentDesktop: Unity
Date: Thu Jun 19 11:27:41 2014
GsettingsChanges:

InstallationDate: Installed on 2014-05-30 (20 days ago)
InstallationMedia: Ubuntu-GNOME 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-panel
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Erick Brunzell (lbsolost) wrote :
tags: added: utopic
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1332183

tags: added: iso-testing
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-panel - 1:3.8.0-1ubuntu14

---------------
gnome-panel (1:3.8.0-1ubuntu14) utopic; urgency=medium

  * Update 50_ubuntu_sessions.patch to fix bug when Compiz
    session is available even if it is not installed (lp: #1332183).
 -- Alberts Muktupavels <email address hidden> Fri, 20 Jun 2014 09:19:57 +0300

Changed in gnome-panel (Ubuntu):
status: New → Fix Released
Revision history for this message
Erick Brunzell (lbsolost) wrote :

Hi Alberts, with Utopic Alpha 1 (flavors) iso-testing approaching next week I should be able to thoroughly test this within the next week. Assuming there are no problems encountered in Utopic I'd like to get this fixed in Trusty before 14.04.1 drops in just over one month.

Do you want me to try and complete the SRU request? I've never done it before but there's a first time for everything. Do you see any regression potential for Trusty?

Revision history for this message
Tim Lunn (darkxst) wrote :

Lance, go ahead and add the SRU paperwork!

Since gnome-session is only a recommends of gnome-panel it could be possible to end up without gnome-session installed, but I suspect this is fairly unlikely, there should be something else pulling it in on any GNOME based desktop.

As a side note, gnome-panel should really atleast "Suggests" compiz, if not "Recommends", given it is providing a session that requires compiz!

description: updated
Revision history for this message
Erick Brunzell (lbsolost) wrote :

Thanks Tim, I wanted to retest the change in fresh installs of Ubuntu, Ubuntu GNOME, and Edubuntu Utopic to be absolutely certain we're not breaking anything. I hope my non-technical "regression potential" is adequate for the SRU team. If not I may need Alberts or Dmitry to weigh in with a more technical explanation.

Revision history for this message
Tim Lunn (darkxst) wrote :

thanks Lance, have uploaded to trusty queue.

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Erick, or anyone else affected,

Accepted gnome-panel into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/gnome-panel/1:3.8.0-1ubuntu12.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in gnome-panel (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
tags: added: verification-done
removed: verification-needed
Revision history for this message
Erick Brunzell (lbsolost) wrote :

Looks good. I not only tested to be sure this bug was eliminated in Ubuntu GNOME but since Tim added a bit more I cross-tested in Ubuntu to be sure we weren't creating some new bug.

When Edubuntu resumes 14.04 daily builds (assuming they'll have a 14.04.1) I will however test to be certain that the flashback session installs OK as the default DE during installation.

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

This bug was fixed in the package gnome-panel - 1:3.8.0-1ubuntu12.1

---------------
gnome-panel (1:3.8.0-1ubuntu12.1) trusty; urgency=medium

  [ Alberts Muktupāvels ]
  * Update 50_ubuntu_sessions.patch to fix bug when Compiz
    session is available even if it is not installed (lp: #1332183).

  [ Tim Lunn ]
  * debian/control.in:
    - Drop recommends on gnome-session, this only contains
      gnome-shell session files and g-s-d deps these days.
    - Add Suggests on compiz
 -- Alberts Muktupavels <email address hidden> Fri, 20 Jun 2014 09:19:57 +0300

Changed in gnome-panel (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Update Released

The verification of the Stable Release Update for gnome-panel has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.