- download, compile and install socat 1.7.4.x (http://www.dest-unreach.org/socat/)
- append startXonVsock to ~/.bashrc or put it in ~/.bashrc.d
- after login in WSL2, run startX.(cmd|ps1) in Windows to start the VcXserv
- run X session in WSL2 (e.g. MATE:
mate-session > /dev/null 2>&1
) - happy clicking :)