Comment by swiftcoder

6 months ago

Can you not use the X11 server packaged with WSL as your display driver, and avoid piping this all into the web browser?

Seems very inefficient to have to render everything through the browser

WSL doesn't have an X Server, it has a Wayland compositor. That said, yes, you can use that. You can even run a different compositor nested so you get one single window with a desktop if you want.

  • Ah wayland. Many things changed since the time I've been using Linux in my professional work. However does Wayland support connectivity? I.e. can you display Wayland session on another computer via TCP/UDP? If not then Wayland won't work with wsl2 which is basically a VM

  • > WSL doesn't have an X Server, it has a Wayland compositor

    Which has Xwayland support. You can still run X11 apps.