[PVE-User] Can't get NoVnc

Dhaussy Alexandre ADhaussy at voyages-sncf.com
Wed Sep 10 16:05:50 CEST 2014


Hello,

I'm getting a timeout when i try to use novnc (java console OK.)
When launching a console, it says "noVNC ready: native WebSockets, 
canvas rendering" and it asks for Host/Port(empty)/Password.

Task status says :
no connection : Connection timed out
TASK ERROR: command '/bin/nc -l -p 5901 -w 10 -c '/usr/sbin/qm vncproxy 
100 2>/dev/null'' failed: exit code 1

So it seems there is no connection reaching nc server, which timeouts 
after 10s..

Note that i have an iptable DNAT rule to redirect webconsole traffic 
from port 443 to 8006 (web/admin access and proxmox servers are on 
different networks, i only redirected the port because 8006 listens on 
0.0.0.0)
Like Dietmar said : "novnc on pve use a websocket connection to port 
8006", so i guess i should not need any open ports other than 8006 ?

Launching manually nc/vncproxy seems to work..

root at proxmox-test1:~# /bin/nc -l -p 5900 -c "/usr/sbin/qm vncproxy 100"&
[1] 5292
root at proxmox-test1:~# telnet localhost 5900
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
RFB 003.008

Regards,
Alexandre.


More information about the pve-user mailing list