Returned to gdm screen after logging in

Bug #654578 reported by Brian Murray
72
This bug affects 18 people
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Medium
Martin Pitt
libcanberra (Ubuntu)
Fix Released
Critical
Michael Terry

Bug Description

Binary package hint: gdm

After log in at the gdm screen my screen flashes and I'm immediately returned to the gdm login screen. This happens regardless of the number of times that I login. The only way I'm able to use my desktop environment is by stopping gdm, sudo service gdm stop, and typing startx in a console.

LOCAL FIX: sudo rm -r /etc/X11/Xsession.d/52libcanberra-gtk3-module_add-to-gtk-modules/

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

thank you for your bug report, what session do you select? do you get the issue with another user? could you add your .xsession-errors to the bug after a failed log in before trying to start the session again in a graphical way?

Changed in gdm (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

I'm still having this problem on Natty. Attached is my xsessionerrors and some other files that may help.

Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

This happens with any user on my system.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

I can confirm this issue using Xubuntu Natty Narwhal. It is not a unity or compiz bug, but something in GDM. This started for Xubuntu 2010-12-08 after running updates. GDM will not log any user in, but instead immediately restarts.

Changed in gdm (Ubuntu):
importance: Low → High
status: Incomplete → Confirmed
Revision history for this message
Weisi Dai (multiple1902) wrote :

ubuntu users that are using kubuntu-desktop (KDE) can try this way:

sudo dpkg-reconfigure kdm

and choose kdm instead of gdm.

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

the issue which started yesterday is likely different from the one you had before

Martin Pitt (pitti)
Changed in gdm (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Martin Pitt (pitti)
importance: High → Critical
Revision history for this message
Martin Pitt (pitti) wrote :

It's definitively not gdm. Downgrading to 2.30 doesn't help, and I had my system running just fine with the new gdm until this morning's upgrades. I checked dpkg.log and sized down the possible regression candidates to about 10 packages. Bisecting now..

Revision history for this message
Harry (harry33) wrote :

Martin, can the bug #688013 be a duplicate of this bug #654578?
I can see that the symptoms are alike (repeated login screen loop), but the cause may be different.
In the more recent bug #688013 the issues began within the last 24 hours after people upgraded packages python and python-minimal (v.2.7.1) followed by upgrades of GTK+3 and libcanberra packages.
The bug #654578 is not about python2.7 I think.

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

When I purge libcanberra-gtk-module and libcanberra-gtk3-module, it works again. So I suppose the recent libcanberra upload broke it.

affects: gdm (Ubuntu) → libcanberra (Ubuntu)
Changed in libcanberra (Ubuntu):
assignee: Martin Pitt (pitti) → nobody
Revision history for this message
Harry (harry33) wrote :

Martin, same here, this issue started this morning in my Natty 64-bit system with Nvidia 285 GTX (nvidia-current used).
Here are all updates I installed this morning (one or more of those caused this):
computer-janitor (2.0.4-0ubuntu1) to 2.0.4-0ubuntu2
computer-janitor-gtk (2.0.4-0ubuntu1) to 2.0.4-0ubuntu2
dbus (1.4.0-0ubuntu1) to 1.4.0-0ubuntu2
dbus-x11 (1.4.0-0ubuntu1) to 1.4.0-0ubuntu2
gimp (2.6.11-1ubuntu2) to 2.6.11-1ubuntu3
gimp-data (2.6.11-1ubuntu2) to 2.6.11-1ubuntu3
gir1.0-atk-1.0 (1.32.0-0ubuntu3) to 1.32.0-1
gir1.0-freedesktop (0.9.12+git20101124-0ubuntu2) to 0.9.12+git20101124-0ubuntu3
gir1.0-glib-2.0 (0.9.12+git20101124-0ubuntu2) to 0.9.12+git20101124-0ubuntu3
gnome-session-canberra (0.26-0ubuntu2) to 0.26-1ubuntu1
libappindicator1 (0.2.90-0ubuntu1) to 0.2.90-0ubuntu2
libatk1.0-0 (1.32.0-0ubuntu3) to 1.32.0-1
libatk1.0-data (1.32.0-1)
libcanberra-gtk0 (0.26-0ubuntu2) to 0.26-1ubuntu1
libcanberra-pulse (0.26-0ubuntu2) to 0.26-1ubuntu1
libcanberra0 (0.26-0ubuntu2) to 0.26-1ubuntu1
libcanberra-gtk-module (0.26-0ubuntu2) to 0.26-1ubuntu1
libcanberra-gtk3-0 (0.26-0ubuntu2) to 0.26-1ubuntu1
libcanberra-gtk3-module (0.26-0ubuntu2) to 0.26-1ubuntu1
libdbus-1-3 (1.4.0-0ubuntu1) to 1.4.0-0ubuntu2
libdrm-intel1 (2.4.22+git20101203.af3d282a-0ubuntu0sarvatt) to 2.4.22+git20101208.537703fd-0ubuntu0sarvatt
libdrm-nouveau1 (2.4.22+git20101203.af3d282a-0ubuntu0sarvatt) to 2.4.22+git20101208.537703fd-0ubuntu0sarvatt
libdrm-radeon1 (2.4.22+git20101203.af3d282a-0ubuntu0sarvatt) to 2.4.22+git20101208.537703fd-0ubuntu0sarvatt
libdrm2 (2.4.22+git20101203.af3d282a-0ubuntu0sarvatt) to 2.4.22+git20101208.537703fd-0ubuntu0sarvatt
libgimp2.0 (2.6.11-1ubuntu2) to 2.6.11-1ubuntu3
libgirepository-1.0-1 (0.9.12+git20101124-0ubuntu3)
libgtk3.0-0 (2.91.4-0ubuntu2) to 2.91.6-0ubuntu1
libgtk3.0-bin (2.91.4-0ubuntu2) to 2.91.6-0ubuntu1
libgtk3.0-common (2.91.4-0ubuntu2) to 2.91.6-0ubuntu1
libimobiledevice1 (1.0.4-1build1) to 1.0.4-1build2
liblcms1 (1.18.dfsg-1ubuntu4) to 1.18.dfsg-1ubuntu5
libnautilus-extension1 (1:2.32.1-0ubuntu1) to 1:2.32.2-0ubuntu1
libnih-dbus1 (1.0.2-1ubuntu2) to 1.0.2-2
libnih1 (1.0.2-1ubuntu2) to 1.0.2-2
libtdb1 (1.2.7+git20101021-1) to 1.2.7+git20101021-1build1
nautilus (1:2.32.1-0ubuntu1) to 1:2.32.2-0ubuntu1
nautilus-data (1:2.32.1-0ubuntu1) to 1:2.32.2-0ubuntu1
python (2.6.6-5ubuntu1) to 2.7.1-0ubuntu1
python-gobject (2.27.0-0ubuntu2) to 2.27.0-0ubuntu4
python-minimal (2.6.6-5ubuntu1) to 2.7.1-0ubuntu1
rhythmbox (0.13.2-0ubuntu1) to 0.13.2-0ubuntu2
rhythmbox-plugin-cdrecorder (0.13.2-0ubuntu1) to 0.13.2-0ubuntu2
rhythmbox-plugins (0.13.2-0ubuntu1) to 0.13.2-0ubuntu2
screen-resolution-extra (0.14) to 0.14build1

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

Confirmed, it's due to libcanberra-gtk3-module now shipping a subdir in Xsession.d:

/etc/X11/Xsession.d/52libcanberra-gtk3-module_add-to-gtk-modules/52libcanberra-gtk-module_add-to-gtk-modules

If I move that file to Xsession.d/52libcanberra-gtk3-module_add-to-gtk-modules and delete the dir, everything is happy again.

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

Mike says he's going to fix this.

Changed in libcanberra (Ubuntu):
assignee: nobody → Michael Terry (mterry)
Revision history for this message
Martin Pitt (pitti) wrote :

gdm should be more forgetting about this error, though.

Changed in gdm (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → Triaged
Martin Pitt (pitti)
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libcanberra - 0.26-1ubuntu2

---------------
libcanberra (0.26-1ubuntu2) natty; urgency=low

  * debian/libcanberra-gtk3-module.install,
    debian/libcanberra-gtk3-module.preinst:
    - Correct installation of Xsession.d file to not be in a directory.
      LP: #654578
 -- Michael Terry <email address hidden> Thu, 09 Dec 2010 10:06:27 -0500

Changed in libcanberra (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in bzr.

Changed in gdm (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

For what its worth I had an fglrx directory in /etc/X11/Xsession.d that was causing my issue.

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

This bug was fixed in the package gdm - 2.32.0-0ubuntu2

---------------
gdm (2.32.0-0ubuntu2) natty; urgency=low

  [ Martin Pitt ]
  * 06_run_xsession.d.patch: Don't trip over directories and other non-files
    in Xsession.d/. (LP: #654578)

  [ Gunnar Hjalmarsson ]
  * debian/patches/35_langlist_and_lsmess_dmrc_fields.patch:
    - Addition of the fields "Langlist" and "LCMess", which make ~/.dmrc
      and /var/cache/gdm/$USER/dmrc able to store the user language
      environment (LP: #553162).
  * debian/patches/36_language_environment_settings.patch:
    - Changes to Xsession's way to use GDM_LANG. It now sets LANGUAGE
      and LC_MESSAGES, which makes it possible to keep the user language
      for message translation apart from other locale settings
      (LP: #553162).
 -- Martin Pitt <email address hidden> Tue, 14 Dec 2010 22:24:40 +0100

Changed in gdm (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Yu I. (japboy) wrote :

 I think I got this bug. I don't know what exactly causes this problem though...
Using iMac Mid2010, rEFIt 0.14, & ubuntu-11.04-alternative-amd64.

Here's my ~/.xsession-errors:

~/.xsession-errors
/etc/gdm/Xsession: Beginning session setup...
/etc/gdm/Xsession: 301: ls: not found
/etc/gdm/Xsession: ssh-agent not found!
/etc/gdm/Xsession: Setup done, will execute: gnome-session --session=ubuntu
exec: 1: gnome-session: not found

Revision history for this message
Yu I. (japboy) wrote :

Aaw, this was because of my mistake, not this bug.
I just unexpectedly overrode my ~/.profile with wrong PATH and that caused login failure.
Sorry for bothering!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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