I've been trying to install graphical apps on wsl for 2 months now without success using xLaunch and I haven't found any working solution yet...
Here is what I get when I try to launch a graphical app :
I currently am on Windows 10 21H1.
For xLauncher preset, I use :
- multiple windows
- Startwith no client
- Clipboard / Primary Selection / Native openGL / Disable access control
and for my ~/.bashrc
I have :
export DISPLAY=$(awk '/nameserver / {print $2; exit}' /etc/resolv.conf 2>/dev/null):0
export LIBGL_ALWAYS_INDIRECT=1
export XDG_RUNTIME_DIR=/tmp/xdg
export RUNLEVEL=3
Any help would be welcome, and I can always add any other information that could help
DISPLAY
variable being set properly in the first place.