Skip to content

Instantly share code, notes, and snippets.

View hxp-plus's full-sized avatar

Xiping Hu hxp-plus

View GitHub Profile
@volks73
volks73 / SSH X11 Forwarding with XAuth and WSL2.md
Last active October 13, 2021 06:35
Fix for warning about fake authentication when X11 forwarding through SSH and WSL2

SSH X11 Forwarding with XAuth and WSL2

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,