You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
Disable or shutdown the X server then reset your DISPLAY variable: export DISPLAY=:0
Works for "native connector", "localhost connection" and "wsl command".
+1:
It would be nice if MobaXterm could do this automagically so that we don't have to tweak our DISPLAY manually... (under WSL2 only of course)...
It would be nice also because MobaXterm already tries to tweak the DISPLAY and with the above manual tweak then announce from the banner message makes the DISPLAY inconsistent with what we actually define manually.
BTW under WSL2 MobaXterms says it uses "MYEXTERNALIP:0.0" in the banner but echo $DISPLAY shows "127.0.0.1:0.0" ... strange ...
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
The text was updated successfully, but these errors were encountered: