[one-users] novnc problem
davood ghatreh
davood.gh2000 at gmail.com
Fri Dec 2 03:29:44 PST 2011
Dear Dian,
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.
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?
at las, you should see what the perl says when you are trying to connect.
to do so, again check the processes:
ps aux |grep VNC
you'll get something like this:
oneadmin 24346 0.0 0.2 249764 10632 ? S 21:19 0:00 python
/usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908
then kill the task by:
kill 24346
then run the task by oneadmin user:
su oneadmin
python /usr/share/one/noVNC/utils/wsproxy.py 35784 yourMTSname:5908
then you will see following:
[root at gui 21]# python /usr/share/one/noVNC/utils/wsproxy.py 35784
yourMTSname:5908
WebSocket server settings:
- Listen on :35784
- Flash security policy server
- No SSL/TLS support (no cert file)
- proxying from :35784 to yourMTSname:5908
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.
Thanks
Davood
On Fri, Dec 2, 2011 at 2:48 PM, Dian Djaelani <djaelani at maxindo.net.id>wrote:
> thanks for answer davood,
> before i'`am send email i check all same on your answer, telnet no problem
> it's connected
> but on mozilla and chrome it's not working
>
> i think can vnc only in same network, maybe it wrong in my vmnet template,
> becouse from public cannot replay icmp and etc
> can you tell me template vmnet with gateway and netmask, i tray on
>
> davood ghatreh wrote:
>
>> Hi Dian,
>>
>> you can troubleshoot this problem easily.
>>
>> First of all, read documents about setting up noVNC in opennebula website.
>> After making sure that you ran scripts without any problem, check to see
>> if there is any noVNC running in the server:
>>
>> one the oned node (OpenNebula server), run this:
>>
>> ps aux |grep VNC
>>
>> you should see something like this:
>>
>> oneadmin 24346 0.0 0.2 249764 10632 ? S 21:19 0:00 python
>> /usr/share/one/noVNC/utils/**wsproxy.py *35784 yourMTSname*:*5908*
>>
>> 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*:***5908)* replies or not.
>> to do so, simply run a telnet in oned server:
>>
>> telnet *yourMTSname **5908*
>>
>>
>> it should reply something like this
>>
>> Trying 192.168.0.4...
>> Connected to mts4.ircloud.net <http://mts4.ircloud.net>.
>>
>> Escape character is '^]'.
>> RFB 003.008
>>
>> 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:
>>
>> netstat -antpe |grep *5908*
>>
>>
>>
>> These steps was just to troubleshoot, and you can find where the problem
>> is.
>>
>> Thanks
>> Davood
>>
>> On Fri, Dec 2, 2011 at 1:48 PM, Dian Djaelani <djaelani at maxindo.net.id<mailto:
>> djaelani at maxindo.net.**id <djaelani at maxindo.net.id>>> wrote:
>>
>> hello any can help me ???
>> on my project opennebula novnc in sunstone server cannot working,
>> on mozilla firefox 8 error >>> WebSock error: [object Event]
>> on chrome error >> connection time out >> server disconected
>>
>> please help me
>>
>> thnks
>>
>> -- Regards,
>>
>> Dian Djaelani
>> djaelani at maxindo.net.id <mailto:djaelani at maxindo.net.**id<djaelani at maxindo.net.id>
>> >
>>
>> ______________________________**_________________
>> Users mailing list
>> Users at lists.opennebula.org <mailto:Users at lists.**opennebula.org<Users at lists.opennebula.org>
>> >
>> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>
>>
>>
>>
>>
>> ______________________________**_________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>>
>
>
> --
> Regards,
>
> Dian Djaelani
> djaelani at maxindo.net.id
>
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111202/839018f8/attachment-0003.htm>
More information about the Users
mailing list