We have a couple of questions from a user. The first one is about putting a password for VNC on the VM template. We tried it by just adding a password on the VM template but it seems it is not working. Therefore, I would like to ask if someone has any experience with it. I guess for getting this it is necessary to make some configuration on the sunstone server or on the OpenNebula hosts.
The second question is about changing the resolution of the VNC session, is that possible? We tried it with xrandr command but it did not work. Does also have any experience with this?
Is quite easy to set the VNC/SPICE pass in your VM template. If the user is able to modify the template he/she has to add PASSWD line into GRAPHICS section:
We have used both configurations in the template for instantiating the VM but when we access to the VM through the OpenNebula VNC, it does not ask any password, so I am not sure what I am missing on the configuration.
Thanks for answer! Read this doc but can’t see info about where I can see generated password and why oneadmin can connect via VNC to any client VM. Its not secure.