fedora14下gedit出错:Failed to connect to the session manager 问题解决(su和su -两个命令的区别)
2012-07-29 19:03
471 查看
刚才用su到root后,用命令gedit发现会出错:
(gedit:7932): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
已放弃 (core dumped)
原因是:
su 只能切换到管理员用户权限,不使用管理员的登陆脚本和搜索路径
su - 不但能切换到管理员权限而且使用管理员登陆脚本和搜索路径
解决方法:使用sudo gedit 或者su -后再gedit就没错误了!
看来,还是得不断学习阿。。。。。。
(gedit:7932): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed: (connection->initialization_error == NULL)
已放弃 (core dumped)
原因是:
su 只能切换到管理员用户权限,不使用管理员的登陆脚本和搜索路径
su - 不但能切换到管理员权限而且使用管理员登陆脚本和搜索路径
解决方法:使用sudo gedit 或者su -后再gedit就没错误了!
看来,还是得不断学习阿。。。。。。
相关文章推荐
- ubuntu gedit出错:Failed to connect to the session manager的问题
- ubuntu gedit出错:Failed to connect to the session manager的问题
- ubuntu gedit出错:Failed to connect to the session manager的问题
- ubuntu gedit出错:Failed to connect to the session manager的问题
- ubuntu gedit出错:Failed to connect to the session manager的问题
- ubuntu gedit出错:Failed to connect to the session manager
- ubuntu gedit出错:Failed to connect to the session manager
- ubuntu gedit出错:Failed to connect to the session manager
- ubuntu gedit出错:Failed to connect to the session manager
- ubuntu12.04 gedit出错:Failed to connect to the session manager
- ubuntu gedit出错:Failed to connect to the session manager
- ubuntu gedit出错:Failed to connect to the session manager
- "Failed to connect to the session manager"解决办法
- 【解决】Xstart连接服务器桌面报错:Failed to connect to the session manager: IO error occurred opening connection
- 【解决】Xstart连接服务器桌面报错:Failed to connect to the session manager: IO error occurred opening connection
- Ubuntu gedit:Failed to connect to the session manager
- Failed to connect to the session manager: None of the authentication protocols specified are support
- Eucalyptus failed to connect to the hypervisor问题解决方法
- Flex Failed to connect; session timed out.解决办法