lightdm and gdm start both if /etc/X11/default-display-manager does not exist

Bug #804262 reported by Jean-Baptiste Lallement
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Low
Martin Pitt
Oneiric
Fix Released
Low
Martin Pitt

Bug Description

For some reason on a system upgraded from Natty the file /etc/X11/default-display-manager does not exist.
In this situation, gdm and lightdm are both started and gdm is the greeter.

Expected:
1. Lightdm is the default if there is more than one display manager and no default set
2. /etc/X11/default-display-manager is always created when lightdm is cofigured.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: lightdm 0.4.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0-2.3-generic 3.0.0-rc4
Uname: Linux 3.0-2-generic i686
Architecture: i386
Date: Fri Jul 1 13:32:12 2011
EcryptfsInUse: Yes
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: lightdm
UpgradeStatus: Upgraded to oneiric on 2011-06-27 (3 days ago)

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :
Changed in lightdm (Ubuntu Oneiric):
importance: Undecided → Low
status: New → Triaged
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
Revision history for this message
Martin Pitt (pitti) wrote :

/etc/X11/default-display-manager is present on the natty desktop images, and also on my systems which were upgraded from natty. It's not clear to me how it got lost in the first place.

I think we can handle this corner case a little more gracefully in gdm. If /etc/X11/default-display-manager does not exist at all, I think it should not start up if lightdm is also present.

affects: lightdm (Ubuntu Oneiric) → gdm (Ubuntu Oneiric)
Martin Pitt (pitti)
Changed in gdm (Ubuntu Oneiric):
assignee: Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdm - 3.0.4-0ubuntu3

---------------
gdm (3.0.4-0ubuntu3) oneiric; urgency=low

  * debian/gdm.upstart: Don't start gdm if /etc/X11/default-display-manager
    does not exist and lightdm is installed. (LP: #804262)
 -- Martin Pitt <email address hidden> Fri, 01 Jul 2011 17:27:39 +0100

Changed in gdm (Ubuntu Oneiric):
status: Triaged → 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.