[one-users] sunstone problems in opennebula 4.0.0

Rolandas Naujikas rolandas.naujikas at mif.vu.lt
Fri May 10 02:23:01 PDT 2013


On 2013-05-10 12:18, Daniel Molina wrote:
>
>
>
> On 10 May 2013 08:34, Rolandas Naujikas <rolandas.naujikas at mif.vu.lt
> <mailto:rolandas.naujikas at mif.vu.lt>> wrote:
>
>     On 2013-05-09 18:09, Daniel Molina wrote:
>
>         Hi Rolandas,
>
>
>         On 9 May 2013 13:50, Rolandas Naujikas
>         <rolandas.naujikas at mif.vu.lt <mailto:rolandas.naujikas at mif.vu.lt>
>         <mailto:rolandas.naujikas at mif.__vu.lt
>         <mailto:rolandas.naujikas at 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?

For e.g. username -> Settings - a window is going from up to down.
Also for VNC console or to create any object.
It's my preference, I want instant rendering and I don't like if 
something slows me down.

Regards, Rolandas Naujikas

>
> 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 <http://www.OpenNebula.org> | dmolina at opennebula.org
> <mailto:dmolina at opennebula.org> | @OpenNebula




More information about the Users mailing list