<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On 10 May 2013 11:23, 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-10 12:18, 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">
<br>
<br>
<br>
On 10 May 2013 08:34, 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>
On 2013-05-09 18:09, Daniel Molina wrote:<br>
<br>
Hi Rolandas,<br>
<br>
<br>
On 9 May 2013 13:50, Rolandas Naujikas<br>
<<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.vu.lt</a> <mailto:<a href="mailto:rolandas.naujikas@mif.vu.lt" target="_blank">rolandas.naujikas@mif.<u></u>vu.lt</a>><br>
</div>
<mailto:<a href="mailto:rolandas.naujikas@mif." target="_blank">rolandas.naujikas@mif.</a><u></u>__<a href="http://vu.lt" target="_blank">vu.lt</a><div class="im"><br>
<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<br>
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></div>
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<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>
+ :wss => session[:vnc_wss],<br>
},<br>
:system_config => {<br>
:marketplace_url => $conf[:marketplace_url],<br>
<br>
<br>
I just checked, but it didn't work. The following patches solved<br>
this problem:<br>
<br></div>
-- sunstone/sunstone-server.rb.__<u></u>orig 2013-05-08<div class="im"><br>
18:52:39.000000000 +0300<br>
+++ sunstone/sunstone-server.rb 2013-05-10 09:28:30.000000000 +0300<br>
<br>
@@ -290,7 +290,7 @@ get '/config' do<br>
uconf = {<br>
:user_config => {<br>
:lang => session[:lang],<br>
- :wss => session[:wss],<br>
+ :vnc_wss => session[:vnc_wss],<br>
<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<br>
18:52:39.000000000 +0300<br>
+++ sunstone/public/js/plugins/__<u></u>vms-tab.js 2013-05-10<div class="im"><br>
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<br></div>
#wss_checkbox').is(':checked')<u></u>__,<br>
+ 'encrypt':<br>
config['user_config']['vnc___<u></u>wss'] == "yes",<div class="im"><br>
'true_color': true,<br>
'local_cursor': true,<br>
'shared': true,<br>
<br>
<br>
Thank you for the patch, I have included it in the ticket:<br>
<a href="http://dev.opennebula.org/issues/2013" target="_blank">http://dev.opennebula.org/<u></u>issues/2013</a><br>
<br>
<br>
Regards, Rolandas Naujikas<br>
<br>
P.S. Do exists some way to disable all animations in sunstone pages<br>
? They slows down GUI on remote connections (remote desktop or X11) ?<br>
<br>
<br>
What kind of animations do you mean?<br>
</div></blockquote>
<br>
For e.g. username -> Settings - a window is going from up to down.<br>
Also for VNC console or to create any object.<br>
It's my preference, I want instant rendering and I don't like if something slows me down.<br></blockquote><div><br></div><div style>You can modify the default value for reveal animation parameter, which is the modal handler</div>
<div style><br></div><div><div>diff --git a/src/sunstone/public/vendor/4.0/foundation/jquery.foundation.reveal.js b/src/sunstone/public/vendor/4.0/foundation/jquery.foundation</div><div>index 4972931..ae63a52 100644</div>
<div>--- a/src/sunstone/public/vendor/4.0/foundation/jquery.foundation.reveal.js</div><div>+++ b/src/sunstone/public/vendor/4.0/foundation/jquery.foundation.reveal.js</div><div>@@ -54,7 +54,7 @@</div><div> * @type {String}</div>
<div> * @default fadeAndPop</div><div> */</div><div>- animation: 'fadeAndPop',</div><div>+ animation: 'none',</div><div> /**</div><div> * Speed at which the reveal should show. How fast animtions are.</div>
<div> *</div></div><div><br></div><div style>or include the option:</div><div style> dialog.reveal({animation : 'none'})</div><div style>each time the reveal method is called</div><div style><br></div>
<div style>Hope this helps</div><div><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>
<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>
Cheers<br>
<br>
<br>
--<br>
Join us at OpenNebulaConf2013 <<a href="http://opennebulaconf.com/" target="_blank">http://opennebulaconf.com/</a>> in Berlin,<div class="im"><br>
24-26 September, 2013<br>
--<br>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - The Open Source Solution for Data Center Virtualization<br>
</div><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> <<a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a>> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a><br>
<mailto:<a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a><u></u>> | @OpenNebula<br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><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>