[one-users] Problem connecting to VNC console

Hector Sanjuan hsanjuan at opennebula.org
Mon Jun 18 02:09:21 PDT 2012


Hello, do you have 'secure websockets connection' checked in your sunstone  
configuration tab (dashboard->configuration)?

If so, uncheck it. Otherwise check it and uncheck it and try again.

-- 
Hector Sanjuan
OpenNebula Developer

En Fri, 15 Jun 2012 22:56:38 +0200, Chandana De Silva  
<chandana at desilva.id.au> escribió:

> All,
>
> I am still trying to resolve the VNC connection problem I am having.
>
> I am using OpenNebula 3.4 in a single server configuration on Centos 6.2.
>
> I am connecting to the OpenNebule server from my laptop.
>
> I am trying to get a VNC console using the Sunstone "Virtual Machines"  
> page by clicking on the VNC icon.
>
> Sunstone Config: (Note line saying ":vnc_proxy_support_wss: no")
> ----------------------------------------------------------------------------------------------------
> [chandana at glass ~]$ egrep -v "^#|^$" /etc/one/sunstone-server.conf
> :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: 29876
> :vnc_proxy_path: /usr/share/one/noVNC/utils/websockify
> :vnc_proxy_support_wss: no
> :vnc_proxy_cert:
> :vnc_proxy_key:
> :lang: en_US
>
> This is what I see in the Sunstone log when I click on the VNC Icon
> ----------------------------------------------------------------------------------------------------
>> Sat Jun 16 06:26:23 2012 [I]: Starting vnc proxy:  
>> /usr/share/one/noVNC/utils/websockify  35788 glass.dis:5912
>> Sat Jun 16 06:26:23 2012 [I]: 192.168.1.57 - - [16/Jun/2012 06:26:23]  
>> "POST /vm/12/startvnc HTTP/1.1" 200 30 0.0197
>
> If I run the proxy on the command line and click on the VNC icon, I see  
> this on my terminal on the OpenNebula server
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> WebSocket server settings:
>    - Listen on :35788
>    - Flash security policy server
>    - No SSL/TLS support (no cert file)
>    - proxying from :35788 to glass.dis:5912
>
>    1: 192.168.1.57: SSL connection but '/var/lib/one/self.pem' not found
>
> I do not understand why I get the "SSL connection" message when the  
> Sunstone config has ":vnc_proxy_support_wss: no". As far as I can see  
> this is coming from  /usr/share/one/noVNC/utils/websocket.py.
>
> Please help.
>
> Regards
> Chandana
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



More information about the Users mailing list