GConf-警告**:已与 DBus 断开连接

GConf-警告**:已与 DBus 断开连接

我看到这个错误,~/.xsession-errors并且看来 gnome-settings-daemon 最终因此“没有响应”。

请注意,我已经在这台机器上运行该操作系统近四年了,几乎没有出现问题,最近也没有出现任何问题。

背景: 昨天我使用这台电脑和这个登录名工作,一天结束时正常关机。今天,我启动电脑,登录后电脑挂了,但在桌面完全呈现之前(我的自定义背景甚至没有出现)。我按住电源按钮重新启动,登录时一切看起来都“关闭”。例如,我将音量保持静音状态,指示器显示音量已完全调低而不是静音。我在 Mac 上运行 Ubuntu,当我按下 Fn+F10/11/12 时,什么也没发生,但这通常可以很好地更改音量。我尝试再次重新启动,但无济于事。我的磁盘空间不足,所以我删除了一些文件,但这也无济于事。

我有一个与第一个登录名几乎相同的辅助登录名。以该用户身份登录后,一切正常,因此这似乎不是系统问题。

思念至今 我已经在 Google 上搜索了很多错误,但.xsession-errors毫无结果。(许多错误都是通过完全重新安装操作系统“修复”的)。我不敢相信这比删除 pid 文件或更改某个文件/文件夹的权限还要复杂。

以下是完整内容.xsession-errors

/usr/sbin/lightdm-session: 24: /home/user/.profile: [[: not found

(gnome-settings-daemon:2684): power-plugin-WARNING **: gnome-session is not available

(gnome-settings-daemon:2684): color-plugin-WARNING **: failed to get edid: unable to get EDID for output
Backend     : gconf
Integration : true
Profile     : unity
Adding plugins
Initializing core options...done
Initializing composite options...done
** Message: applet now removed from the notification area
Initializing opengl options...done
Initializing decor options...done
Initializing vpswitch options...done
Initializing snap options...done
Initializing mousepoll options...done
Initializing resize options...done
** Message: using fallback from indicator to GtkStatusIcon
Initializing place options...done
Initializing move options...done
Initializing wall options...done
Initializing grid options...done
I/O warning : failed to load external entity "/home/user/.compiz/session/102a606085d2f2b121146238696957190200000026300034"
Initializing session options...done
Initializing gnomecompat options...done
Initializing animation options...done
Initializing fade options...done
Initializing unitymtgrabhandles options...done
Initializing workarounds options...done
Initializing scale options...done
compiz (expo) - Warn: failed to bind image to texture
Initializing expo options...done
Initializing ezoom options...done

(compiz:2702): GConf-CRITICAL **: gconf_client_add_dir: assertion `gconf_valid_key (dirname, NULL)' failed
Initializing unityshell options...done
Setting Update "main_menu_key"
Setting Update "run_key"
Setting Update "run_command_screenshot_key"
Setting Update "run_command_window_screenshot_key"
Setting Update "zoom_in_button"
Setting Update "zoom_out_button"
Setting Update "icon_size"
** Message: moving back from GtkStatusIcon to indicator

** (zeitgeist-datahub:2970): WARNING **: zeitgeist-datahub.vala:227: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
gnome-session[2630]: WARNING: Client '/org/gnome/SessionManager/Client2' failed to reply before timeout

** (update-notifier:3170): WARNING **: log file empty (logrotate?) /var/log/dpkg.log


** (update-notifier:3170): WARNING **: log file empty (logrotate?) /var/log/apt/term.log


(nm-applet:2711): GConf-WARNING **: Got Disconnected from DBus.

** Message: PID 2711 (we are 2711) sent signal 15, shutting down...

(nm-applet:2711): GConf-WARNING **: The connection to DBus was broken. Can't reinitialize it.

(nm-applet:2711): libappindicator-WARNING **: Unable to send signal for NewStatus: The connection is closed
Terminated
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 357 requests (357 known processed) with 0 events remaining.

其中大部分.xsession-errors与“有效”的登录信息相符。以下是不同的部分:

(nm-applet:2711): GConf-WARNING **: Got Disconnected from DBus.

** Message: PID 2711 (we are 2711) sent signal 15, shutting down...

(nm-applet:2711): GConf-WARNING **: The connection to DBus was broken. Can't reinitialize it.

(nm-applet:2711): libappindicator-WARNING **: Unable to send signal for NewStatus: The connection is closed
Terminated
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 357 requests (357 known processed) with 0 events remaining.

我相信最后几条消息是由于我在注销时“强制” gnome-settings-daemon 停止所致。注销时,会出现一个对话框询问我是否要强制退出 gnome-settings-daemon。

答案1

您是否对某些东西进行了更新,导致其损坏?您是否尝试过清除并重新安装 xorg?我会尝试重新安装 xorg。

http://www.ubuntugeek.com/ubuntu-tiphow-to-removeinstall-and-reconfigure-xorg-without-reinstalling-ubuntu.html

相关内容