Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为了解决与 Xming 的一个连接问题,我试图将 xhost 值设置为,xhost +<ip>但它给出了错误ksh: xhost: not found.但存在相同命令的手册页。AIX 版本是 7.1 技术级别 4,服务包 01。此异常的原因可能是什么?
xhost +<ip>
ksh: xhost: not found.
发现问题,首先我的腻子窗口中没有启用“X-Forwarding”。可以从 Putty Window - Sessions - Check X11 forwarding 完成。
在此之后,我看到我的 Xming 拒绝了连接请求。为了解决这个问题,在Xming安装目录中,在“X0.hosts”文件中添加UNIX服务器的ip。
这应该可以解决问题。