GDM login fails with regular gnome-session (lucid, i386)

Bug #526379 reported by zvaral
76
This bug affects 15 people
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Invalid
Medium
Unassigned
Nominated for Lucid by Vladimir Hidalgo

Bug Description

Binary package hint: gdm

After installing lucid alpha2 and updating the packages (Feb 22, 2010) regular gnome-session can not be obtained from gdm. After clicking the login name and typing the password, gdm returns to the original login screen without starting the default gnome-session. Failsafe gnome-session however will work if I select this option from the select session pop-up menu.

zvaral@teodora:~$ dpkg -l |grep gdm
ii gdm 2.29.6-0ubuntu3 GNOME Display Manager
ii gdm-guest-session 0.14 gdm extension for guest session
zvaral@teodora:~$ dpkg -l |grep gnome-session
ii gnome-session 2.29.6-0ubuntu3 The GNOME Session Manager
ii gnome-session-bin 2.29.6-0ubuntu3 The GNOME Session Manager - Minimal runtime
ii gnome-session-canberra 0.22-1ubuntu2 GNOME session log in and log out sound event

ProblemType: Bug
Architecture: i386
Date: Tue Feb 23 12:07:10 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20100113)
Package: gdm 2.29.6-0ubuntu3
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
SourcePackage: gdm
Uname: Linux 2.6.32-14-generic i686

Revision history for this message
zvaral (z-varallyay) wrote :
Revision history for this message
Hugh Saunders (hughsaunders) wrote :

For me, this is a symptom of #515846.

Revision history for this message
zvaral (z-varallyay) wrote :

I can not see the similarities but probably someone others may confirm this if I attach some more information. I note that after the latest packages (Feb 26, 2010) this issue still exists.

I have an mgag550 card and seemingly no any issue with X. Please, find attached the
/var/log/gdm/:0.log
file and I copy here the
/var/log/gdm/:0-greeter.log
which shows some more strange messages:

Window manager warning: Failed to read saved session file /var/lib/gdm/.config/metacity/sessions/10f7468eb92810ebff126718502788503500000014400006.ms: Failed to open file '/var/lib/gdm/.config/metacity/sessions/10f7468eb92810ebff126718502788503500000014400006.ms': No such file or directory
** (process:1454): DEBUG: Greeter session pid=1454 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-jk9bSG/database
gdm-simple-greeter[1454]: Gtk-WARNING: /build/buildd/gtk+2.0-2.19.6/gtk/gtkwidget.c:5634: widget not within a GtkWindow
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1400024 (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1400024 (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.

(gnome-settings-daemon:1446): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed

Revision history for this message
Hugh Saunders (hughsaunders) wrote :

Maybe previous comment was presumptuous.

I have the similar symptoms: have upgraded to lucid, can login to gnome failsafe, but not gnome normal session.

When watching the X output and the gnome-session output, I see X crash with output similar to that mentioned in bug #515846:

"X: ../common/drirenderbuffer.c:69: driNewRenderbuffer: Assertion `format == 0x1908 || format == 0x8050 || format == 0x8058 || format == 0x81A5 || format == 0x81A6 || format == 0x81A7 || format == 0x8D48' failed.
Aborted (core dumped)"

After that because X has crashed, gdm restarts it and I end up back at the login screen.

It maybe that we are experiencing the same symptoms but for completely different reasons?

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

I suspect Xorg is crashing rather than there being a GDM problem. Please attach your /var/log/Xorg.0.log and /var/log/Xorg.0.log.old after this happens.

Thanks

Changed in gdm (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
zvaral (z-varallyay) wrote :

/var/log/Xorg.0.log file is attached

Revision history for this message
zvaral (z-varallyay) wrote :

And the /var/log/Xorg.0.log.old file

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

Is there anything in your /var/log/syslog after you get the issue?

Revision history for this message
zvaral (z-varallyay) wrote :

As I can see now, only gdm related warnings or errors are presented in /var/log/syslog such as

Feb 26 12:51:15 teodora gdm-binary[624]: WARNING: Unable to find users: no seat-
id found

Feb 26 12:51:22 teodora gdm-session-worker[1040]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed

Feb 26 12:50:11 teodora gdm-simple-greeter[1266]: Gtk-WARNING: /build/buildd/gtk+2.0-2.19.6/gtk/gtkwidget.c:5634: widget not within a GtkWindow

Feb 26 12:50:18 teodora gdm-session-worker[1268]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
Feb 26 12:50:24 teodora acpid: client 1184[0:0] has disconnected
Feb 26 12:50:24 teodora acpid: client connected from 1408[0:0]
Feb 26 12:50:24 teodora acpid: 1 client rule loaded
Feb 26 12:50:24 teodora bonobo-activation-server (zoli-1386): could not associate with desktop session: Failed to connect to socket /tmp/dbus-xwEqOIZDTB: Connection refused

Feb 26 12:50:28 teodora gdm-simple-greeter[1454]: Gtk-WARNING: /build/buildd/gtk+2.0-2.19.6/gtk/gtkwidget.c:5634: widget not within a GtkWindow
Feb 26 12:50:33 teodora pulseaudio[1271]: ratelimit.c: 1 events suppressed
Feb 26 13:09:28 teodora gdm-session-worker[1455]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed

For the sake of simplicity I attached the whole syslog file too. Probably a more experienced bug hunter will see something more specific too.

But turning back to the earlier mentioned /var/log/gdm/:0-greeter.log file, I checked and the /var/log/gdm/.config folder is empty. Why does gdm look for a saved session file here?

Revision history for this message
Hugh Saunders (hughsaunders) wrote :

I added the xorg-edgers ppa, dist-upgraded and rebooted, this solved the problem, I can now login to a normal gnome session.

Revision history for this message
zvaral (z-varallyay) wrote :

Next time I try the xorg-edgers ppa.

Booting with the alpha 3 live cd the default ubuntu user was not able to login too. Failsafe login was applied again.

The end of the /var/log/syslog file is copied here:

Mar 2 12:05:14 ubuntu kernel: [ 447.656761] platform mga_warp.0: firmware: requesting matrox/g400_warp.fw
Mar 2 12:05:16 ubuntu gdm-simple-greeter[3503]: Gtk-WARNING: /build/buildd/gtk+2.0-2.19.5/gtk/gtkwidget.c:5634: widget not within a GtkWindow
Mar 2 12:17:01 ubuntu CRON[3518]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Mar 2 12:52:34 ubuntu acpid: client 3463[0:0] has disconnected
Mar 2 12:52:34 ubuntu acpid: client connected from 3463[0:0]
Mar 2 12:52:34 ubuntu acpid: 1 client rule loaded
Mar 2 12:55:23 ubuntu gdm-session-worker[3506]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
Mar 2 12:55:37 ubuntu gdm-session-worker[3506]: pam_sm_authenticate: Called
Mar 2 12:55:37 ubuntu gdm-session-worker[3506]: pam_sm_authenticate: username = [ubuntu]

Revision history for this message
zvaral (z-varallyay) wrote :

This issue was resolved by the yesterday updates. Today I launched the computer and I could login to normal gnome-session without any problem.

The related update packages could be
gdm_2.96.6-0ubuntu4_i386.deb
gnome-session_2.29.6-0ubuntu4_all.deb
gnome-session-bin_2.29.6-0ubuntu4_all.deb
gtk2-engines-pixbuf_2.19.6-1ubuntu3_i386.deb

No X-related packages were received yesterday, so, very likely the issue was within any of the above packages.

Revision history for this message
Hugh Saunders (hughsaunders) wrote :

https://launchpad.net/ubuntu/+source/mesa/7.7-4ubuntu1 was released a couple of days ago and also fixed the problem for me, so I don't need the xorg-edgers ppa any more.

Revision history for this message
DebianSidUser (raza) wrote :

I'm still having this prob. Ubuntu 10.04 Alpha 3 64bit.

Revision history for this message
DebianSidUser (raza) wrote :

I don't think this is a X prob, the Background and mouse load but the actual login window isn't loading. Automatic login wont work either. :/

Revision history for this message
Vladimir Hidalgo (vlad88sv) wrote :

I update-manager -d from 9.10 today and I cant login in regualar gnome session. I'm using fail safe too.

I'm using a Nvidia 6200 AGP 8x card, maybe it's a nvidia driver fault?.

Revision history for this message
grimko (grimko) wrote :

I don't think this is a GDM related bug, I can't see the gnome session in KDM either.

Only the KDE and XTERM sessions show up in both of the desktop managers.

I upgraded with update-manager -d from 9.10 (ubuntu + kubuntu installed) today too.

Revision history for this message
grimko (grimko) wrote :

Solved for me by forcing the installation of gnome-session that was conflicting with another package.

Revision history for this message
Jonathan Harker (jonathanharker) wrote :

Confirmed - I also had this problem - correct username/password would return me to the gdm welcome screen. Installing gnome-session as per comment #18 fixed the issue - so this package is for some reason left out of the dist-upgrade.

I upgraded 9.10 to lucid on my HP Mini 5101 (i386) thus:
   sudo sed -i s/karmic/lucid/g /etc/apt/sources.list
   sudo apt-get dist-upgrade

Revision history for this message
Hugh Saunders (hughsaunders) wrote :

@Jonathan Harker, not a good way of upgrading, See http://www.ubuntu.com/testing/lucid/beta1 for upgrade instructions.

Revision history for this message
AJ (leeezly) wrote :

Uninstalling "xubuntu-gdm-theme" does solve the problem for me. If your running gnome, maybe there is a similar package ... ubuntu-gdm-theme?

I am gonna wait for a fix before reinstalling it again.

Cheers

Revision history for this message
Ivan Gualandri (ivang) wrote :

I have the same problem with lucid lynx beta 1/2.

If I stop GDM with "sudo service gdm stop" and then launch x via normal startx everything work fine.

But if i try to login with GDM, after clicking on a user, gdm restart itself.

Revision history for this message
Ivan Gualandri (ivang) wrote :

for me reinstall of gnome-session doesn't work.

Revision history for this message
David Hayes (evidex) wrote :

I think I also have this bug, or similar, after an apt-get upgrade and apt-get dist-upgrade from Lucid B1 to B2.

When I get to GDM, everything works perfectly, I can switch to a console, and login as normal. But if I click on a username in GDM to login, it freezes for a second or two, the screen turns black, and it appears as if GDM has restarted itself.

Everything works as it should from a failsafe X session, which is where I attach these from. If I should attach anything else, let me know please.

My graphics card is an Nvidia GeForce4 MX440 [AGP] using the Nvidia-96 driver.

Attached
/var/log/gdm/:0-greeter.log.1
/var/log/Xorg.0.log.old

Revision history for this message
David Hayes (evidex) wrote :
Revision history for this message
David Hayes (evidex) wrote :

Also attaching .xsession-errors if that's any help.

Revision history for this message
David Hayes (evidex) wrote :

Apologies, it turns out that the bug I suffer from is #553200. My apologies for dumping my stuff here in error. :)

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

closing since the bug submitter said the issue was fixed in an update, if somebody still get a bug open a new report using ubuntu-bug

Changed in gdm (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Anibal Avelar (aavelar) wrote :

I had a similar problem, I always got this messages after some time:

Jul 26 12:50:11 server1 gdm-simple-greeter[1266]: Gtk-WARNING: /build/buildd/gtk+2.0-2.19.6/gtk/gtkwidget.c:5634: widget not within a GtkWindow

Jul 26 12:50:18 server1 gdm-session-worker[1268]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed

But I didn't have another idea about was happen. The error ocurred overall using Firefox or Thunderbird, my session always close

But works for me this option in /etc/X11/xorg.conf

Section "Module"
          ....
         #Load "record"
         Disable "record"
         ....
EndSection

I need to "explicit" disable this module. Then the problem disappear for ever :P

I know the module is loaded by default then if you don't have the option doesn't mean the module is not used, you need disable explicitly.

Regards.

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.