I'm running X applications like the Gnome terminal on Windows via VcXsrv, works pretty flawlessly on my 4k Surface Pro by just setting the DISPLAY environment variable and tweaking GDK_DPI_SCALE.
GWSL: Run graphical Linux apps in WSL
21–30 of 132 posts
Re: GWSL: Run graphical Linux apps in WSL
#22Weird project description. Is it an X11 Server for Windows? If so, why doesn't it say this first (but only mentions further down that the software includes some advanced X11 Server)?
Re: GWSL: Run graphical Linux apps in WSL
#23VcXsrv 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
#24Re: GWSL: Run graphical Linux apps in WSL
#25Re: GWSL: Run graphical Linux apps in WSL
#26Re: GWSL: Run graphical Linux apps in WSL
#27Earlier quoted context omitted.
> Disable Access Control This was terrible advice back in the 90s and still is. An attacker anywhere on the network can listen to your input devices, insert fake keypresses, view your screen, etc. Basically a total system compromise. All without log entries. The correct way to do this is to use MIT-MAGIC-COOKIE. One the client host: $ xauth -extract - $DISPLAY Then copy the output. On the host running the X server: $…
VcXsrv binds to localhost by default, so unless you already have malware on your system the added risk is quite small I'd say.
It used to be possible to easily scan what sites are running locally, even if js code was from a public website. [0]
Re: GWSL: Run graphical Linux apps in WSL
#28what about audio ? next 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
#29Weird project description. Is it an X11 Server for Windows? If so, why doesn't it say this first (but only mentions further down that the software includes some advanced X11 Server)?