

I need to investigate how to make it work on XLaunch.You’ll see a message asking if you want to merge the folders from your old account to your new one. There are different ways to set the DISPLAY variable, thank you the updates.Įxport DISPLAY="`grep nameserver /etc/nf | sed 's/nameserver //'`:0"Įxport DISPLAY="`sed -n 's/nameserver //p' /etc/nf`:0"Įxport DISPLAY=$(ip route|awk '/^default/'):0 cd ~ xfsettingsd -sm-client-disable xfce4-panel -sm-client-disable -disable-wm-check taskkill.exe /IM x410.exe taskkill.exe /IM pulseaudio.exe /F fi " It is necessary to set the DISPLAY environment variable with the correct IP address on launch. The next step is to set the DISPLAY environment variable on Linux to use the Windows host's IP address as WSL2 and the Windows host are not in the same network device. Windows Security -> Firewall & network protection -> Allow an app through firewall -> make sure VcXsrv has both public and private checked. NOTE: Don't forget to allow VcXsrv in the Windows firewall settings. To warranty that the “ Disable access control” will be always checked, save the configuration and always launch VcXsrv using the configuration file ( config.xlaunch) : The first step is to install the third-part display manager called VcXsrv Windows X Server available at:ĭuring setup is important to disable the access control to avoid the permission denied error when trying to run a GUI application: I am using the VcXsrv Windows X Server that is open-source and is frequently update. The X server is a provider of graphics resources and keyboard/mouse events.

Using WSL2 in a Docker Linux container on Windows to run a Minecraft Java Server If you want to know how to install WSL on Windows 10, please check the following post:

In this post I will demonstrate how to run Linux GUI (Graphical User Interface) applications on Windows Desktop platform.įor now, it is necessary to install a third-party App to run the GUI Apps, but Microsoft announced on //build 2020 that they will release soon an improvement that will not require any third-party component to run Linux GUI Apps on Windows Desktop.
