Gdm loops back to login after login

Bug #454437 reported by K7AAY
46
This bug affects 7 people
Affects Status Importance Assigned to Milestone
xorg-server (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: gdm

After running for a week with random freezes of 30 secs-two min, I replaced the RAM on a newly acquired HP Pavilion ze2113us laptop, elevating RAM from 512MB to 1GB and reducing video RAM from 128MB to 64MB. Ran memtest 4x with no errors. Put the laptop back in service, and six hours later, did a shutdown when I relocated.

Upon power-up, I am now prompted for login (whereas I did not require passworded login before) by gdm after the splash screen. When I enter the password for the sole user on this machine, gdm loops back to the splash screen, then forces login again.

I verified the password is correct as an incorrect password generated an 'authentication error' whereas I am able to use that correct password for sudo on a recovery login.

1) The release of Ubuntu you are using, via 'lsb_release -rd'
Ubuntu Karmic 9.10 (development branch) with Linux 2.6.31-14

2) The version of the package you are using, via 'apt-cache policy gdm'
2.28.0-0ubuntu19

3) What you expected to happen

I should not have been prompted for a password, as I configured for no required login and ran that way for over a week without login problems.

4) What happened instead

When I boot the machine for a normal boot, after the splash screen, I am prompted by gdm; I enter my password, and then the splash screen reappears, then gdm loops back to the login screen again.

Revision history for this message
K7AAY (john-bartley) wrote :

More unsuccessful suggestions in how to find problem at http://ubuntuforums.org/showthread.php?p=8127393#post8127393 along with the results of the attempted fixes.

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

the bug is probably not a gdm one but rather an xorg issue

Changed in gdm (Ubuntu):
importance: Undecided → Low
Revision history for this message
K7AAY (john-bartley) wrote :

Would anyone like me to upload an image of the drive to a file sharing service? I've eliminated personal data and replaced the drive with another Karmic install, trying to replicate the failure.

Revision history for this message
krakenfury (krakenfury) wrote :

I had this problem, too. It happened after I ran the update manager on 10-31 when 9.10 was officially released. I had been using the 9.10 release candidate for about two weeks before with the realtime kernel and the ubuntustudio-audio and -graphics packages with no problems. After reinstalling xubuntu from the CD, gdm worked, but after the updates were installed, it was broken again. Exact same symptom as you. I don't think it is an xorg issue, because I was able to boot into xterm session and manually start xfce with 'xfce4-session' from the terminal. I think that the gdm .desktop config file was somehow erased or screwed up because I couldn't find one in /etc/gdm. My solution: switch to xdm. Not as pretty, but it works and when you install the package, you can tell it to use xdm by default. gdm was modeled after xdm anyway. You could try reinstalling gdm. Maybe that would fix your .desktop file. But it think that's what's wrong, since your symptoms are the same as mine.

Revision history for this message
papukaija (papukaija) wrote :

I got this issue today after the latest updates (gdm, xsplash ...).

Changed in gdm (Ubuntu):
status: New → Confirmed
Revision history for this message
papukaija (papukaija) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate i386 (20091020.3)
Package: gdm 2.28.1-0ubuntu1
PackageArchitecture: i386
ProcEnviron:
 SHELL=/bin/bash
 LANG=fi_FI.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
Uname: Linux 2.6.31-14-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
papukaija (papukaija) wrote : Dependencies.txt
tags: added: apport-collected
Revision history for this message
Mark Weaver (mark-weaver) wrote : Re: Karmic gdm loops back to login after login

I had this problem after the November update. Running 9.10, i386, 32 bit, nvidia video card. It occurred because I run the monitor at less than full resolution. I did not have this issue originally on 9.10. The only workaround I found was to use the full resolution of my monitor, which I did not want to do. I removed gdm and loaded wdm, which allows me to change the screen resolution without a login loop.

Revision history for this message
rent0n (rent0n) wrote :

Same problem here on Karmic 64bit.
This bug is related to my dual monitor setup and due to the fact that xsplash/gdm does not recognize the second monitor resolution properly: https://bugs.launchpad.net/gdm/+bug/446412/

papukaija (papukaija)
tags: added: amd64 i386
removed: gdm login loop
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Could someone experiencing this please attach their /var/log/Xorg.0.log and /var/log/Xorg.0.log.old after experiencing this issue

Changed in gdm (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
papukaija (papukaija) wrote :

The login was successful after five login attempts ( =after around 2 minutes from first gdm login screen).

Revision history for this message
papukaija (papukaija) wrote :
Revision history for this message
papukaija (papukaija) wrote :

It seems that I have gotten this issue after this update:

gdm (2.28.1-0ubuntu2) karmic-proposed; urgency=low

  * Don't respawn gdm on failure; this lets us capture X failures instead and
    trigger the bulletproof X handler here. LP: #441638.
  * re-export any XORGCONFIG value passed to the upstart job, needed to
    complete integration with bulletproof X. LP: #474806.

 -- Steve Langasek <email address hidden> Wed, 04 Nov 2009 18:15:37 -0800

Revision history for this message
papukaija (papukaija) wrote :

The /var/log/gdm/:0-greeter.log is full of errors, including:

Ikkunointiohjelman varoitus: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1600027
Ikkunointiohjelman varoitus: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
[...]
Ikkunointiohjelman varoitus: CurrentTime used to choose focus window; focus window may not be correct.
Ikkunointiohjelman varoitus: Got a request to focus the no_focus_window with a timestamp of 0. This shouldn't happen!

Translations:1) Ikkunointiohjelman varoitus = window manager's warning
2) "Tallennetun istuntotiedoston x luku epäonnistui " = "Failed to read the saved session file x"
3) "Tiedoston x avaaminen epäonnistui: Tiedostoa tai hakemistoa ei ole olemassa" =
"Could not open file x: File or folder is missing"

Revision history for this message
papukaija (papukaija) wrote :

There should be enough logs now.

Changed in gdm (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
papukaija (papukaija) wrote :

Sorry, it seems that that the buggy update was gdm 2.28.1-0ubuntu1, since synaptic's history tells that I have reinstalled (to see if it helps to solve this bug) gdm 2.28.1-0ubuntu1 on 7.11.2009.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Your log shows that Xorg is crashing

affects: gdm (Ubuntu) → xorg-server (Ubuntu)
Changed in xorg-server (Ubuntu):
importance: Low → Medium
Bryce Harrington (bryce)
tags: added: karmic
Revision history for this message
papukaija (papukaija) wrote :

I upgraded to Lucid and its new xserver fixes this bug.

Changed in xorg-server (Ubuntu):
status: Confirmed → Fix Released
summary: - Karmic gdm loops back to login after login
+ Gdm loops back to login after login
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.