`
sundful
  • 浏览: 1231337 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Failed to connect to the session manager解决方案

 
阅读更多

$ su
密码:
# gedit /etc/apt/sources.list 

(gedit:6303): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
$ su -
密码:
# gedit /etc/apt/sources.list 
原因:su与su -命令的差别: 

su   只能切换到管理员用户权限,不使用管理员的登陆脚本和搜索路径 
su - 不但能切换到管理员权限而且使用管理员登陆脚本和搜索路径

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics