Code Monkey home page Code Monkey logo

xpra-html5's Introduction

HTML5 client for Xpra

Simply point your browser to the contents of the html5 folder, and you will get an HTML5 client which you can use to connect to any xpra server.

This client is usually packaged as xpra-html5 and the xpra server will normally pick it up automatically so that you can access it using the builtin web server.

Sample Screenshot

Here is a xpra seamless session with an xterm and glxspheres shown running in Google Chrome: xterm session

Installation

The xpra repositories and packages already include the html5 client.
Just install xpra-html5 from there.


To install from source:

sudo apt install uglifyjs
git clone https://github.com/Xpra-org/xpra-html5
cd xpra-html5
./setup.py install

On Linux, this will install the html5 client in /usr/share/xpra/www which is where the xpra server expects to find it.

To install with Nginx or Apache, you may need to change the installation path to something like /var/www/html/.

To generate your own RPMs or DEBs, just run: ./setup.py rpm or ./setup.py deb.

Usage

Simply start an xpra session on a specific TCP port (ie: 10000):

xpra start --start=xterm --bind-tcp=0.0.0.0:10000

Then you can access this session with your browser by pointing it to that port. ie locally:

xdg-open http://localhost:10000/

For more information on xpra server options, please refer to the xpra project.

Configuration

Most common HTML5 client options can be specified from the connect dialog form, which is found at /connect.html.
connection to proxy This screenshot shows the dialog when loaded from a proxy server which is able to populate more connection options.

Failures to connect to a server from the default page should also redirect to this connection dialog page automatically.

All of the options can also be specified as URL parameters. ie:

http://localhost:10000/?username=foo&keyboard_layout=fr

For a more complete list of options, see configuration options
The advanced options of the connection dialog exposes some of them: connection to proxy

Compatibility

This client is compatible with any currently supported version of xpra.

xpra-html5's People

Contributors

totaam avatar joshiggins avatar jancvanb avatar basilgello avatar tijzwa avatar danisla avatar jhgoebbert avatar andersevenrud avatar arrowd avatar oskarbraten avatar oeway avatar cpatulea avatar manorit2001 avatar mkresin avatar mdavidsaver avatar idmple avatar open-contracts avatar timeu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.