CORRECTION:<br><br>at las, you should see what the<b><span style="color: rgb(255, 0, 0);"> phython </span></b>says when you are trying to connect<br><br><br>:D<br><br>Thanks<br><br><div class="gmail_quote">On Fri, Dec 2, 2011 at 2:59 PM, davood ghatreh <span dir="ltr"><<a href="mailto:davood.gh2000@gmail.com">davood.gh2000@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Dear Dian,<br><br>As much as I know, it has nothing to do with your hypervisor layer. of curse your oned server should see the hypervisor layer using an internal network.<br>
<br>if you get the proper reply by telnet command, so I think there should be a problem with your computer. Have you tried to change the computer or use another computer which is not in the same network?<br>
<br>at las, you should see what the perl says when you are trying to connect. to do so, again check the processes:<br><br>ps aux |grep VNC<br><br>you'll get something like this:<br><br><br>
oneadmin 24346 0.0 0.2 249764 10632 ? S 21:19 0:00 python /usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908<br><br>then kill the task by:<br><br>kill 24346<br><br>then run the task by oneadmin user:<br>
<br>su oneadmin<div class="im"><br>python /usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908<br><br></div>then you will see following:<br><br>[root@gui 21]# python /usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908<br>
WebSocket server settings:<br>
- Listen on :35784<br> - Flash security policy server<br> - No SSL/TLS support (no cert file)<br> - proxying from :35784 to yourMTSname:5908<br><br><br><br><br>and a console, waiting for connection appears. then try to connect to noVNC using your browser and check the ssh console to see what appears. It will help you to get the problem fixed.<br>
<br><br>Thanks<span class="HOEnZb"><font color="#888888"><br>Davood</font></span><div class="HOEnZb"><div class="h5"><br><br><br><br><div class="gmail_quote">On Fri, Dec 2, 2011 at 2:48 PM, Dian Djaelani <span dir="ltr"><<a href="mailto:djaelani@maxindo.net.id" target="_blank">djaelani@maxindo.net.id</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">thanks for answer davood,<br>
before i'`am send email i check all same on your answer, telnet no problem it's connected<br>
but on mozilla and chrome it's not working<br>
<br>
i think can vnc only in same network, maybe it wrong in my vmnet template, becouse from public cannot replay icmp and etc<br>
can you tell me template vmnet with gateway and netmask, i tray on<br>
<br>
davood ghatreh wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>
Hi Dian,<br>
<br>
you can troubleshoot this problem easily.<br>
<br>
First of all, read documents about setting up noVNC in opennebula website.<br>
After making sure that you ran scripts without any problem, check to see if there is any noVNC running in the server:<br>
<br>
one the oned node (OpenNebula server), run this:<br>
<br>
ps aux |grep VNC<br>
<br>
you should see something like this:<br>
<br></div>
oneadmin 24346 0.0 0.2 249764 10632 ? S 21:19 0:00 python /usr/share/one/noVNC/utils/<u></u>wsproxy.py *35784 yourMTSname*:*5908*<br>
<br>
it means that theres a port forwarding service which forwards request for VNC to *yourMTSname*:*5908* which hosts you vm. if this is running, you need to see if the destination(*yourMTSname*:*<u></u>5908)* replies or not. to do so, simply run a telnet in oned server:<br>
<br>
telnet *yourMTSname **5908*<div><br>
<br>
it should reply something like this<br>
<br>
Trying 192.168.0.4...<br></div>
Connected to <a href="http://mts4.ircloud.net" target="_blank">mts4.ircloud.net</a> <<a href="http://mts4.ircloud.net" target="_blank">http://mts4.ircloud.net</a>>.<div><br>
Escape character is '^]'.<br>
RFB 003.008<br>
<br>
if it doesn't, check your firewalls and also, check the server which host your vm to see if it listen to that port or not:<br>
<br></div>
netstat -antpe |grep *5908*<div><br>
<br>
<br>
These steps was just to troubleshoot, and you can find where the problem is.<br>
<br>
Thanks<br>
Davood<br>
<br></div><div>
On Fri, Dec 2, 2011 at 1:48 PM, Dian Djaelani <<a href="mailto:djaelani@maxindo.net.id" target="_blank">djaelani@maxindo.net.id</a> <mailto:<a href="mailto:djaelani@maxindo.net.id" target="_blank">djaelani@maxindo.net.<u></u>id</a>>> wrote:<br>
<br>
hello any can help me ???<br>
on my project opennebula novnc in sunstone server cannot working,<br>
on mozilla firefox 8 error >>> WebSock error: [object Event]<br>
on chrome error >> connection time out >> server disconected<br>
<br>
please help me<br>
<br>
thnks<br>
<br>
-- Regards,<br>
<br>
Dian Djaelani<br></div>
<a href="mailto:djaelani@maxindo.net.id" target="_blank">djaelani@maxindo.net.id</a> <mailto:<a href="mailto:djaelani@maxindo.net.id" target="_blank">djaelani@maxindo.net.<u></u>id</a>><br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a> <mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.<u></u>opennebula.org</a>><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><div><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></blockquote><div><div>
<br>
<br>
-- <br>
Regards,<br>
<br>
Dian Djaelani<br>
<a href="mailto:djaelani@maxindo.net.id" target="_blank">djaelani@maxindo.net.id</a><br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>