[one-users] noVNC problems AND question about VM images [OpenNebula 3.2.0 on openSUSE]

Hector Sanjuan hsanjuan at opennebula.org
Tue Mar 13 03:38:23 PDT 2012


Hello,

about your noVNC problem, please comment the TIGHT_PNG line in
/usr/lib/one/sunstone/public/vendor/noVNC/include/rfb.js:

        encodings      = [
            ['COPYRECT',         0x01 ],
-        ['TIGHT_PNG',        -260 ],
+        //['TIGHT_PNG',        -260 ],
            ['HEXTILE',          0x05 ],
            ['RRE',              0x02 ],
            ['RAW',              0x00 ],

More info https://github.com/kanaka/noVNC/issues/41

Hector


En Sat, 10 Mar 2012 16:25:22 +0100, biro lehel <lehel.biro at yahoo.com>
escribió:

> Hello again,
>
> First of all, thank you for all your feedback and help so far, it's been  
> immense! Also, Hector, you
>  were right in the previous email, the monitoring info is now fine,  
> after I started the oneacctd daemon (I simply forgot to restart it after  
> some continuous reboots, stupid me). That single error message with the  
> earlier timestamp
>  is still there, but it doesn't seem to bother, so I guess it is not  
> crucial.
>
> My current issue is the following: I managed to create a VM using the  
> ttylinux image provided by you, and following the documentation at [1].  
> Everything went fine, the VM reached its running state, and I managed to  
> passwordlessly ssh into it. However, I wanted to try the noVNC  
> functionality, since I would probably use (at least) a graphical console  
> to my VM's in the future. I installed noVNC with install_novnc.sh  
> (succeeded), added the necessary GRAPHICS section to ttylinux.one  
> template:
>
> GRAPHICS=[
>   LISTEN=0.0.0.0,
>   TYPE=vnc ]
>
> , and recreated the VM. As expected, the VNC icon turned active in  
> Sunstone, however, clicking on it resulted in the following error  
> message:
>
> WebSock error: Illegal basic compression received, ctl: 96
>
> I'm not sure, but I guess I have to make some kind of
>  VNC-related
>  configurations
>  on my host machine, but I didn't want to do anything drastic (and also,  
> I have to leave the computers soon), until I ask for your opinions. The  
> firewall on my host is disabled. Any suggestions about what shall I do?
>
>
> Also, and more importantly: my current set-up with the ttylinux VM went  
> smoothly and without errors. However, in the future, I want to use VM's  
> that use other images (preferably, a fresh openSUSE 12.1 -or 11.4-  
> install image). And, it mind sound like a 'noob' question, but I'm not  
> sure how exactly these image files are created, so that at the end I  
> obtain something like an openSUSE_<version>.img file.
> So, my question is, what should I do, in order to obtain the respective  
> image file, that I would be able to use like the provided ttylinux.img  
> file? Do I have to create it
>  somehow, or are there other method to get/download it? I do have an  
> installation DVD for both 11.4 and 12.1 versions, if it helps. Also,  
> does the created VM need to have something specific installed / some  
> specific configurations done BEFORE the VM deployment (I mean the way in  
> which the image file is created), or any simple "fresh" (empty, basic)  
> install image will do?
>
> Since my two main questions are unrelated, I would gladly accept any  
> suggestions or opinions on any of them.
>
> Thank you, and have a great weekend,
> Lehel.
>
> [1] http://opennebula.org/documentation:rel3.2:vmg


-- 
Hector Sanjuan
OpenNebula Developer



More information about the Users mailing list