当你运行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、重启
本文介绍了如何解决在osX系统中使用xterm时遇到的显示错误问题。具体步骤包括确认x11安装、修改sshd_config配置文件以及重启服务。

348

被折叠的 条评论
为什么被折叠?



