microsoft / wslg

Enabling the Windows Subsystem for Linux to include support for Wayland and X server related scenarios
MIT License
10.14k stars 303 forks source link

Alternative to VcXsrv/MobaXterm #1047

Open musahi0128 opened 1 year ago

musahi0128 commented 1 year ago

Is your feature request related to a problem:

Nope

Describe the solution you'd like:

Is there any way to use this as alternative to VcXsrv/MobaXterm? What I can think of, if i have a Linux running somewhere and accessible by ssh, I can port map the DISPLAY to localhost so any GUI apps can be presented by WSLg.

Describe alternatives you've considered:

Nope, just wondering if I have WSLg installed why do I need other Xserver.

Additional context:

No response

iainhallam commented 1 year ago

WSLG doesn't seem to be accessible to other Windows applications as an X server, but if you launch your SSH session from within WSL, it will have access to launch GUI apps within WSL as separate windows on your desktop. It's worth knowing that while this works, the hosted windows don't have any of the Windows window-management options like snapping, and are often temperamental with maximising, etc. - see #22.

MrObvious commented 1 year ago

WSLg uses RDP not X server and also uses Wayland.