farribeiro / wscef-docker

Warsaw in docker container
MIT License
64 stars 23 forks source link

Wayland support #17

Closed farribeiro closed 6 years ago

farribeiro commented 7 years ago

Hybrid solution for switching xorg to wayland X server

Link to #13

lbssousa commented 7 years ago

Major desktop environments running on Wayland (GNOME, Plasma) spawn a XWayland server for launching legacy X11 apps. I've tested your image in GNOME over Wayland and it starts correctly a Firefox browser on top of XWayland. The only difference is that XWayland is not started in "autheticated mode", then it's not necessary to set XAUTHORITY, recreating xauth file under container, etc.

If you really want to run Firefox over Wayland compositor, you can try the method described here.

Another possibility is the use of a third-party solution like x11docker.

[EDIT] I think it's now better to replace docker-compose.yml with an opinionated shell script to start the container with the appropriate flags depending of context (X11 + XAUTHORITY, X11 only, host mode, etc.).

farribeiro commented 7 years ago

I want to make ready for wayland.

In case the distros switch to wayland. I see and thinking flavour of any distros isn't have the wayland activated but default/official ISO, in Gnome DE most cases is activated.

The XWayland converts the legacy application protocols to wayland protocols? I think the conversion isn't a hybrid solution, over support legacy protocol directly.

And over wayland the application have improvements performance? Security?

lbssousa commented 7 years ago

The XWayland converts the legacy application protocols to wayland protocols?

Sort of. XWayland is a X11 server that runs on top of a Wayland compositor, analogous to Xephyr, Xming/VcXsrv (for Windows) or XQuartz (for macOS).

farribeiro commented 7 years ago

@lbssousa Have a firefox port for wayland, in Google I see a fedora port of Nightly, I added a Fedora COPR and too the flatpak but not worked for me

farribeiro commented 6 years ago

I reflected that while there are no programs for wayland protocol. This issue will be closed.