<html>
<head>
<meta content="text/html; charset=ISO-8859-2"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi jakub,<br>
<br>
I have had the similar problem - an issue was browser (in that case
Chromium). In Firefox and vncviewer everything works, in Chromium
not ...<br>
Which kind of browser do you use?<br>
<br>
Jan<br>
<br>
<div class="moz-cite-prefix">Dòa 30.07.2012 19:27, Jakub Kaláb wrote
/ napísal(a):<br>
</div>
<blockquote
cite="mid:CACNzd9r5g2qnpGEcasqTsXQSeqQ4+6X_wQnd6tVSgJa5N5gG+A@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-2">
Hello,<br>
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):<br>
<br>
<span style="font-weight:normal"></span><span
style="font-weight:bold;color:#204a87"> </span>Mon Jul 30
18:22:56 2012 [I]: Starting vnc proxy:
/usr/share/one/noVNC/utils/websockify 5904 node3:5904<span
style="font-weight:bold;color:#204a87"><br>
</span><br>
Then I checked these:<br>
<br>
root@nebula # netstat --ip -lnp | grep 5904<br>
tcp 0 0 <a moz-do-not-send="true"
href="http://0.0.0.0:5904">0.0.0.0:5904</a>
0.0.0.0:* LISTEN 7534/python<br>
<br>
root@nebula # ps u -p 7534<br>
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME
COMMAND<br>
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<br>
<br>
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:<br>
<br>
<span style="font-weight:normal"></span><span
style="font-weight:bold;color:#204a87"> </span>root@nebula #
vncviewer localhost:4<br>
VNC Viewer Free Edition 4.1.1 for X - built Feb 5 2012 20:01:21<br>
<br>
Mon Jul 30 19:16:29 2012<br>
CConn: connected to host localhost port 5904<br>
<br>
Mon Jul 30 19:16:32 2012<br>
main: End of stream<br>
<span style="font-weight:normal"></span><span
style="font-weight:bold;color:#204a87"> </span><br>
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?<br>
<br>
Just for completeness, this is my sunstone.conf:<br>
<br>
root@nebula:/usr/share/one# cat /etc/one/sunstone-server.conf |
egrep -v '^#|^$'<br>
:one_xmlrpc: <a moz-do-not-send="true"
href="http://localhost:2633/RPC2">http://localhost:2633/RPC2</a><br>
host: 0.0.0.0<br>
:port: 9869<br>
:debug_level: 3<br>
:auth: sunstone<br>
:core_auth: cipher<br>
:vnc_proxy_base_port: 0<br>
:vnc_proxy_path: /usr/share/one/noVNC/utils/websockify<br>
:vnc_proxy_support_wss: no<br>
:vnc_proxy_cert:<br>
:vnc_proxy_key:<br>
:lang: en_US<br>
<br>
and the graphics part of the template of the VM I tried it on:<br>
GRAPHICS=[<br>
LISTEN="0.0.0.0",<br>
PORT="5904",<br>
TYPE="vnc" ]<br>
<br>
Thank you. Jakub<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-2">
<title></title>
<font size="3" color="black" face="Verdana"> <img alt=""
src="cid:part3.00090406.05010700@atos.net" height="15"
width="252"><br>
<b>Ján Beòadik</b><br>
<font size="2" face="Verdana"> Managed Services - Solution
Design Architect<br>
+421 46 5151 332<br>
+421 903 691 634<br>
<a href="mailto://jan.benadik@atos.net">jan.benadik@atos.net</a><br>
Vinohradnícka 6, 971 01 Prievidza<br>
<a href="http://www.sk.atos.net">www.sk.atos.net</a><br>
__________________________________<br>
<br>
<img alt="" src="cid:part6.04080101.09010001@atos.net"
height="58" width="261"><br>
</font> </font></div>
</body>
</html>