Assuming WSL2 is installed, configured, and the VcXsrv is working, if the following error message appears when logging into a remote machine using X11 forwarding, i.e. ssh -X user@remote
:
Warning: No xauth data; using fake authentication data for X11 forwarding.
then, ensure the xauth
application is installed in the WSL2 host,