centos – 无法打开显示 – X11转发 – Cent OS

尝试通过SSH Putty / Xming(在选项上启用X11转发)访问X11我的CentOS 6 x32小型Linode VPS.

我的Windows机器不是问题,因为它与其他CentOS服务器一起使用.

在/ etc / ssh / sshd_config上启用X11Forwarding,仍然无法获得X11转发.

我试图让xclock工作,但我得到无法打开显示:0.0错误.

我也试过了不同的$disPLAY值,如:0或:10.0

我尝试过MobaXterm,连接时收到此消息:

X11 forwarding request Failed on channel 0
Here(需要Red Hat登录)是来自Red Hat顾问的Tech Brief文章,该文章讨论了X-Windows为SSH连接工作所需的最小软件包.

关键点是:

1) Install the following:
xorg-x11-xauth
xorg-x11-fonts-*
xorg-x11-utils
2) Enable the following in the sshd_config file
X11Forwarding yes
3) Use an appropriate X-Server on your desktop

相关文章

Centos下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native