Failed to connect to the session manager: None of the authentication protocols specified are support
来源:互联网 发布:淘宝卖家在线培训 编辑:程序博客网 时间:2024/05/16 06:30
在更新系统后运行su gedit etc/apt/sources.list出现下面的出错,
root@ubuntu:/# gedit etc/apt/sources.list
(gedit:2351): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
**
GLib-GIO:ERROR:/build/buildd/glib2.0-2.28.6/./gio/gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Aborted
经查,是因为运行的命令是su,改成sudo就可以了,
备注:
su 和 sudo 的区别:
1.共同点:都是root用户的权限;
2.不同点:su仅仅取得root权限,工作环境不变,还是在切换之前用户的工作环境;sudo是完全取得root的权限和root的工作环境。
su切换用户身份,需要输入变成那个用户的密码,如果要切换到root,则要知道root密码,但多个人管理主机时,对系统安全性造成影响;
sudo切换用户身份,输入的是用户自己的密码,对系统不会有大的影响
- Failed to connect to the session manager: None of the authentication protocols specified are support
- Qt: Session management error: None of the authentication protocols specified are supported
- Qt: Session management error: None of the authentication protocols specified are supported
- 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"解决办法
- 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
- virtualbox错误:Qt WARNING: Qt: Session management error: None of the authentication protocols specif
- 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
- CString string char * char[] 之间的转换
- QString,QFile,QTextStream和QTextCodec简介
- sed命令详解
- 数据库语言的4大类
- 使用Boot-Repair来对Ubuntu进行 修复
- Failed to connect to the session manager: None of the authentication protocols specified are support
- Tell,Don’t Ask!
- Android 实用工具Hierarchy Viewer实战
- App列表之圆角ListView
- LDD3源码分析之异步通知
- MyEclipse jsp 断点使用
- File类和案例
- Texture and Surface
- 激活对话框中 tab 键蓝色按钮切换