当你运行xterm出现错误如下:
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
我的系统centos6.2
解决办法:
1、首先确定你安装了x11:yum -y install xorg-x11-xauth
2、其次修改配置文件:/etc/ssh/sshd_config,
AllowTcpForwarding yes
X11Forwarding yes
ForwardX11 yes 或者(ForwardX11Trusted )
3、重启
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)