Implement instance VNC console on Google Chrome


1. bzr merge this branch to django-dashboard (thanks for Joe)

2. get Cactus source code

3. c
opy two binaries to /usr/bin

4. config nova.conf
--vncproxy_url= #the ip depends on which network you want to use VNC console

5.Add noVNC
Download noVNC , noVNC must be in the location specified by –vncproxy_wwwroot, which defaults to /var/lib/nova/noVNC. nova-vncproxy will fail to launch until this code is properly installed.

iptable rule on nova-network host (depends on different situation, customize)
-A PREROUTING -d -p tcp -m tcp --dport 8000 -j DNAT --to-destination
-A PREROUTING -d -p tcp -m tcp --dport 6080 -j DNAT --to-destination

7. run up service
/usr/bin/nova-direct-api --flagfile=/etc/nova/nova.conf
/usr/bin/nova-vncproxy --flagfile=/etc/nova/nova.conf --logfile=/var/log/nova/nova-vncproxy.log

Must use Google Chrome
Must enable ssh PassworkAuth , and have an exist account/passwd
Maybe it will be better later....


  1. Hi Hugo,

    I have a two nodes cloud running. Below is the nova.conf file.


    In this case, how should I configure the vnc in the nova.conf?

    Thank you.


  2. --vnc_console_proxy_url=

  3. Hi Hugo,

    Thanks for responding. I'm still confused with the ip addresses,, and of server 30) in your case. In my case, the public ip of the cloud controller is and the private ip is, the ip of instance is How should I configure the vnc?

    Thank you very much.


  4. OK, I know the reason why that you feel confusing.
    Bcz the environment is a little bit different from regular one.

    In your case

    btw , you can try to drop
    I think it's wrong flag in VNC instruction from OPENSTACK. I found that VNCproxy try to use "--vncproxy_url" instead of the first one for setting VNC porxy address....



Post a Comment

Popular posts from this blog

The method of Web Service HA+LB in OPENSTACK NOVA for private cloud only

OpenStack Swift (ep0) - 進化的儲存系統與需求