Basically, Microsoft take a Wayland compositor (Weston) and modify it to add support to enable automatic RDP connection to the Windows host. They also added support to RDP individual application window instead of the full desktop. The result is the Wayland compositor will render the application windows over RDP when you run any GUI app.
pro-tip you can run gimp on WSL2 and have its xwindow appear within windows just like a normal application. The ONLY way to run gimp on windows imo.
https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
How
https://learn.microsoft.com/en-us/windows/wsl/tutorials/gui-apps
Edge for Linux in WSL lmao how many layers do we need
wine not some more?
Here is the WSLg repo if you’re curious about how it works: https://github.com/microsoft/wslg
Basically, Microsoft take a Wayland compositor (Weston) and modify it to add support to enable automatic RDP connection to the Windows host. They also added support to RDP individual application window instead of the full desktop. The result is the Wayland compositor will render the application windows over RDP when you run any GUI app.
Ugly hacks MS made.