在client端 $ export DISPLAY=<remoteserverhost>:<remoteserverport> 在server端 $ xhost + 目的是授权远程client连接访问,如果有需要。