Skip to content

Instantly share code, notes, and snippets.

Alex Tsilingiris alextsil

View GitHub Profile
@alextsil
alextsil / steps_gui_wsl2_xserver.txt
Last active Jun 11, 2020
Steps on how to run GUI apps from WSL2 - Xserver
View steps_gui_wsl2_xserver.txt
Steps to setup the server-side on windows:
- Download VcXsrv Windows X Server [https://sourceforge.net/projects/vcxsrv/].
- Run VcXsrv following this [https://github.com/microsoft/WSL/issues/4106#issuecomment-502920377].
- Go to windows firewall -> Allow an app through firewall -> click change settings -> select BOTH entries of "VcXsrv windows server" -> OK.
At this point the server-side is ready. Now it's time to configure the client:
- Open a terminal and find the IP of the windows host machine with this command: export DISPLAY=$(/sbin/ip route | awk '/default/ { print $3 }'):0 [https://github.com/microsoft/WSL/issues/4106#issuecomment-634778111].
View .screenrc
###################################################################################
# .screenrc -- configuration file for [screen](http://www.gnu.org/software/screen/)
# ___ ___ _ __ ___ ___ _ __ _ __ ___
# / __|/ __| '__/ _ \/ _ \ '_ \| '__/ __|
# _\__ \ (__| | | __/ __/ | | | | | (__
# (_)___/\___|_| \___|\___|_| |_|_| \___|
#
###################################################################################
# Resources:
# * gyaresu's .screenrc: http://delicious.com/search?p=screenrc
You can’t perform that action at this time.