Access VNC consoles with a Java client

To enable support for the OpenStack Java VNC client in compute, run the nova-xvpvncproxy service.

  • xvpvncproxy_port=[port] - port to bind (defaults to 6081)

  • xvpvncproxy_host=[host] - host to bind (defaults to 0.0.0.0)

As a client, you need a special Java client, which is a slightly modified version of TightVNC that supports our token auth:

$ git clone https://github.com/cloudbuilders/nova-xvpvncviewer
$ cd nova-xvpvncviewer
$ make

To create a session, request an access URL by using python-novaclient. Then, run the client as follows.

To get an access URL:

$ nova get-vnc-console [server_id] xvpvnc   

To run the client:

$ java -jar VncViewer.jar [access_url]

loading table of contents...