
Then save the config where you like, you'll need that running to start an X server on Windows. Just make sure to choose the same Display number as the DISPLAY=:0 variable on the WSL terminal (More on that later)
PULSEAUDIO SSH HOW TO
Well, I won't cover how to install WSL this guide just focuses on making X.11 apps working.įirst of all, configure Xming as you wish, run Xlaunch You need a pulseaudio daemon running on windows, and then setting the correct Pulseaudio client on WSL to point at 127.0.0.1 Regarding the Pulseaudio thing, this is much simpler but similar. For me it seems like (I may be wrong):Ī) WSL Implemented a sort of communication method between WSL unix sockets and windowsī) X.11 just also tries TCP 127.0.0.1 address when connecting to a X server I don't know how can that be possible honestly, if you know, write down in the comments. While I was searching for old guides that are using SSH with X11 tunneling I discovered that you can do that also by just running an X server on Windows running and exporting the correct DISPLAY environment variable.

Let's understand how this is possible first.

No hardware accelerated support (Can be fixed in the future) This guide will show how to run X11 graphical apps through the WSL environment, WSL stands for Windows Subsystem for Linux and is a sort of reversed wine, it's known for not being able to run X11 apps natively, but there is a really simple way to do that without SSH X11 forwarding, also with pulseaudio support.
