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