html5 localhost,HTML5 Client

HTML5 Client

Spice has a prototype Web client which runs entirely within a modern browser. It is limited in function, a bit slow, and lacks support for many features of Spice (audio, video, agents just to name a few).

A complete TODO list is kept in the source code.

However, it is surprisingly functional, and certainly a useful proof of concept.

Requirements

The browser must support binary WebSockets as well as the binaryType of arraybuffer. As of June, 2012, Firefox 12 and Chrome >= 18 both provided the required features.

Currently, you must also use a WebSocket proxy, as Spice has no built in support for the WebSocket protocol. websockify works great.

You must, of course, also have a Spice server of some kind. It has been tested primarily against Xspice, but it also works with qemu. However, it works better with linux guests than with Windows guests.

To Try It

The following steps should enable you to use the HTML5 Client:

(optional) Obtain the spice-html5 client. See the git page for more details.

Start your spice server. This is left as an exercise for the reader. For the purposes of this set of instructions, we imagine it is running on your localhost at port 5900.

Start websockify websockify/websockify.py 5959 localhost:5900

Point your browser to spice.html and try it!

Be sure to give the hostname where websockify is running and the port number you provided when starting websockify.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值