This script fixes non-working Wayland and X11 servers on WSL2 distributions that are not distributed by Microsoft and which may not always work.
It works by linking the server sockets to those created by the WSLg system container, mounted in /mnt/wslg
and accessible via wsl -d DISTRO_NAME --system
.