GWSL: Run graphical Linux apps in WSL
github.com
GWSL: Run graphical Linux apps in WSL
1–10 of 132 posts
Re: GWSL: Run graphical Linux apps in WSL
#2export DISPLAY=$(route -n | grep UG | head -n1 | awk '{print $2}'):0
and on the Windows side, start VcXsrv with the 'Disable Access Control' combo box checked. this will enable X clients from other hosts (WSL is another host, basically) to connect to the server without too much hassle. that's it.
Re: GWSL: Run graphical Linux apps in WSL
#3Re: GWSL: Run graphical Linux apps in WSL
#4Re: GWSL: Run graphical Linux apps in WSL
#5next task would be to support some kind of synaptic that would update windows's menu with linux apps...
Re: GWSL: Run graphical Linux apps in WSL
#6Isn't it officially coming anyway from Microsoft - https://www.theverge.com/2020/5/19/21263377/microsoft-window...
Re: GWSL: Run graphical Linux apps in WSL
#7VcXsrv and a bashrc to set DISPLAY= automatically did it for me export DISPLAY=$(route -n | grep UG | head -n1 | awk '{print $2}'):0 and on the Windows side, start VcXsrv with the 'Disable Access Control' combo box checked. this will enable X clients from other hosts (WSL is another host, basically) to connect to the server without too much hassle. that's it.
Re: GWSL: Run graphical Linux apps in WSL
#8VcXsrv and a bashrc to set DISPLAY= automatically did it for me export DISPLAY=$(route -n | grep UG | head -n1 | awk '{print $2}'):0 and on the Windows side, start VcXsrv with the 'Disable Access Control' combo box checked. this will enable X clients from other hosts (WSL is another host, basically) to connect to the server without too much hassle. that's it.
Re: GWSL: Run graphical Linux apps in WSL
#9Re: GWSL: Run graphical Linux apps in WSL
#101. [Pengwin](https://www.whitewaterfoundry.com/) - a customized Debian distribution with helpful scripts for setting up a dev environment
2. [X410](https://x410.dev/) - a customized X11 Server
They made all the setup really easy. I reuse some of the scripts from Penguin in the Ubuntu distribution.
One caveat for those who want to try WSL2, which is available if you subscribe to Windows Insider program, is the instability.
Some times, after an update, your WSL will not start. After some restarts everything is back to normal.