3 ms·
Could this awesome work be used to getting X11 running in the browser?
by sitkack 5y ago
Could this awesome work be used to getting X11 running in the browser?
- waddlesplash 5y agoNo. As I noted to another commenter, this makes heavy and direct use of the Haiku APIs to do basically everything. Haiku actually does have a full draw-call-forwarding remote desktop system, with an HTML5 client to boot, and you could run this through that, but it's kind of "experimental". For straight X11, using something like Xpra with a HTML5 client is probably what you want.
- loxias 5y agoYou want X11 in the browser? Mind if I ask why, what you would use it for, etc? (I ask because, as a side project I've been working on something that lets me have a more responsive laptop by offloading resource intensive graphical programs to another machine, and streaming the UI back to me. I guess it could be made to run in a browser.)
- marwis 5y agoMight be useful for porting some classic X programs to Web.
- sitkack 5y agoYeah, I have been playing with RDP/remote desktop solutions in Docker for the same need. Another option is using something like the Phoenix framework in Elixir. https://www.phoenixframework.org/ https://www.phoenixframework.org/ What techniques are you using, is remote desktop or a new desktop application framework?
- toast0 5y agoI do believe this page has an X server in the browser, or at least it strongly appears to: https://magcius.github.io/xplain/article/x-basics.html https://magcius.github.io/xplain/article/x-basics.html
- sitkack 5y agoI not even done reading the page and fully understanding this, but my mind is blown. > That's because this isn't just any old stipple image, that stipple is actually the background of a full X server session running in your browser using HTML5 canvas. Thank you!