<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi all,<br>
<br>
I have a problem to start VNC session from Sunstone interface.<br>
<br>
I have Ubuntu 12.04 Server with Opennebula 3.8.1 installed, the
newest version of noVNC (no error message), restarted oned,
sunstone-server and occi-server too. <br>
<br>
After restarting, the python processes are:<br>
<tt><small>oneadmin@myto-node:/usr/share/opennebula$ ps aux|grep
python<br>
nova 5838 0.0 0.2 118608 23796 ? S 09:56 0:00
python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
--web /usr/share/novnc/<br>
oneadmin 6835 0.4 0.1 93068 16816 pts/1 S 10:09 0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876<br>
oneadmin 6857 0.7 0.1 93064 16820 pts/1 S 10:09 0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/selfservice_vnc_tokens 33876<br>
oneadmin 6869 0.0 0.0 9516 908 pts/1 S+ 10:10 0:00
grep python</small></tt><br>
<br>
When I try to start VNC session <b>from OCCI interface - everything
works, VNC session is established</b>.<br>
If I try to start VNC session to the same VM from SUNSTONE
interface, a message "Server disconnected (code: 1006)" occurs
immediately and python processes are changed:<br>
<tt><small>oneadmin@myto-node:/usr/share/opennebula$ ps aux|grep
python<br>
nova 5838 0.0 0.2 118608 23796 ? S 09:56 0:00
python /usr/bin/nova-novncproxy --flagfile=/etc/nova/nova.conf
--web /usr/share/novnc/<br>
oneadmin 6835 0.2 0.1 93068 16920 pts/1 S 10:09 0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876<br>
oneadmin 6857 0.3 0.1 93064 16820 pts/1 S 10:09 0:00
python /usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/selfservice_vnc_tokens 33876<br>
oneadmin 6942 0.0 0.0 0 0 pts/1 Z 10:10 0:00
[python] <defunct><br>
oneadmin 6944 0.0 0.0 9516 912 pts/1 S+ 10:10 0:00
grep python<br>
</small></tt><br>
File /var/log/one/sunstone.error is empty, <br>
the file /var/log/one/sunstone.log starts with:<br>
<tt><small>--------------------------------------<br>
Server configuration<br>
--------------------------------------<br>
{:vnc_proxy_cert=>nil,<br>
:vnc_proxy_support_wss=>false,<br>
:vnc_proxy_path=>"/usr/share/opennebula/websockify/websocketproxy.py",<br>
:one_xmlrpc=><a class="moz-txt-link-rfc2396E" href="http://localhost:2633/RPC2">"http://localhost:2633/RPC2"</a>,<br>
:vnc_proxy_base_port=>29876,<br>
:vnc_proxy_key=>nil,<br>
:core_auth=>"cipher",<br>
:host=>"0.0.0.0",<br>
:tmpdir=>"/var/tmp/one",<br>
:marketplace_url=><a class="moz-txt-link-rfc2396E" href="https://marketplace.c12g.com/appliance">"https://marketplace.c12g.com/appliance"</a>,<br>
:debug_level=>3,<br>
:port=>9869,<br>
:lang=>"en_US",<br>
:auth=>"sunstone"}<br>
Tue Nov 06 10:09:42 2012 [I]: Starting VNC proxy: python
/usr/share/opennebula/websockify/websocketproxy.py
--target-config=/var/lib/one/sunstone_vnc_tokens 29876</small></tt><br>
<br>
and ends with:<br>
<tt><small>Tue Nov 06 10:27:12 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:12] "POST /vm/88/startvnc HTTP/1.1" 200 48 0.0068<br>
Tue Nov 06 10:27:12 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:12] "GET /user?timeout=true HTTP/1.1" 200 3416 0.0062<br>
Tue Nov 06 10:27:13 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:13] "GET /vm?timeout=true HTTP/1.1" 200 24160 0.0203<br>
Tue Nov 06 10:27:15 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:15] "GET /cluster?timeout=true HTTP/1.1" 200 338 0.0038<br>
Tue Nov 06 10:27:26 2012 [I]: 10.0.1.125 - - [06/Nov/2012
10:27:26] "GET /image?timeout=true HTTP/1.1" 200 14143 0.0757<br>
</small></tt><br>
Paths to files looks to be correct - which could be an issue?<br>
<br>
Jan<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<font size="3" face="Helvetica"> <img alt=""
src="cid:part1.06040905.08010905@atos.net" width="252"
height="15"><br>
<b>Ján Beňadik</b><br>
<font size="2" face="Helvetica"> Managed Services - Solution
Design Architect<br>
mobile: +421 903 691 634<br>
fax: +421 2 6852 8380<br>
<a href="mailto://jan.benadik@atos.net">jan.benadik@atos.net</a><br>
Vinohradnicka 6, 971 01 Prievidza<br>
<a href="http://www.sk.atos.net">www.sk.atos.net</a><br>
__________________________________<br>
<br>
<img alt="" src="cid:part4.02050206.01030508@atos.net"
width="261" height="58"><br>
</font> </font></div>
</body>
</html>