Ubuntu 11.04在使用中随机注销


23

我可以看到已经有一个问题,因为据我所知我的问题并不完全相同,但非常相似,我也在问这个问题。

基本上在我使用过程中,即浏览网络或运行随机应用程序。Ubuntu将我发送到登录窗口,我必须重新登录。我不知道GDM是否重新启动或其他。即使在稳定的Ubuntu版本中,这也是我面临的问题。

有我不知道的错误吗?我该如何调试呢?

这是我的~/.xsession_errors文件输出。

/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=en_US.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
GNOME_KEYRING_CONTROL=/tmp/keyring-CN4XlZ
SSH_AUTH_SOCK=/tmp/keyring-CN4XlZ/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-CN4XlZ
SSH_AUTH_SOCK=/tmp/keyring-CN4XlZ/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-CN4XlZ
SSH_AUTH_SOCK=/tmp/keyring-CN4XlZ/ssh
Backend     : gconf
Integration : true
Profile     : unity
Adding plugins
Initializing core options...done
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Window created on XQueryTree, map state isViewable? 0
Initializing bailer options...done
Initializing detection options...done
Initializing composite options...done
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing move options...done
Initializing imgsvg options...done
Initializing expo options...done
Initializing mousepoll options...done
Initializing workarounds options...done
Initializing resize options...done
Initializing gnomecompat options...done
Initializing ezoom options...done
Initializing staticswitcher options...done
Initializing obs options...done
Initializing snap options...done
Initializing scale options...done
Initializing wall options...done
Initializing imgjpeg options...done
Initializing grid options...done
Starting Dropbox...** Message: /home/sagar/.config/desktopnova/pidlock already exists, but process with PID 1911 is not DesktopNova. Daemon will continue starting.
Initializing place options...done
Initializing commands options...done
I/O warning : failed to load external entity "/home/sagar/.compiz/session/10d8191ee2e3827d13130355181434233600000157530036"
Initializing session options...done

** (process:15832): WARNING **: recent-manager-provider.vala:125: Desktop file for audacious2 was not found
(synapse:15840): GtkHotkey-DEBUG: Listener Type: GtkHotkeyX11Listener
** (nm-applet:15829): DEBUG: old state indicates that this was not a disconnect 0
Initializing nautilus-dropbox 0.6.7
Initializing nautilus-gdu extension
Done!
** (<unknown>:15822): DEBUG: Unity accessibility initialization
** (<unknown>:15822): DEBUG: Shows on edge: 1

Screen geometry changed:
  Monitor 0(primary)
   0x0x1366x768

unity-panel-service: no process found
** (<unknown>:15822): DEBUG: PanelController:: Added Panel for Monitor 0
Initializing unityshell options...done
Initializing unitymtgrabhandles options...done
Starting unity-window-decorator
** (<unknown>:15822): DEBUG: PlaceEntry: Applications
** (<unknown>:15822): DEBUG: PlaceEntry: Commands
** (<unknown>:15822): DEBUG: PlaceEntry: Files & Folders
** (<unknown>:15822): DEBUG: /com/canonical/unity/applicationsplace
** (<unknown>:15822): DEBUG: /com/canonical/unity/filesplace
** (<unknown>:15822): DEBUG: Setting to primary screen rect: x=0 y=0 w=1366 h=768
** (<unknown>:15822): DEBUG: Acquired the name com.canonical.Unity.Launcher on the session bus

** (<unknown>:15822): DEBUG: TrayChild Rejected: dropbox-client-15846 dropbox Dropbox
** (<unknown>:15822): DEBUG: TrayChild Rejected: synapse synapse Synapse
** (<unknown>:15822): DEBUG: TrayChild Rejected: nm-applet nm-applet Nm-applet
** (<unknown>:15822): DEBUG: TrayChild Accepted: gnote gnote Gnote
** (<unknown>:15822): DEBUG: TrayChild Rejected: gst-keyboard-xkb gnome-settings-daemon Gnome-settings-daemon

(gnote:15839): Gdk-CRITICAL **: IA__gdk_window_thaw_toplevel_updates_libgtk_only: assertion `private->update_and_descendants_freeze_count > 0' failed
** (<unknown>:15822): DEBUG: TrayChild Rejected: battery-indicator battery-status Battery-status
** (<unknown>:15822): DEBUG: IndicatorAdded: libapplication.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libsoundmenu.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libmessaging.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libdatetime.so
** (<unknown>:15822): DEBUG: IndicatorAdded: libsession.so
Setting Update "run_key"
Setting Update "run_command_terminal_key"
Setting Update "initiate_output_edge"
Setting Update "launcher_hide_mode"
Setting Update "panel_opacity"
Setting Update "icon_size"

** (gnome-screensaver:16128): WARNING **: screensaver already running in this session

(<unknown>:15822): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (process:15832): DEBUG: zeitgeist-datahub.vala:174: Inserting 1 events

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: window mapped and already maximized, just undecorate
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit

** (<unknown>:15822): WARNING **: Unable to fetch children: Method "Children" with signature "" on interface "org.ayatana.bamf.view" doesn't exist



(<unknown>:15822): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (process:15832): DEBUG: zeitgeist-datahub.vala:174: Inserting 1 events
loaded md5.js

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: window mapped and already maximized, just undecorate

(firefox-bin:18524): LIBDBUSMENU-GTK-CRITICAL **: dbusmenu_menuitem_property_set_shortcut: assertion `gtk_accelerator_valid(key, modifier)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit

(<unknown>:15822): GLib-GObject-WARNING **: instance of invalid non-instantiatable type `(null)'

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit
** (process:15832): DEBUG: zeitgeist-datahub.vala:174: Inserting 1 events
15846 ?        00:00:01 dropbox
22490 ?        00:00:00 unity-dropbox-s
/usr/bin/unity-dropbox-share: line 28: return: can only `return' from a function or sourced script
Error setting attribute: Error setting file metadata: No such file or directory
** (<unknown>:15822): DEBUG: Connected to proxy

(<unknown>:15822): dee-WARNING **: Transaction from com.canonical.Unity.FilesPlace.SectionsModel is in the past. Ignoring transaction.

(<unknown>:15822): dee-WARNING **: Transaction from com.canonical.Unity.FilesPlace.GroupsModel is in the past. Ignoring transaction.

(<unknown>:15822): dee-WARNING **: Transaction from com.canonical.Unity.FilesPlace.GlobalGroupsModel is in the past. Ignoring transaction.
** (<unknown>:15822): DEBUG: Connected to proxy
** (<unknown>:15822): DEBUG: Connected to proxy

(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_own_name: assertion `g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed

(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_watch_name: assertion `g_dbus_is_name (name)' failed

(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_own_name: assertion `g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed

(<unknown>:15822): GLib-GIO-CRITICAL **: g_bus_watch_name: assertion `g_dbus_is_name (name)' failed

(<unknown>:15822): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion `object_path != NULL && g_variant_is_object_path (object_path)' failed

(<unknown>:15822): GLib-GIO-CRITICAL **: g_dbus_connection_register_object: assertion `object_path != NULL && g_variant_is_object_path (object_path)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

(<unknown>:15822): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(<unknown>:15822): GLib-GObject-CRITICAL **: g_signal_handler_disconnect: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Nautilus window size doesn't fit

** (nautilus:15824): WARNING **: Invalid borders specified for theme pixmap:
        /home/sagar/.themes/nautilus/null.png,
borders don't fit within the image

** (nautilus:15824): WARNING **: invalid source position for bilinear gradient

** (nautilus:15824): WARNING **: invalid source position for vertical gradient

** (nautilus:15824): WARNING **: invalid source position for horizontal gradient

** (nautilus:15824): WARNING **: Invalid borders specified for theme pixmap:
        /home/sagar/.themes/nautilus/null.png,
borders don't fit within the image

** (nautilus:15824): WARNING **: invalid source position for bilinear gradient

** (nautilus:15824): WARNING **: invalid source position for vertical gradient

** (nautilus:15824): WARNING **: invalid source position for horizontal gradient
** (<unknown>:15822): DEBUG: MaximizeIfBigEnough: Guake.py window size doesn't fit
Nautilus-Share-Message: Called "net usershare info" but it failed: 'net usershare' returned error 255: net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.


** (nautilus:15824): WARNING **: invalid source position for bilinear gradient

** (nautilus:15824): WARNING **: invalid source position for vertical gradient

** (nautilus:15824): WARNING **: invalid source position for horizontal gradient

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

(nautilus:15824): GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed

我最近对gnome会话进行了更新。我希望能够解决问题,但是我只能在测试几天后才能确定...将更新情况。

更新:不,没有进展,获取了更新,但问题仍然存在。但这似乎比以前少了很多。我正在关注这个问题,因为有人建议我重新安装,但是在compiz配置更改后,现在我面临Unity死机的问题


我有完全相同的问题...我希望有人回答这个问题...
nik90 2011年

3
您可以检查.xsession-errors主目录中的文件,查看在放入gdm之前是否发生了任何可疑的警告或错误。
nem75

这很烦人。...今天,当我工作时,它在白天随机注销了5次...
nik90 2011年

1
那我要输入“ ubuntu-bug xserver”吗?
nik90 2011年

1
11.10和Lenovo SL400上的相同问题。有人有解决方案吗?
emeraldhieu 2012年

Answers:



1

那可能是视频驱动程序崩溃。您的视频卡是什么?您是否使用专有驱动程序?如果是,请尝试其他版本,或尝试将其完全删除。或者,不幸的是,它可能是许多其他硬件。X服务器是千篇一律的,最容易受到硬件故障的影响。检查您的内存(memtest86),硬盘(fsck,智能),温度(lm传感器)。尝试关闭所有不必要的硬件和软件。例如,当EiskalDC ++尝试索引100Gb文件时,我已经看到X服务器崩溃。你读日志了吗,dmesg?有什么可疑的吗?PS关闭compiz。默认情况下,它在ubuntu中处于打开状态。


我有核心处理器集成显卡。显然,如果我使用单位制,则应该启用compiz。不应该吗?
sagarchalise,2011年

好吧,如果您运行unity,那么compiz肯定应该启用,因为unity本质上是compiz插件。我有同样的问题,并且笔记本电脑集成了英特尔图形卡。我提交了一个错误。
nik90

根据以下答案:askubuntu.com/questions/24977/24978#24978如果关闭图形效果,则将统一使用metacity。
idbrii 2011年

1

您正在使用Unity还是GNOME?尝试其他。如果那不起作用,我建议您尝试Xubuntu(看看它是否为GNOME)。如果所有操作均失败,请备份您的主分区或文件夹,然后将/ var / cache / apt复制到另一个文件夹,然后重新安装。使用缓存中的软件包重新安装应用程序。


我已经完全重新安装了ubuntu 11.04 ...再次将所有文件复制回去....准备看看问题是否再次发生。
nik90 2011年

0

尝试(在没有SUDO的终端中):

unity --reset

然后不要再触摸CCSM(Compiz设置)。我不知道这对您的情况是否真的有帮助,但是我处于相同的情况,目前正在测试崩溃是否仍然发生。


但是您认为Unity会导致这些崩溃吗?
nik90 2011年

一个简单的发现方法是使用旧的Gnome一段时间,然后看看会发生什么。
MarkovCh1 2011年
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.