Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5/javascript X11 server?

We have an application which consumes a large amount of data. Currently a desktop app, but we would like to deliver it via the browser.

It doesn't make sense to me to create a web app where we need to transfer a ll the data used for the visualizations.

We're looking at RDP and some products out there that provide RDP access via a fully javascript client. They seem to work well with our app, but I've been thinking about what it would take to move off Windows.

Switching the front end so that it could run under Linux would not be trivial, but not impossible, so the main stumbling block would be delivery.

I was wondering if there are any X11 javascript servers out there, but have not found any leads.

like image 941
bpeikes Avatar asked Oct 24 '13 04:10

bpeikes


People also ask

What is X11 display server?

X11 is a remote-display protocol used by Linux/Unix machines, including the Linux machines at Thayer. By running an X11 program (known as a server) on your computer, you can access graphical Linux programs remotely through an SSH client.

What is X11 server Linux?

The X Window System (also known as X11, or simply X) is a client/server windowing system for bitmap displays. It is implemented on most UNIX-like operating systems and has been ported to many other systems.

What is Xserver used for?

The X server manages the X clients and does the actual work in terms of managing input and display devices and performing requested operations. This simplifies programming, as the application programs themselves do not need to be aware of the hardware details and just rely entirely on the X server.


2 Answers

Use xpra's builtin html5 client, it supports any application you can run on an X11 desktop.

like image 192
totaam Avatar answered Sep 28 '22 06:09

totaam


AFAIK, recent GTK has been ported to HTML5+Javascript in Gtk Broadway

And you could make your application a web application, for instance by using Wt, or by making it an HTTP server thru specialized HTTP server libraries like libonion, libmicrohttpd etc.

By using AJAX techniques (e.g. thru jquery) your application won't transmit all the display data to the browser at once (but only incrementally and only the actually shown data).

You might also consider fastcgi as a way to connect your application to some web server.

like image 30
Basile Starynkevitch Avatar answered Sep 28 '22 06:09

Basile Starynkevitch