<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 May 2013 08:34, Rolandas Naujikas <span dir="ltr"><<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.vu.lt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 2013-05-09 18:09, Daniel Molina wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
Hi Rolandas,<br>
<br>
<br>
On 9 May 2013 13:50, Rolandas Naujikas <<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.vu.lt</a><br></div><div class="im">
<mailto:<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.<u></u>vu.lt</a>>> wrote:<br>
<br>
Hi,<br>
<br>
I found that sunstone VNC console (noVNC) doesn't use secure<br>
websockets even if it is configured and an user is configured to use<br>
it. With vnc_proxy_support_wss=always it refuses to show, with<br>
vnc_proxy_support_wss=yes it uses only unsecured connection.<br>
<br>
<br>
Could you try if this change fixes the problem?<br>
<br>
diff --git a/src/sunstone/sunstone-<u></u>server.rb<br>
b/src/sunstone/sunstone-<u></u>server.rb<br>
index 4934908..0bb8826 100755<br>
--- a/src/sunstone/sunstone-<u></u>server.rb<br>
+++ b/src/sunstone/sunstone-<u></u>server.rb<br>
@@ -290,7 +290,7 @@ get '/config' do<br>
uconf = {<br>
:user_config => {<br>
:lang => session[:lang],<br>
- :wss => session[:wss],<br>
+ :wss => session[:vnc_wss],<br>
},<br>
:system_config => {<br>
:marketplace_url => $conf[:marketplace_url],<br>
</div></blockquote>
<br>
I just checked, but it didn't work. The following patches solved this problem:<br>
<br>
-- sunstone/sunstone-server.rb.<u></u>orig 2013-05-08 18:52:39.000000000 +0300<br>
+++ sunstone/sunstone-server.rb 2013-05-10 09:28:30.000000000 +0300<div class="im"><br>
@@ -290,7 +290,7 @@ get '/config' do<br>
uconf = {<br>
:user_config => {<br>
:lang => session[:lang],<br>
- :wss => session[:wss],<br></div>
+ :vnc_wss => session[:vnc_wss],<div class="im"><br>
},<br>
:system_config => {<br>
:marketplace_url => $conf[:marketplace_url],<br>
<br></div>
--- sunstone/public/js/plugins/<u></u>vms-tab.js.orig 2013-05-08 18:52:39.000000000 +0300<br>
+++ sunstone/public/js/plugins/<u></u>vms-tab.js 2013-05-10 09:28:41.000000000 +0300<br>
@@ -2887,7 +2887,7 @@ function setupVNC(){<br>
<br>
function vncCallback(request,response){<br>
rfb = new RFB({'target': $D('VNC_canvas'),<br>
- 'encrypt': $('#config_table #wss_checkbox').is(':checked')<u></u>,<br>
+ 'encrypt': config['user_config']['vnc_<u></u>wss'] == "yes",<br>
'true_color': true,<br>
'local_cursor': true,<br>
'shared': true,<br></blockquote><div><br></div><div style>Thank you for the patch, I have included it in the ticket:</div><div style><a href="http://dev.opennebula.org/issues/2013">http://dev.opennebula.org/issues/2013</a><br>
</div><div style><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Regards, Rolandas Naujikas<br>
<br>
P.S. Do exists some way to disable all animations in sunstone pages ? They slows down GUI on remote connections (remote desktop or X11) ?<br></blockquote><div><br></div><div style>What kind of animations do you mean?</div>
<div style><br></div><div style>Cheers</div><div><br></div></div><div><br></div>-- <br><div dir="ltr"><div>Join us at <a href="http://opennebulaconf.com/" target="_blank">OpenNebulaConf2013</a> in Berlin, 24-26 September, 2013<br>
</div><div>--</div>Daniel Molina<br>Project Engineer<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div></div>