标题: ubuntu gedit出错:Failed to connect to the session manager的问题 [打印本页] 作者: heicc 时间: 2015-1-5 16:25 标题: ubuntu gedit出错:Failed to connect to the session manager的问题 刚才用su到root后,用命令gedit发现会出错:
** (gedit:2976): WARNING **: 连接已关闭
(gedit:2976): EggSMClient-WARNING **: Failed to connect to the session manager:
None of the authentication protocols specified are supported
** (gedit:2976): WARNING **: Could not connect to session bus www.2cto.com
原因是:
su 只能切换到管理员用户权限,不使用管理员的登陆脚本和搜索路径