Re: [gdm-list] GDM problem with login screen



Thanks a lot for your response.
Yesterday after i wrote the email, i decided to reinstall Ubuntu AGAIN. I have installed the latest NVIDIA driver from avenard repositories and now everything seems to be ok, no problem yet.
I thing (is just a guess) that the first time, the problem with GdkPixbuf was because of nvidia drivers - that i was able to fix it eventually.
But the last problem with "gdm[2885]: pam_nologin(gdm:auth): cannot determine username" was driving me crazy. I hope it will never apear again.

Best regards
Cosmin

Brian Cameron wrote:

Cosmin:

It seems that you are getting a lot of errors from GdkPixbuf complaining
that images are not valid.  If I were to guess, I think the problem
might be that the gdmgreeter theme you are using is broken in some way.

If you can start X via startx, you can try running gdmsetup as root and
try changing the theme to a different one and see if that helps.  Or
you could try changing the setup from using the "Themed Greeter"
(aka gdmgreeter) to using the "Plain Greeter" (aka gdmlogin).  Does
that work better?

If you can not run gdmsetup, you can also modify the GDM configuration
files by hand.  Different distros install the GDM configuration files
to different places.  The defaults should be in /usr/share/gdm/defaults.conf and user-custom settings get saved in
/etc/X11/gdm/custom.conf or /etc/X11/gdm/gdm.conf.  Though, as I said
the paths might be a bit different on your distro.

You can find out where the files are by running:

For the defaults.conf file:
$ gdmflexiserver --command="GET_CONFIG_FILE"

For the custom.conf file:
gdmflexiserver --command="GET_CUSTOM_CONFIG_FILE"

You can read more about how to modify the GDM configuration in the GDM
docs in the "Configuration" section:

   http://library.gnome.org/admin/gdm/

Note if you modify the GDM configuration files by hand, you should
run "gdm-restart" as root to restart GDM so it loads the new
configuration.  This restart is not needed if you change the
configuration via gdmsetup.

If that does not help, then you could also try turning on debug in the
GDM configuration file, recreate the problem, and then share with us
any gdm-related output that gets sent to your syslog (/var/log/messages
or /var/adm/messages, depending on your system).

Brian


I serach on different forums, but i could'n find a solution until now.
What i did was a purge o all nvidia driver, and do a fresh reinstall. After that, i noticed 2 things happening:
1. If i enter: #startx, the X server starts without asking me for user/pass but it sais somthing about a strange user (see attach).
2. If i enter: #sudo /etc/init.d/gdm start - then the same problem whit flashing login screen apear.
   Since i'n no linux guru, have no ideea what's with this behavior.

I'm stil waiting for someone who can help me get back my login screen.


Cosmin Neagu wrote:
Hello everybody,
This is my first email here, so don't judge me or my problem to harsh.
For about 2 weeks i'm having some problems with my laptop and the login screen. How the problem apeared:

I was using Ubuntu 8.10, when someday, when I restarted the laptop the login screen was flushing continuously and i wasn't able to login because no login screen apeared. Only with CTRL+ALT+F1 i could get into the sistem. Since anyway i was planning to upgrade to 9.04, i didn't bother to see what was happend.

Then i run 9.04 for a few days when the same problem occured. That was very ugly, i belived it was because of some bugs in Ubuntu distributions or caused by my hardware since it happend on two diferent version.

I heard of Linux Mint, so i have installed it, and after a while the same problem, login screen does not load, keeps flushing and playing the welcome sound in backgroud continuously - now am writing from an ugly windows XP.
Since it apear that it is doing something in the backgroud like it was tring to show the login screen i get into console and i looked at some logs.
tail -f /var/log/syslog

May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GLib-GObject-WARNING: invalid (NULL) pointer instance
May 15 13:00:45 Dell gdmgreeter[8399]: GLib-GObject-CRITICAL: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_width: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GdkPixbuf-CRITICAL: gdk_pixbuf_get_height: assertion `GDK_IS_PIXBUF (pixbuf)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GLib-GObject-CRITICAL: g_object_unref: assertion `G_IS_OBJECT (object)' failed
May 15 13:00:45 Dell gdmgreeter[8399]: GLib-GObject-WARNING: invalid (NULL) pointer instance

Spend a few hours on google, and the problem seemed to be with my graphin nvidia card. Finally i have installed the drivers version 180.51 and everything was ok.
#glxinfo reported everything right.
But today (with Ubuntu 9.04, nvidia 180.51 and all updates done) the same problem reapeared.

OK, the logs say like this while the login screen keeps flashing:
- From syslog:
May 19 09:45:45 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:45:47 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:45:50 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:45:52 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:45:56 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:45:59 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:46:00 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:46:03 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:46:05 Dell gdm[2885]: WARNING: Couldn't authenticate user
May 19 09:46:07 Dell gdm[2885]: WARNING: Couldn't authenticate user

- From auth.log:
May 19 09:46:01 Dell gdm[2885]: pam_nologin(gdm:auth): cannot determine username
May 19 09:46:02 Dell gdm[2885]: pam_nologin(gdm:auth): cannot determine username
May 19 09:46:03 Dell gdm[2885]: pam_nologin(gdm:auth): cannot determine username
May 19 09:46:04 Dell gdm[2885]: pam_nologin(gdm:auth): cannot determine username
May 19 09:46:05 Dell gdm[2885]: pam_nologin(gdm:auth): cannot determine username
May 19 09:46:06 Dell gdm[2885]: pam_nologin(gdm:auth): cannot determine username
May 19 09:46:07 Dell gdm[2885]: pam_nologin(gdm:auth): cannot determine username

The config files:
/etc/pam.d/gdm
#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
@include common-auth
auth    optional        pam_gnome_keyring.so
@include common-account
session required        pam_limits.so
@include common-session
session optional        pam_gnome_keyring.so auto_start
@include common-password

/etc/pam.d/gdm-autologin
#%PAM-1.0
auth    requisite       pam_nologin.so
auth    required        pam_env.so readenv=1
auth    required        pam_env.so readenv=1 envfile=/etc/default/locale
auth    required        pam_permit.so
@include common-account
session required        pam_limits.so
@include common-session
@include common-password

One more thing. Now, if i try glxinfo it says: Error: unable to open display.

So, can anyoane please help me with this problem? i realy like linux for what it can do on the server side, but i cannot work without graphic interface.


_______________________________________________
gdm-list mailing list
gdm-list gnome org
http://mail.gnome.org/mailman/listinfo/gdm-list

------------------------------------------------------------------------


------------------------------------------------------------------------

_______________________________________________
gdm-list mailing list
gdm-list gnome org
http://mail.gnome.org/mailman/listinfo/gdm-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]