打开gedit有问题?????

jue222 2009-03-03 07:24:59

我以root 身份运行 gedit 命令,弹出如下错误
GConf Error: 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.)
这样,gedit还是可以工作。
以普通用户的身份运行 gedit 命令,则没问题。
请问这是为什么呢?我用的是 fedora10。fedora以前版本则没遇见这样的问题。
...全文
989 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
账号密码 2021-07-09
  • 打赏
  • 举报
回复

我也遇到这个问题,普通用户可以打开,sudo gedit 则会显示Failed to register: 已到超时限制

yuyunliuhen 2009-03-13
  • 打赏
  • 举报
回复
没理由啊
zhongyijun159 2009-03-12
  • 打赏
  • 举报
回复
帮顶~
jue222 2009-03-12
  • 打赏
  • 举报
回复


我是在终端,切换到root 的
cuijie_cn 2009-03-05
  • 打赏
  • 举报
回复
搞不定,帮顶
  • 打赏
  • 举报
回复
汗,居然root运行不了gedit?你尝试选个文件,右键用gedit打开它看下.
once_and_again 2009-03-04
  • 打赏
  • 举报
回复
是从普通用户切换到root的?
还是直接用root登录的 ?
cjx_epop 2009-03-03
  • 打赏
  • 举报
回复
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+新立得。
jue222 2009-03-03
  • 打赏
  • 举报
回复

看不懂???
fox000002 2009-03-03
  • 打赏
  • 举报
回复
试试

su -

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧