Comment by Cu3PO42

Comment by Cu3PO42 14 hours ago

4 replies

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.

p0w3n3d 14 hours ago

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

  • Cu3PO42 14 hours ago

    Not in the same way that X does. However, Microsoft specifically implemented an RDP backend into Weston, which ships with WSL2. So the Linux Windows you see are actually being sent over RDP transparently.

okanat 14 hours ago

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

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