需要永远登录?

Mat*_*ert 5 10.04 gdm login-screen

升级到 10.04 后,Ubuntu 在输入凭据后需要很长时间(1-2 分钟)才能登录。大部分时间对话框显示“正在检查凭据”。我什至如何调试这里发生的事情?这是一个非常活泼的系统,但显然在登录过程中有些东西挂了或没有响应。

这是我的 :0-greeter.log。有任何想法吗?

Window manager warning: Failed to read saved session file /var/lib/gdm/.config/metacity/sessions/1046b54d5b8b97fbb2128498129581685800000016580008.ms: Failed to open file '/var/lib/gdm/.config/metacity/sessions/1046b54d5b8b97fbb2128498129581685800000016580008.ms': No such file or directory
** (process:1742): DEBUG: Greeter session pid=1742 display=:0.0 xauthority=/var/run/gdm/auth-for-gdm-pWDXxn/database

(gnome-power-manager:1745): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2273: signal `proxy-status' is invalid for instance `0x21f5160'

** (gnome-power-manager:1745): WARNING **: Either HAL or DBUS are not working!

** (gnome-power-manager:1745): WARNING **: proxy failed

** (gnome-power-manager:1745): WARNING **: failed to get Computer root object

** (gnome-power-manager:1745): WARNING **: proxy NULL!!
gdm-simple-greeter[1742]: 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 0xe00046 (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 0xe00046 (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:1666): Gdk-CRITICAL **: gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0xe00046 (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: CurrentTime used to choose focus window; focus window may not be correct.
Window manager warning: Got a request to focus the no_focus_window with a timestamp of 0.  This shouldn't happen!

(gnome-power-manager:1745): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Run Code Online (Sandbox Code Playgroud)

Mat*_*ert 2

这里有一些很棒的建议,我希望我能做的不仅仅是点赞。然而,由于 msw,我发现的真正问题是这个错误https://bugs.launchpad.net/ubuntu/+source/samba/+bug/584428

为了解决这个问题,我在 /etc/pam.d/common-auth 中注释掉了这一行

auth optional pam_smbpass.so migrate
Run Code Online (Sandbox Code Playgroud)

我不明白为什么这会引起问题;我从来没有在这台机器上使用过 samba 进行登录验证。