X11 connection rejected because of wrong authentication 解决
来源:互联网 发布:日历软件 编辑:程序博客网 时间:2024/06/05 22:31
在Linux上装了X11 server, 通过Xming 在本地打开UI来观察系统情况。
结果发现非root用户无法使用,报出 X11 connection rejected because of wrong authentication 错误。
特记录解决方法如下:
1. 用root用户运行
$ xauth list
mdf-cp1/unix:11 MIT-MAGIC-COOKIE-1 e01b146a570dbbb97f79f6e5215baa96
mdf-cp1/unix:10 MIT-MAGIC-COOKIE-1 6652119d9956246be080246204cca1c5
2. 切换到目标用户,运行
$ xauth add mdf-cp1/unix:11 MIT-MAGIC-COOKIE-1 e01b146a570dbbb97f79f6e5215baa96xauth: creating new authority file /home/mdfcp/.Xauthority
$ xauth add mdf-cp1/unix:10 MIT-MAGIC-COOKIE-1 6652119d9956246be080246204cca1c5
再运行就可以了。
- X11 connection rejected because of wrong authentication.
- X11 connection rejected because of wrong authentication 解决
- Linux X11 Connection Rejected Because of Wrong Authentication Error and Solution
- 解决because of many connection errors
- (2) Data source rejected establishment of connection, message from server: "Too many connections"解决办
- 解决Data source rejected establishment of connection, message from server: "Too many connections"连接问题
- Data source rejected establishment of connection
- [hbase]Master rejected startup because clock is out of sync
- Mysql的错误,待解决[已解决]Data source rejected establishment of connection message from server: "Too many connections";
- ERROR 1129 (00000) Host * is blocked because of many connection errors; unblock with ‘mysqlad解决
- ERROR 1129 (00000) Host * is blocked because of many connection errors; unblock with ‘mysqlad解决
- Web service failed to start because of wrong IIS configuration
- 报错: Data source rejected establishment of connection
- Data source rejected establishment of connection, message from server: "Too
- 解决用xshell连接cygwin出现The remote SSH server rejected X11 forwarding request的错误
- 【git】updates were rejected because the tip of your current branch is behind its remote counterpart
- Updates were rejected because the tip of your current branch is behind
- Git报错:Updates were rejected because the tip of your current branch is behind
- 二维,二点五维与真三维的比较
- 多次安装卸载MySql 后无法启动mysql 服务 解决办法
- java的各种排序算法代码整理
- java 中 bit byte 字母 汉子 中的转换大小
- 近期不错的书籍推荐
- X11 connection rejected because of wrong authentication 解决
- 缺少 libmcrypt.dll 时使用函数 mcrypt_module_open 进行解密
- Linux Debug Filesystem的使用
- 中断向量表
- try-catch-finally执行机制
- fork
- 计算机软件开发--技术网站汇总
- UIView的生命周期 init、loadView、viewDidLoad、viewDidUnload、dealloc
- cocos2d-x网格特效