html5 spice 虚拟桌面,SpiceHTML5 | oVirt

Feature pages are design documents that developers have created while collaborating on oVirt.

Most of them are outdated, but provide historical design context.

They are not user documentation and should not be treated as such.

Documentation is available here.

Spice HTML5

Summary

This feature adds spice-html5 console to the engine. spice-html5 is a spice answer to novnc webbrowser console client. spice-html5 is still a little bit experimental yet under active development. Similarly to the novnc, spice-html5 uses websockets to communicate with websocket proxy which talks directly to spice server.

Owner

Name: Frank Kobzik (Fkobzik)

Design

The design, architecture and implementation is almost same as the noVNC case. That means:

we use same (modified) websocket proxy python-websockify

we make use of external package with the client (spice-html5) and slightly modified client page that is served by jboss

For more info please visit Features/noVNC_console

Note: In future the websockets support for SPICE will be implemented in QEMU. When this happens, the implementation of spice-html5 in the engine should use this feature instead of using websocket proxy.

However, there is one difference, which is worth noting - in VNC case, there is only one port which the clients connects to. With SPICE, there is secured port and unsecured one. If the client is using the secured one, it is required to pass this information to websockify. This information is passed in the url path.

Testing

Test case 1 - Websocket Proxy on the engine’s machine

Prerequisities: Browser that has proper websockets and postmessage support (tested with FF and Chrome)

Install the engine and in the engine-setup answer ‘Yes’ to ‘Configure websocket proxy on the machine’

Import CA of the engine in your browser

Set up a VM as usual, set its Display Type to SPICE and run it.

In Console Options dialog, select ‘SPICE HTML5 browser client’

Click the console button to invoke the console.

(The console opens in a new tab and this behavior is usualy blocked by browsers. For opening the console you must allow displaying pop-up windows from engine’s domain.)

Results: The new browser tab with spice-html5 session appears.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值