Skip to main content

Playground

Everything on this page runs in your browser: the panel on the right is a real X session served by the pure-JavaScript X server that ships with this repository, composited to a canvas. The editor holds ordinary node-x11 client code — the same code you would run in node against a real display — connected through a custom DISPLAY transport (demo/local:0). Edit it and press Run.

Hello window

Create and map a window with a title and background, then draw a greeting.

Loading live demo…