Bug 652681

Summary: GDM race condition prevents login
Product: [Fedora] Fedora Reporter: Pat Gardner <pat>
Component: gdmAssignee: jmccann
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: 14CC: cschalle, dougsland, gansalmon, itamar, jmccann, jonathan, kernel-maint, madhu.chinakonda, rderooy, renich, rstrode, tadej.j
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-10 16:29:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pat Gardner 2010-11-12 14:33:42 UTC
Description of problem:

Upgraded laptop from Fedora 13 to Fedora 14 and now the GDM chooser does not work. A Fedora logo is displayed in the usual place within the login window but there is nothing else displayed and hence no way to enter a username and password. Other options such as accessibility options, battery indicator and shutdown/restart are still available and work. Switching to console via ctl-alt-F2 also works. The system still has kernel 2.6.34.6.54.fc13.i686.PAE from Fedora 13 and booting with this kernel does not cause any issue with GDM.

Version-Release number of selected component (if applicable):

Kernel 2.6.35.6-48.fc14.i686.PAE
GDM gdm-2.32.0-1.fc14.i686

How reproducible:

Always with Kernel 2.6.35.6-48.fc14.i686.PAE

Steps to Reproduce:
1. Upgrade F13 to F14
2. Boot latest kernel

  
Actual results:

Cannot login as user to Gnome desktop through GDM.


Expected results:

Should be able to select user from list and login.

Additional info:

Comment 1 Pat Gardner 2010-11-19 00:39:48 UTC
The same error occured on a second system upgraded from F13 to F14. A little digging around in /var/log/gdm showed that there was a problem with a mising library. which led me to https://bugzilla.redhat.com/show_bug.cgi?id=632934. Installing package at-spi2-atk fixes the error, but this is quite puzzling as a previous kernel worked without this library.

Comment 2 Robert de Rooy 2010-11-26 20:18:54 UTC
I am also seeing this same problem, after a yum update 2 days ago on a ThinkPad X201. But I don't think it is a kernel problem but rather a race condition as also reported by another ThinkPad X201 user here;
http://lists.fedoraproject.org/pipermail/users/2010-November/386694.html

The workaround they found is to press ctrl-alt-backspace which reloads GDM and then it works.

The workaround to use a F13 kernel or install at-spi2-atk, likely changes the timings slightly which causes the bug not to trigger.

I also have a ThinkPad T410 which the exact same intel chips, both running F14 64bit, and does not suffer from the issue. But the X201 has an SSD which makes it very fast to boot up, which also leads me to believe this may be a race condition.

Comment 3 Pat Gardner 2010-11-29 13:02:24 UTC
Now the same problem on a third system upgrade from F13 to F14. All different hardware. Robert may be right that the kernel and at-spi2-atk are red-herrings as those work-arounds did not help with the most recently upgraded system. I can confirm that resetting the X server with ctrl-alt-backspace does enable a login through GDM.

Comment 4 Renich Bon Ciric 2010-12-05 04:42:54 UTC
Same error here on a F14 clean install (x86_64).

Here's some GDM output. Happens, consistently, on several systems.

** (<unknown>:2355): DEBUG: Client registered with session manager: /org/gnome/SessionManager/Client1
 
** (gnome-settings-daemon:2358): WARNING **: AT-SPI: Accessibility bus not found - Using session bus.
 
** (process:2376): DEBUG: Greeter session pid=2376 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-LX2XEz/database
 
(gnome-settings-daemon:2358): GdkPixbuf-CRITICAL **: gdk_pixbuf_format_get_name: assertion `format != NULL' failed
Internal error:   Could not resolve keysym XF86TouchpadOn
Internal error:   Could not resolve keysym XF86TouchpadOff
gdm-simple-greeter[2376]: Gtk-WARNING: gtkwidget.c:5691: widget not within a GtkWindow
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x200002b (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Failed to play sound: File or data not found
 
** (<unknown>:2355): WARNING **: Failed to send buffer
 
** (<unknown>:2355): WARNING **: Failed to send buffer
** (process:2495): DEBUG: Greeter session pid=2495 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-LX2XEz/database
gdm-simple-greeter[2495]: WARNING: error opening connection: Failed to connect to socket /tmp/gdm-greeter-ZFAfzCNL: Connection refused
Internal error:   Could not resolve keysym XF86TouchpadOn
Internal error:   Could not resolve keysym XF86TouchpadOff
gdm-simple-greeter[2495]: Gtk-WARNING: gtkwidget.c:5691: widget not within a GtkWindow
gdm-simple-greeter[2495]: WARNING: Unable to start greeter session: Failed to connect to socket /tmp/gdm-greeter-ZFAfzCNL: Connection refused
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
(polkit-gnome-authentication-agent-1:2373): polkit-gnome-1-WARNING **: Error enumerating temporary authorizations: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine session the caller is in
 
** (gnome-power-manager:2374): WARNING **: IsActive failed: Method "IsActive" with signature "" on interface "org.freedesktop.ConsoleKit.Session" doesn't exist
 
 
** (gnome-power-manager:2374): WARNING **: IsActive failed: Method "IsActive" with signature "" on interface "org.freedesktop.ConsoleKit.Session" doesn't exist
 
gnome-session[2349]: WARNING: Unable to determine session: Unable to find session for cookie

Comment 5 Pat Gardner 2011-01-05 11:42:57 UTC
Looks to be the same as: https://bugzilla.redhat.com/show_bug.cgi?id=661898

Comment 6 Chuck Ebbert 2011-01-10 16:29:38 UTC

*** This bug has been marked as a duplicate of bug 661898 ***