在Linux/Unix类操作系统上, DISPLAY用来设置将图形显示到何处,DISPLAY should be set to your client IP, not the server IP
执行xhost +命令(使得所有客户都可以访问)
export DISPLAY=192.168.222.1:0.0
参考资料:
1.https://stackoverflow.com/questions/36717069/xhost-unable-to-open-display-0-0-or-any-hostname-red-hat-oracle-11-2-client