[libvirt-users] noVNC with qemu over ssh

Michal Privoznik mprivozn at redhat.com
Thu Oct 22 14:46:44 UTC 2015


On 14.10.2015 17:29, Digimer wrote:
> Hi all,
> 
>   I have a little webserver interface for managing VMs running on a RHEL
> 6 based HA cluster hosting KVM/qemu VMs. I'd like to use noVNC to
> provide access to the hosted VMs, but I am not finding much information
> on how to do this (or rather, I can't find it in the large number of
> ovirt related posts).
> 
>   Has anyone done this or could someone point me in the right direction
> to docs on how to do this? Trying to even get direct access isn't
> getting me far (/usr/bin/novnc_server --vnc localhost:5900 -> click URL
> -> enter password, hangs on "Starting VNC handshake").
> 
>   Thanks!
> 
> PS - while testing, iptables and selinux are disabled... I'm trying to
> get a most basic setup working
> 

I'm not familiar with noVNC, but from very little I read, it uses
websockets. Libvirt has support for that since 1.0.6:

http://libvirt.org/formatdomain.html#elementsGraphics

Also, qemu already has VNC server built in - that's why it already
serves VNC data on ports 5900+ (or whatever you configure). So I'm not
sure that you want another VNC server to connect to it (or novnc_server
is not VNC server and I am just blabbing about nothing?).

Michal




More information about the libvirt-users mailing list