xpra icon
Bug tracker and wiki

Version 8 (modified by Antoine Martin, 4 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= --html=on --start-child=xterm

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

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

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= --start=xterm --html=on \
    --auth=file --password-file=./password.txt

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



The following commands will setup an HTML5 server with AES encryption and password authentication then launch a browser and connect to it:

echo -n $PASSWORD > password.txt
echo -n $AES_KEY > aes.txt
xpra start :10 --bind-tcp= --html=on --start=xterm \
    --auth=file --password-file=`pwd`/password.txt \
    --tcp-encryption=AES --tcp-encryption-keyfile=`pwd`/aes.txt
sleep 5
xdg-open "http://localhost:10000/index.html?username=$USER&password=$PASSWORD&encryption=AES&key=$AES_KEY"