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 will need a special Java client, which is a version of TightVNC slightly modified to support our token auth:

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

Then, to create a session, first request an access URL using python-novaclient and then run the client like so. To retrieve access URL:


$ nova get-vnc-console [server_id] xvpvnc
      

To run client:

$ java -jar VncViewer.jar [access_url]


loading table of contents...