[GH-ISSUE #334] websockify on host? #251

Closed
opened 2026-02-27 16:38:36 +03:00 by kerem · 6 comments
Owner

Originally created by @MACscr on GitHub (Jun 14, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/334

The install instructions dont mention anything about needing to install novnc/websockify on the kvm hosts. Im currently connected to the host through tcp (ssh gave 500 errors) and when I try to connect to the console of my first guest, it says "Server disconnected (code: 1006)". I can only assume its because there is nothing vnc related installed on the host.

Am I missing something obvious? Does novnc/websockify need to be installed on the kvm hosts? if so, do i follow the same directions as the ones for the webvirtmgr host?

Originally created by @MACscr on GitHub (Jun 14, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/334 The install instructions dont mention anything about needing to install novnc/websockify on the kvm hosts. Im currently connected to the host through tcp (ssh gave 500 errors) and when I try to connect to the console of my first guest, it says "Server disconnected (code: 1006)". I can only assume its because there is nothing vnc related installed on the host. Am I missing something obvious? Does novnc/websockify need to be installed on the kvm hosts? if so, do i follow the same directions as the ones for the webvirtmgr host?
kerem closed this issue 2026-02-27 16:38:36 +03:00
Author
Owner

@daniviga commented on GitHub (Jun 14, 2014):

You need novnc installed on the web frontend and to allow incoming connections on port 6080.
On the KVM hosts you need to allow incoming VNC connections (usually on port 5900 and up) from the frontend.

<!-- gh-comment-id:46101335 --> @daniviga commented on GitHub (Jun 14, 2014): You need novnc installed on the web frontend and to allow incoming connections on port 6080. On the KVM hosts you need to allow incoming VNC connections (usually on port 5900 and up) from the frontend.
Author
Owner

@MACscr commented on GitHub (Jun 14, 2014):

i don’t have a firewall setup right now on either system though. So that shouldn’t be the issue.

-Mark

<!-- gh-comment-id:46101363 --> @MACscr commented on GitHub (Jun 14, 2014): i don’t have a firewall setup right now on either system though. So that shouldn’t be the issue. -Mark
Author
Owner

@zaraki673 commented on GitHub (Jun 16, 2014):

Same issue here, webvirtmgr install on a fresh centos6.5, and hosts on an other computer with centos 6.5, where can i find novnc log ?

<!-- gh-comment-id:46147201 --> @zaraki673 commented on GitHub (Jun 16, 2014): Same issue here, webvirtmgr install on a fresh centos6.5, and hosts on an other computer with centos 6.5, where can i find novnc log ?
Author
Owner

@retspen commented on GitHub (Jun 16, 2014):

You can run webvirtmgr-novnc manually and than you can see all debug:

$ service webvirtmgr-novnc stop
$ python /var/www/console/webvirtmgr-novnc
<!-- gh-comment-id:46148942 --> @retspen commented on GitHub (Jun 16, 2014): You can run webvirtmgr-novnc manually and than you can see all debug: ``` $ service webvirtmgr-novnc stop $ python /var/www/console/webvirtmgr-novnc ```
Author
Owner

@zaraki673 commented on GitHub (Jun 18, 2014):

sorry, reverse proxy error for me ;)

<!-- gh-comment-id:46491479 --> @zaraki673 commented on GitHub (Jun 18, 2014): sorry, reverse proxy error for me ;)
Author
Owner

@retspen commented on GitHub (Jun 19, 2014):

  1. On web need installed daemon - webvirtmgr-nonvc
  2. On host server no need installed damon - webvirtmgr-nonvc (except: web and host the same server)
  3. On web need open port - 6080 (novnc)
  4. On host need open port 5900 - 5920 (vnc)

Simple test from client computer:
$ telnet ip_web_server 6080

Simple test from web server:
$ telnet ip_host_server 5900

<!-- gh-comment-id:46523246 --> @retspen commented on GitHub (Jun 19, 2014): 1. On web need installed daemon - webvirtmgr-nonvc 2. On host server no need installed damon - webvirtmgr-nonvc (except: web and host the same server) 3. On web need open port - 6080 (novnc) 4. On host need open port 5900 - 5920 (vnc) Simple test from client computer: <code>$ telnet ip_web_server 6080</code> Simple test from web server: <code>$ telnet ip_host_server 5900</code>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#251
No description provided.