Atom feed of this document
 
 Accessing VNC Consoles with a Java client

To enable support for the OpenStack Java VNC client in Compute, we provide the nova-xvpvncproxy service, which you should run to enable this feature.

  • 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/viewer
$ 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]
Log a bug against this page


loading table of contents...