摘要:
实用技巧:在Linux下设置xhost方法步骤第一步:用root登陆linux,启动vnc服务;第二步:根据vnc起来的端口,设置export DISPLAY=localhost:1(1表示vnc在第一个tty上启动的),vnc的启动信息见附件1;第三步:执行xhost +,并且提示“access control disabled, clients can connect from any host”才正确。linux下的操作日志如下:[root@localhost ~]# vncserverNew 'localhost:1 (root)' desktop is localho 阅读全文