xpra icon
Bug tracker and wiki

Changes between Version 24 and Version 25 of Clients/HTML5


Ignore:
Timestamp:
12/17/19 04:27:56 (5 weeks ago)
Author:
Antoine Martin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Clients/HTML5

    v24 v25  
    22= HTML5 Client =
    33
    4 To setup your xpra server with HTML5 support:
    5 * you must have [https://github.com/kanaka/websockify websockify] installed
    6 * use both the {{{bind-tcp=...}}} and the {{{html=on}}} flags on the command line, ie:
     4The {{{xpra-html5}}} package should have been installed automatically when you installed xpra.
     5
     6To setup your xpra server with HTML5 support, simply start a server with a TCP socket ({{{bind-tcp=...}}}) or a websocket ({{{bind-ws=...}}}), ie:
    77{{{
    8 xpra start --bind-tcp=0.0.0.0:14500 --html=on --start=xterm
     8xpra start --bind-tcp=0.0.0.0:14500 --start=xterm
    99}}}
    1010You can then point your browser to [http://localhost:14500/] and the xterm should appear in your browser window.
     
    3939http://localhost:14500/index.html?username=test&password=123456
    4040}}}
     41When using the [https://xpra.org/html5/connect.html connect page], the credentials are not sent to the server. The javascript client handles authentication client side using HMAC.
    4142}}}
    4243
     
    4849
    4950== AES ==
    50 Alternative (no longer supported): the following commands will setup an HTML5 server with AES encryption and password authentication then launch a browser and connect to it:
     51Alternative: the following commands will setup an HTML5 server with AES encryption and password authentication then launch a browser and connect to it:
    5152{{{
    5253PASSWORD=YOURPASSWORD