- Install X-Server Windows
- Set Display forward in WSL Distro
- Start XLaunch on Windows
- Test it
- Add it to autostart
https://sourceforge.net/projects/vcxsrv/
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
export LIBGL_ALWAYS_INDIRECT=1
sudo apt update
sudo apt install x11-apps
- Multiple Windows
- Start no client
- disable Native opengl
- enable Disable access control
In wsl: enter xcalc - Calculator should open in Windows10
- Run Dialog see Start XLaunch on Windows
- Save configuration
- Press Windows + R
- Enter: shell:startup
- Copy saved configuration: *.launch (Generated in step 2) to this folder (step 4)
Now the XServer will be started with windows startup.