[one-users] grant access to sunstone vnc for user's vm

Gary S. Cuozzo gary at isgsoftware.net
Thu Mar 28 08:11:16 PDT 2013


Ok, I looked at this a bit more. I killed the websocket server and started a new one via a shell so I can see the output. When I login as my main admin user, I can click on a vm and view the vnc console. I see this logged by websocket to stdout: 

1: 74.94.xxx.xx: SSL/TLS (wss://) WebSocket connection 
1: 74.94.xxx.xx: Version hybi-13, base64: 'True' 
1: 74.94.xxx.xx: Path: '/?token=nafe4fgtywxlqjnrf68m' 
1: connecting to: vmhost:6146 

I then use a separate browser session and login as my regular user. When I click the vnc icon, nothing is logged by the websocket server. Sunstone GUI reports a startvnc request is made. I see in the sunstone.log file this entry: 

Thu Mar 28 11:08:13 2013 [I]: 127.0.0.1 - - [28/Mar/2013 11:08:13] "POST /vm/245/startvnc HTTP/1.0" 200 48 0.0483 

Is there a way I can find out more specifically what happens during the /vm/245/startvnc request? 

Thanks, 
gary 








I am trying to give another user access to the VNC console to their VM in sunstone. Here is what I tried: 
* give the user a login using their email address as username & a password 
* create a unique group and add the new user to the group 
* set user/group ownership for image/template/vm to the new user & group 
* set permissions for user & group to "use" for each image/template/vm 

When I try to login as the new user, I can see the resources in sunstone. The "vnc access" icon for the VM is enabled. I can click it, but nothing at all happens. No window pops up, nothing in the log, no error. 

Can somebody let me know if I'm doing something wrong and what the proper process to give access to a user? 

I'm using ONE 3.8.1. 

Thanks in advance, 
gary 




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130328/a63afa94/attachment-0002.htm>


More information about the Users mailing list