3
This is an old issue that I've tried to solve and apparently it's still valid, none of the updates so far have resolved it. It seems to be related to Gnome (gdm?) and Nvidia drivers, because for ex. On my desktop PC I just sidestepped the issue with an LXDE based install, which works fine, however I really do like Gnome for some reason, so it would be great to find the cause/solution to this.
Here are the details:
After a fresh install and installing all updates (latest kernel for 10.04 and latest packages), I cannot login on the graphical login screen. After entering the password the screen will turn black for a few seconds and then returns back to the login screen. But if I go to terminal with ctrl+alt+f1 I can login just fine, so my username/password is definitely OK.
On my laptop I use Ubuntu 10.04 95% of the time, and never ran into this issue, so I suspect it's hardware related. Maybe something graphics related (I have an Nvidia 9800GT on my desktop, but Ati card on laptop).
Any ideas on what I should look for or try? Which logs should I check to find out possible reasons/solutions to this problem.
Update:
It is immediately after a fresh install, on first login, so I don't have restricted drivers enabled. Only nvidia related packages installed are nvidia-173-modaliases
, nvidia-96-modaliases
, nvidia-common
, nvidia-current-modaliases
.
If i boot into recovery mode as root, and then run startx
, I can get into GNOME.
Output of cat /var/log/gdm/:0-greeter.log
Window manager warning: Failed to read saved session file /var/lib/gdm/.config/metacity/sessions/103537dbc1e1d90e94130703607828717100000014670000.ms: Failed to open file '/var/lib/gdm/.config/metacity/sessions/103537dbc1e1d90e94130703607828717100000014670000.ms': No such file or directory
** (process:1477): DEBUG: Greeter session pid=1477 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-Jf8At5/database
(gnome-power-manager:1478): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2273: signal `proxy-status' is invalid for instance `0x203ed90'
gdm-simple-greeter[1477]: Gtk-WARNING: /build/buildd/gtk+2.0-2.20.1/gtk/gtkwidget.c:5636: widget not within a GtkWindow
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1200047 (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 0x1200047 (Login Wind)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Did you install the proprietary Nvidia drivers, or are you using the built-in Noveau drivers? If you log in on the text console and run
startx
, can you get into GNOME? – Patches – 2011-05-31T17:40:21.353@Patches: Updated my question with more info. – Botond Béres – 2011-06-01T20:08:18.367
@Beres: Have you tried doing a full update? (
sudo apt-get dist-upgrade
) If that doesn't help, please post the contents of/var/log/gdm/:0-greeter.log
. – Patches – 2011-06-01T23:41:57.243@Patches: Added the log output. So far I did
aptitude full-upgrade
, notapt-get dist-upgrade
however, as I would've liked to use latest LTS distribution. But I'll try to upgrade the distribution too, I'm curious if it fixes the issue. – Botond Béres – 2011-06-02T18:01:09.290@Patches: Please ignore my previous comment about
dist-upgrade
, my mistake. I do have all the packages up to date at the moment though. – Botond Béres – 2011-06-02T18:08:59.527@Beres: The updates wouldn't have helped you anyway. Your
greeter.log
output indicates that you're experiencing a bug that has not yet been fixed by Canonical. I've posted an answer with two possible workarounds. – Patches – 2011-06-03T00:34:55.700