答案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 外掛嗎?