gedit出错的处理
2009-01-13 18:13
106 查看
在fedora10下,运行gedit,普通用户下不会出错,但在su到root下会出现如下错误,
(gedit:12541): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
GConf 错误:联系配置服务器失败;某些可能原因是需要为 ORBit 启用 TCP/IP 联网,或者由于系统崩溃,您的 NFS 锁定已失效。请访问 http://www.gnome.org/projects/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.)
虽然这时gedit也可以正常启动,但总感觉别扭。在网上搜索很久,终于找到两种解决办法,分享给大家:
1.用sudo,如:
sudo gedit 文件名
2.出错是在su时出现的,现在我们改用su -:
su -
gedit 文件名
ok.出错信息不再出现!
(gedit:12541): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
GConf 错误:联系配置服务器失败;某些可能原因是需要为 ORBit 启用 TCP/IP 联网,或者由于系统崩溃,您的 NFS 锁定已失效。请访问 http://www.gnome.org/projects/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.)
虽然这时gedit也可以正常启动,但总感觉别扭。在网上搜索很久,终于找到两种解决办法,分享给大家:
1.用sudo,如:
sudo gedit 文件名
2.出错是在su时出现的,现在我们改用su -:
su -
gedit 文件名
ok.出错信息不再出现!
相关文章推荐
- fedora安装busybox过程及出错处理
- linux VM复制多个IP配置出错的处理
- Java调用IDL出错处理
- 处理utf-8中文文本,程序莫名出错中断
- 在处理向该请求提供服务所需的配置文件时出错
- Could not determine type for: java.util.Boolean, at table:出错的处理
- php5.3编译出错"make: *** [sapi/fpm/php-fpm] Error 1"的处理
- unix network programming volume 2 interprocess communications second edition环境搭建出错的处理
- 名称以无效字符开头。处理资源 'http://localhost/发布了的/Default.aspx' 时出错。第 1 行,位置: 2
- cc2530 用SmartRFProg烧hex时出错处理记录
- outlook 处理请求的任务时出错,请复查下列错误表以获取详细信息。
- 1、class或都id中含有“.”,“#”等特殊字符 在我们的程序中可能会遇到id中还有“.”和“#”等特殊字符,如果按照普通方式处理就会出错,解决方法是用转义符转义。 在下面程序中: <div
- apue.h及err_sys出错处理
- 【转】批量复制操作(SqlBulkCopy)的出错处理:事务提交、回滚
- Unix环境编程----出错处理(errno)
- InnoDB中文参考手册---13出错处理
- 处理CFileDialog 调用出错(我的电脑 空白, 空指针)
- “呈现控件时出错”处理方法
- Win7 双硬盘启动出错处理
- SQL Server2008安装报错,解决方案(创建 system.diagnostics 的配置节处理程序时出错)