udevbe / greenfield

HTML5 Wayland compositor :seedling:
GNU Affero General Public License v3.0
913 stars 28 forks source link

i try get working "wayland of Xwayland" app in browser #57

Closed Zubnix closed 2 years ago

Zubnix commented 3 years ago

@Zubnix i try get working "wayland of Xwayland" app in browser on top of docker, i try demo-site https://greenfield-preview.web.app/ and try run GTK3 demo to get error Remote GTK3 Demo failed to launch. Remote connection failed.

Ok, i try run docker demo, get 502 error, then try make my own docker demo image. For now i stuck on error: XDG_RUNTIME_DIR not set in the environment I think it need some X11 server part. WebGL and WebSHM work fine.

I think be a good for starters make simple docker demo "How to launch xterm/xeyes in browser" to help understand how greenfield may be implemented in infrastructure.

Sorry if i wrong understand propose of greenfield.

Originally posted by @upya4ko in https://github.com/udevbe/greenfield/issues/55#issuecomment-760160913

Zubnix commented 2 years ago

There is now demo compositor implementation as well as more extensive documentation on how to setup a simple session, as well as an example docker-compose.