LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1219|回复: 3

[求助]使用gnome的root terminal报配置文件错误

[复制链接]
发表于 2008-10-21 23:05:58 | 显示全部楼层 |阅读模式
系统已更新到最新。昨天开机过夜,第二天早晨再次运行Root Terminal提示错误。
  1. An error occurred while loading or saving configuration information for gnome-terminal. Some of your configuration settings may not work properly.
复制代码

点击“Details”显示:
  1. Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details -  1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
复制代码

以普通Teminal方式运行未报错,并且发生这个错误后Root终端显示的字体也比以前粗大,而普通终端显示与以前一样,虽然没有发现影响到功能,但每次都有出错信息总感觉不好,希望大家能帮忙给些建议。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-2-22 17:39:34 | 显示全部楼层
偶也是,不过是用的debian
回复 支持 反对

使用道具 举报

发表于 2009-2-22 19:09:16 | 显示全部楼层
和运行过夜没关系,和gconf是否独占有关
I'm having a lock file problem. What do I do?
Usually a problem here involves either NFS, or a kernel bug.
The per-user daemon locks two files in the default configuration:
   ~/.gconfd/lock/ior
   ~/.gconf/%gconf-xml-backend.lock/ior

The first lock is to ensure that only one gconfd is running. The second lock is to ensure only one program accesses the XML config source at a time.(需要保证独占运行——同时运行两个也是可以的,但会出现另外的问题,看这部分:Can I bypass the lockfile stuff?)

If you have an NFS-mounted home directory, you must be running an rpc.statd/rpc.lockd setup on both NFS client and NFS server, so that file locking works.

If the kernel crashes (or the power cord gets pulled) on an NFS client machine, theoretically when you reboot the client machine it will notify the NFS server that it has rebooted and all previously-held locks should be released.
However, many operating systems including Red Hat Linux 7.2 do not properly do this; so you will have stale locks after a crash.
(理论上重启能解决问题,但很多系统却不能正确做到这个)
If no gconfd is running, these locks may safely be removed. If gconfd is running though, DO NOT remove them; if you have two gconfd processes for a single user, bad things may happen to that user's preferences once in a while.(如果没有gconfd运行,可以删了locks,如果有gconfd运行,千万别删了locks,如果同时一个用户同时有两个gconfd运行,后果就是楼主的情况,root terminal界面丢失)

我在debian下,开启两个需要root用户的进程,必然出现这个问题,比如打开root terminal+新立得。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-22 19:24:27 | 显示全部楼层
多谢楼上的回答,因为系统环境变更了,没法进行验证确认,不过还是谢谢楼上作了这么详细的回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表