升级到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发布于 2010-09-22 01:16:06
这里有一些很棒的小窍门,我希望我能做的不仅仅是提高选票。然而,我发现的真正的问题是这个错误https://bugs.launchpad.net/ubuntu/+source/samba/+bug/584428。
为了解决这个问题,我在/etc/pam.d/common中注释掉了这一行
auth optional pam_smbpass.so migrate我不明白这为什么会造成问题;我从未在这台机器上使用samba进行登录身份验证。
发布于 2010-09-20 01:32:09
首先,尝试仔细阅读/var/log/gdm/:0-greeter.log。看看您是否可以通过遵循/var/log/auth.log中的时间戳来发现延迟。
发布于 2010-09-20 04:48:44
想法1:听起来可能与DNS超时有关?
/etc/resolv.conf中列出的任何DNS服务器。ping www.google.com。如果他们不工作,或需要很长时间,这可能是问题所在。
想法2:这台机器是使用诸如LDAP或NIS之类的外部设备来获取auth凭证吗?如果是这样的话,它可能在等待来自外部机器的响应。
https://askubuntu.com/questions/4406
复制相似问题