Skip to content
a html5 client for the spice protocol
Branch: master
Clone or download
cbosdo and jwhite66 More reliable mouse position reporting
Depending on the structure of the page, the computed mouse position was
not correct. Typically the case happend when there is no offset between
the canvas and the view area, but an offset on the view area.

The MouseEvent.offsetX and offsetY functions are now widely enough spread
to use them and avoid complex computations.
Latest commit 54755c2 Feb 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src More reliable mouse position reporting Feb 15, 2019
.gitignore Generate package.json from the Makefile. Feb 14, 2019
COPYING initial Jun 4, 2012
COPYING.LESSER initial Jun 4, 2012
Makefile Generate package.json from the Makefile. Feb 14, 2019
README Fixed trailing whitespaces in several files Sep 28, 2016
TODO
apache.conf.sample No longer install apache.conf, just put it in the doc folder. Feb 20, 2013
package.json.in Generate package.json from the Makefile. Feb 14, 2019
spice-html5.spec.in Prepare for the 0.17 release Aug 17, 2016
spice.css Hide the message console by default. Feb 14, 2019
spice.html Hide the message console by default. Feb 14, 2019
spice_auto.html Prompt password in spice_auto.html Feb 14, 2019

README

Spice Javascript client

Instructions and status as of August, 2016.

Requirements:

  1.  Modern Firefox or Chrome (IE will work, but badly)

  2.  A WebSocket proxy

      websockify:
        https://github.com/kanaka/websockify
      works great.

      Note that a patch to remove this requirement has been submitted
      to the Spice project but not yet been accepted.  Refer to this email:
      https://lists.freedesktop.org/archives/spice-devel/2016-June/030552.html

  3.  A spice server


Optional:
  1.  A web server

      With firefox, you can just open file:///your-path-to-spice.html-here

      With Chrome, you have to set a secret config flag to do that, or
      serve the files from a web server.


Steps:

  1.  Start the spice server

  2.  Start websockify; my command line looks like this:
        ./websockify 5959 localhost:5900

  3.  Fire up spice.html, set host + port + password, and click start


Status:

  The TODO file should be a fairly comprehensive list of tasks
  required to make this client more fully functional.
You can’t perform that action at this time.