Using noVNC with kvm multi vm's

2,236 views
Skip to first unread message

Jarek W

unread,
Nov 29, 2012, 3:09:59 PM11/29/12
to no...@googlegroups.com
Hi, I've been trying to use noVNC with kvm (libvirt) without results. When trying put ip and vnc ports manually then getting server error message and nothing more, also I can establish connection via other vnc clients so vnc server works without any problems, also when I manually create novnc via websockify then it works also without any problems but I need solution which will allow to use multiple vnc consoles over http (one port) due to firewall restrictions. I can see that it works perfectly on openstack but there is option to generate tokens via nova. Please advice how can I get it working if its possible. Thanks
Message has been deleted

Joel Martin

unread,
Dec 5, 2012, 10:31:38 AM12/5/12
to no...@googlegroups.com
Jarek,

Are you trying to connect directly to kvm (libvirt) using noVNC without using websockify? kvm/qemu do not yet support WebSockets for VNC connections (so websockify is required to bridge), however, Tim Hardek is working on adding this support but it is not yet integrated so you will need to use websockify until that point.

Websockify has a --target-config option that allows you to define a list of target vnc host:port combinations in a file (or directory of files):

  --target-config=FILE  Configuration file containing valid targets in the
                        form 'token: host:port' or, alternatively, a directory
                        containing configuration files of this form

Then you pass "?token=TOKEN" as the websocket path (this is the path passed to websockify, not the URL of noVNC) and the matching option from the config will be used as the target.

Does that answer your question or did I misunderstand the issue you are having?

Joel Martin (kanaka)

Game live

unread,
Mar 8, 2017, 7:55:36 AM3/8/17
to noVNC
In vmware i have ubuntu virtual machine these shows only background no icon no menu will shows

Game live

unread,
Mar 8, 2017, 7:55:46 AM3/8/17
to noVNC
Reply all
Reply to author
Forward
0 new messages