標(biāo)題: ubuntu gedit出錯(cuò):Failed to connect to the session manager的問題 [打印本頁]

作者: heicc    時(shí)間: 2015-1-5 16:25
標(biāo)題: ubuntu gedit出錯(cuò):Failed to connect to the session manager的問題
剛才用su到root后,用命令gedit發(fā)現(xiàn)會(huì)出錯(cuò):
** (gedit:2976): WARNING **: 連接已關(guān)閉

(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   只能切換到管理員用戶權(quán)限,不使用管理員的登陸腳本和搜索路徑

su - 不但能切換到管理員權(quán)限而且使用管理員登陸腳本和搜索路徑

解決方法:使用sudo gedit 或者su -后再gedit就沒錯(cuò)誤了!






歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1