xmaneger连接linux报错(The X11 forwarding request was rejected! )

来源:互联网 发布:易语言时时彩做号源码 编辑:程序博客网 时间:2024/06/04 20:14

1、

The X11 forwarding request was rejected! 
to solve this problem,please turn on the X11 forwarding feather of the remote SSH server 

解决方法:
将sshd_config中 设置 X11Forwarding yes
重启sshd服务。

# vi /etc/ssh/sshd_config
#X11Forwarding no 改成 X11Forwarding yes  保存退出

2、

修改 vi /etc/ssh/sshd_config

UseLogin no


保存重启:

service sshd restart

3、

xmaneger中选择execution Command:

选择:

xterm(linux:type 2)

/usr/bin/xterm -ls -display $DISPLAY

0 0
原创粉丝点击