答案1
假设我的VNC服务器:192.168.100.195
安装git:
yum install git
之后下载noVNC
$git clone git://github.com/kanaka/noVNC
$ cd noVNC
$ ./utils/launch.sh --vnc 192.168.100.195:5901
之后你会得到如下输出:
Warning: could not find self.pem
Starting webserver and WebSockets proxy on port 6080
WebSocket server settings:
- Listen on :6080
- Flash security policy server
- Web server. Web root: /home/xmodulo/noVNC
- No SSL/TLS support (no cert file)
- proxying from :6080 to 192.168.1.10:5900
Navigate to this URL:
http://127.0.0.1:6080/vnc.html?host=127.0.0.1&port=6080
Press Ctrl-C to exit
在那之后: http://127.0.0.1:6080/vnc.html?host=127.0.0.1&port=6080
最后我得到了如下图所示的结果
它在 openstack 中使用:)
答案2
你能使用 realvnc chrome 插件吗?