Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

It is possible to access the VNC console form the WEB browser and without having VNC client installed. For that purpose websockify proxy is used (formerly named wsproxy) and it part of the noVNC project. At the most basic level, websockify just translates WebSockets traffic to normal socket traffic. Websockify accepts the WebSockets handshake, parses it, and then begins forwarding traffic between the client and the target in both directions.

In this example we will configure the access to qemu-kvm virtual machine console using noVNC service:  

The installation procedure is quite simple:

...

localhost:5900 - points to VNC host and port where where redirect incoming requests to

-D - to run service in a daemon mode. For testing purposes, this option can be replaced with -v option, that run instruct service to run in verbose mode and produce diagnostic output on console. 

...

Now you are able to connect to VNC console of the host with your browser. Open URL https://YOUR_HOST:6080/vnc.html

Enter the password we set up on previous step and you will get connected to VNC console.


Image Added