当你运行xterm出现错误如下:
xterm Xt error: Can't open display:
xterm: DISPLAY is not set
我的系统osX
解决办法:
1、首先确定你安装了x11:yum -y install xorg-x11-xauth
2、其次修改配置文件:/etc/ssh/sshd_config,
AllowTcpForwarding yes
##X11Forwarding yes
##ForwardX11 yes 或者(ForwardX11Trusted )
3、重启