刚才用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): WAR

刚才用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

原因是: su   只能切换到管理员用户权限,不使用管理员的登陆脚本和搜索路径

su - 不但能切换到管理员权限而且使用管理员登陆脚本和搜索路径 
 解决方法:使用sudo gedit 或者su -后再gedit就没错误了!

ubuntu gedit出错:Failed to connect to the session manager相关推荐

  1. IAR下载报错 “Fatal error: Failed to connect to CPU Session aborted!”

    当IAR下载程序进入单片机运行时出现这个弹窗之后就再也下载不进去程序了,报以下错误 解决办法:这时候就需要对单片机进行复位了,一般是先看电路有没有复位按键如果没有复位按键则需要找到复位电路然后找到电路 ...

  2. Error -27796: Failed to connect to server ip地址: [10060] Connection timed out

    如果出现Error -27796: Failed to connect to server "ip地址": [10060] Connection timed out 这样的错误,如 ...

  3. vnc却显示 failed to connect:操作成功完成。(0)

    问题: 运行vnc时出现: failed to connect:操作成功完成.(0) 解决办法: 在开始菜单中打开Ubuntu 输入命令 sudo vncserver -geometry 1600x9 ...

  4. github unable to access 'https://github.com/...: Failed to connect to github.com port 443‘

    建立一个github帐号(pythonsoft)之后,按照提示create a repository: test. 想把这个项目clone到本地: git clone https://github.c ...

  5. fatal: 无法访问 ‘https://gitlab.com/libeigen/eigen.git/‘:Failed to connect to gitlab.com port 443: 没有到主机

    在安装openmvs 时需要安装eigen, git clone https://gitlab.com/libeigen/eigen.git --branch 3.2 但是一直报错fatal: 无法访 ...

  6. 解决git clone与git push出现的若干问题:Failed to connect to github.com port 443: Timed out

    折腾了一天多的时间,终于可以进行正常的git push与git clone操作了,用这篇博客来解决一下陆续出现的问题. 文章目录 1. 连接github失败问题汇总:Failed to connect ...

  7. github常见错误集合 [rejected] main -> main (non-fast-forward) Failed to connect to github.com por

    问题描述: 问题一: fatal: unable to access 'https://github.com/yuanjiejiahui/supermall.git/': Failed to conn ...

  8. fatal: unable to access https:// Failed to connect to: Connection refused|git clone问题(完美解决)

    fatal: unable to access 'https://github.com/xxxx/': Failed to connect to x.x.x.x port xxxxx: Connect ...

  9. fatal: 无法访问 https://github.com/ :Failed to connect to github.com port 443: 拒绝连接的解决办法

    最近在ubuntu20.04安装PCL1.9.1的过程中,在从github 下载pcl时遇到了 fatal: 无法访问 https://github.com/PointCloudLibrary/pcl ...

最新文章

  1. 阿里巴巴云原生应用安全防护实践与 OpenKruise 的新领域
  2. 1. CMake 系列 - 从零构建动态库和静态库
  3. jquery实现抽奖系统
  4. 【学术相关】如何避免博士延期毕业?
  5. Android Studio (8)---常用快捷键
  6. 基于JAVA+SpringBoot+Mybatis+MYSQL的汽车租赁管理系统
  7. 跨Rollup转账应用HopProtocol将于4月份上线主网
  8. # 一点毕设小感悟(SnowNLP+可视化分析)
  9. idea vscode快捷键
  10. 文本转语音的接口(开放免费)
  11. ESP8285调试 IOT_Demo
  12. intel 电脑棒一代linux,拆解:英特尔黑科技——电脑棒
  13. LabVIEW编程LabVIEW开发Keithley 6485例程与相关资料
  14. 用户主页个性域名技术实现
  15. ubuntu禁用smap
  16. 网站打开速度优化:如何提高网页加载速度,提升网页打开速度
  17. 对结对编程盟友的个人项目代码分析
  18. 【面试】 CVTE 视源股份 C++ 软件开发 二面
  19. php mailer altbody,PHP_phpmailer 中文使用说明(简易版),phpmailer v5.1下载 A开头: $AltBody - phpStudy...
  20. PySpark基础入门(3):RDD持久化

热门文章

  1. pla3d打印材料密度_模具粉必看!总有一款粉末能解决您的问题-毅速3D打印研制...
  2. 怎么在电脑安装php文件夹在哪个文件夹,php进行文件上传时找不到临时文件夹怎么办,电脑自动保存的文件在哪里...
  3. vue中的数据单向绑定,判断,循环,函数
  4. 适用于ELment-UI级联多选框,数据回填,根据子节点的值查找完整路径
  5. node作为php中转带参数,Nodejs中使用命令行如何进行传参(代码)
  6. mysql host %s_python mysql:虽然%s和列匹配,但并非SQL语句中使用的所有参数
  7. 03-java学习-基本数据类型-运算符-键盘接收用户输入
  8. [Swift]LeetCode482. 密钥格式化 | License Key Formatting
  9. 通过tomcat日志定位错误
  10. JavaSE--类加载器