1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-01-24 02:03:52 +03:00

6 Commits

Author SHA1 Message Date
Hector Sanjuan
0449177b85 Feature #1076: Add VNC support in SelfService.
When enabled in the occi server configuration file, UI users will be able to click the VNC icon that appears in the VM information.

Then the websockets proxy will be set up, provided that the machine has been configured with the appropiate GRAPHICS section etc. This must be done in the OCCI templates, and cannot be done by the UI user.

Wss sessions can be configured in the occi server configuration file. Unlike Sunstone, here they are transparent to the user and whenever they are enabled VNC sessions will be launched using wss:// automaticly. As such, it is not up to the user to choose the type of connection, and it fully depends on the server configuration.

Additionally the install_novnc.sh script has been updated and improved. The install.sh has been updated too.
(cherry picked from commit 4ccaf9704a5d415e4979bbf53dce263d2c1e7cdb)
2012-02-13 17:51:51 +01:00
Hector Sanjuan
589e19142c Feature #1069: Support secure-websocket-based VNC session in Sunstone.
This commit adds support for using wss capabilities of websockify:
* Add configuration option to Sunstone and saving/restore in user template support
* Add new options to sunstone server configuration file
* VNC session is started according to user setting
* The code related to VNC proxy launch has been outsourced to OpenNebulaVNC.rb, so it can be mantained more easily and reused by, for example, SelfService.
* Install novnc script has been corrected to point to "websockify" full path.

Note: this commit changes vnc-related sunstone-server.conf keys and breaks vnc support in former versions of the configuration file. Update if necessary.
(cherry picked from commit 00cf42e6b685a5ab26ca02d0eb142c311f56f6ee)
2012-02-13 16:21:17 +01:00
Daniel Molina
2622a80d2f bug #831: Adapt novnc installer to the new yaml configuration format 2011-09-26 15:13:45 +02:00
Ruben S. Montero
8e08923e73 bug: Update permissions of noVNC comand line utils 2011-07-12 23:47:20 +02:00
Daniel Molina
ef9755ef32 Change NOVNC_PATH sed expression to replace the whole line 2011-05-18 11:35:01 +02:00
Daniel Molina
705bf60145 feature #564: Add install_novnc script 2011-05-13 18:22:14 +02:00