xpra icon
Bug tracker and wiki

Version 5 (modified by Antoine Martin, 5 years ago) (diff)

--

HTML5 Client

You can access the current version of the HTML5 client here: http://xpra.org/html5/connect.html.

To setup your xpra server with HTML5 support:

  • you must have websockify installed
  • use both the bind-tcp=... and the html=on flags on the command line, ie:
    xpra start --bind-tcp=0.0.0.0:10000 --html=on --start-child=xterm
    

You can then point your browser to http://localhost:10000/ and the xterm should appear in your browser window.

Note: you probably want to add authentication, etc.

This client is still a work in progress, see #473 and #850.

Password Authentication

You can use authentication by supplying the values on the URL.

Connecting to a server started with:

echo -n 123456 > ./password.txt
$ xpra start --bind-tcp=0.0.0.0:10000 --start-child=xterm --password-file=./password.txt --auth=file --html=on

As user test, you can then connect with the following URL:

http://localhost:10000/index.html?username=test&password=123456

Using AES encryption is also possible, but not documented - sorry!