尝试通过SSH Putty / Xming(在选项中启用X11转发)访问X11我的CentOS 6 x32小型Linode VPS。
我的Windows机器不是问题,因为它与其他CentOS服务器一起工作。
在/etc/ssh/sshd_config上启用了X11Forwarding,但我仍无法获得X11转发。
我试图让xclock工作,但我得到Can't open display :0.0错误。
我也尝试了不同的$显示值,如:0或:10.0
我试过MobaXterm,连接时我得到这个消息:
X11 forwarding request failed on channel 0
这里 (需要红帽login)是红帽顾问的技术文章,它讨论了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
安装了这个包: xorg-x11-xauth
从这里得到解决scheme。
谢谢你的帮助!