Fedora11 gedit 报错"GConf 错误"
2011-04-10 22:35
411 查看
症状:
在Fedora11 下切换到root用户后执行 gedit时报错:
$ su
# gedit
GConf 错误:联系配置服务器失败;某些可能原因是需要为 ORBit 启用 TCP/IP 联网,或者由于系统崩溃,您的 NFS 锁定已失效。请访问 http://projects.gnome.org/gconf/ 了解详细信息。(详细信息 - 1: 获取到会话的连接失败: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.)
解决办法:
切换用户时不要使用 su 而要使用 "su -"
附加:
su 和 su- 的区别
转自: http://www.yuanma.org/data/2007/0210/article_2274.htm su user保留原来exported的环境变量,而su - user就像以用户user登陆进来一样,重新初始化环境变量。
举个例子:
# su mishuang
# cd
# pwd
/export/home/root
# su - mishuang
# cd
# pwd
/export/home/mishuang
在Fedora11 下切换到root用户后执行 gedit时报错:
$ su
# gedit
GConf 错误:联系配置服务器失败;某些可能原因是需要为 ORBit 启用 TCP/IP 联网,或者由于系统崩溃,您的 NFS 锁定已失效。请访问 http://projects.gnome.org/gconf/ 了解详细信息。(详细信息 - 1: 获取到会话的连接失败: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.)
解决办法:
切换用户时不要使用 su 而要使用 "su -"
附加:
su 和 su- 的区别
转自: http://www.yuanma.org/data/2007/0210/article_2274.htm su user保留原来exported的环境变量,而su - user就像以用户user登陆进来一样,重新初始化环境变量。
举个例子:
# su mishuang
# cd
# pwd
/export/home/root
# su - mishuang
# cd
# pwd
/export/home/mishuang
相关文章推荐
- Fedora19安装smplayer后遇到"Mplayer has finished unexpectedly. Exit code 127"的错误
- FCKeditor关于图片上传出现错误“ 提示没有权限 Type=Image” 以及出现"this connector is disabled Please check the"editor/filemanager/connectors/aspx/conf
- VS2010打开后报错"WPFFontCache_v0400.exe - 应用程序错误"解决方案
- vmware workstation 8.0安装fedora16时,出现"Automatic partitioning Errors"的错误
- fedora编译uImage是出现"mkimage" command not found - U-Boot images will not be built 错误
- 数据库的兼容级别出错,总报错"'PIVOT' 附近有语法错误
- vmware workstation 8.0安装fedora16时,出现"Automatic partitioning Errors"的错误
- 重载">>"时遇到的错误error C2679
- Property xxx cannot be found in forward class object "XXXXX" 错误
- 纠正盲目相信万科道德和诚信的错误,团结起来坚决抵制"狗洞式"的地下室入户大厅!
- Unable to read TLD "META-INF/c.tld"错误
- Chrome插件开发之"Could not load extension... Unsopported encoding "错误解决方法
- matlab Undefined function or variable "x" 错误
- 使用客户端身份验证方案“Anonymous”禁止 HTTP 请求"错误
- VC++常见错误原因解析--error LNK2019: 无法解析的外部符号 "public: void __thiscall
- Win7共享打印机 出现 " 无法保存打印机设置 操作无法完成(错误 0x000006d9)"
- 关于 "CS0016: 未能写入输出文件" 的解决办法 编译器错误信息: CS0016: 未能写入输出文件“c:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/liste
- NDK: ant 错误 [javah] Exception in thread "main" java.lang.NullPointerException
- android " Error generating final archive: Debug Certificate expired on"错误如何解决
- "ORA-12514 TNS监听程序当前无法识别连接描述符中请求服务"错误解决方案