Hi jakub,
I have had the similar problem - an issue was browser (in that case
Chromium). In Firefox and vncviewer everything works, in Chromium
not ...
Which kind of browser do you use?
Jan
Dňa 30.07.2012 19:27, Jakub Kaláb wrote
/ napísal(a):
Hello,
I'm having a problem with the opennebula sunstone vnc feature.
When I try to connect to the server using the vnc button, it opens
the window and after a short while "connect timeout" message
appears. First I tried to connect to the host vnc with vncviewer
and it works allright, so there should be no firewall problems. So
I played a bit with the sunstone configuration. I set
:vnc_proxy_base_port: 0 in the sunstone.conf so that the noVNC
proxy port on the sunstone server is the same as the remote one. I
then restarted sunstone and watched the sunstone.log while I tried
to use the vnc again, this line appeared in the log (and I got the
"connect timeout" message again):
Mon Jul 30
18:22:56 2012 [I]: Starting vnc proxy:
/usr/share/one/noVNC/utils/websockify 5904 node3:5904
Then I checked these:
root@nebula # netstat --ip -lnp | grep 5904
tcp 0 0 0.0.0.0:5904
0.0.0.0:* LISTEN 7534/python
root@nebula # ps u -p 7534
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME
COMMAND
root 7534 0.1 1.6 92924 16724 pts/1 S 19:11 0:00
python /usr/share/one/noVNC/utils/websockify 5904 node3:5904
so the noVNC proxy opened the port correctly, but while I can
connect to the remote host correctly (using the vncviewer), when I
try to connect to this proxied port, I get the following:
root@nebula #
vncviewer localhost:4
VNC Viewer Free Edition 4.1.1 for X - built Feb 5 2012 20:01:21
Mon Jul 30 19:16:29 2012
CConn: connected to host localhost port 5904
Mon Jul 30 19:16:32 2012
main: End of stream
it does connect, so the proxy is partly working, but then the
stream ends before the video transmission starts. What should I do
to solve this kind of problem? Have I missed something?
Just for completeness, this is my sunstone.conf:
root@nebula:/usr/share/one# cat /etc/one/sunstone-server.conf |
egrep -v '^#|^$'
:one_xmlrpc: http://localhost:2633/RPC2
host: 0.0.0.0
:port: 9869
:debug_level: 3
:auth: sunstone
:core_auth: cipher
:vnc_proxy_base_port: 0
:vnc_proxy_path: /usr/share/one/noVNC/utils/websockify
:vnc_proxy_support_wss: no
:vnc_proxy_cert:
:vnc_proxy_key:
:lang: en_US
and the graphics part of the template of the VM I tried it on:
GRAPHICS=[
LISTEN="0.0.0.0",
PORT="5904",
TYPE="vnc" ]
Thank you. Jakub
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
--

Ján Beňadik
Managed Services - Solution
Design Architect
+421 46 5151 332
+421 903 691 634
[email protected]
Vinohradnícka 6, 971 01 Prievidza
www.sk.atos.net
__________________________________

|
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org