The error "Error getting authority: Error initializing authority: Could not connect: No such file or directory wsl" is a bit tricky one - but easy to fix.
You propably tried to edit the sudoers-file with a regular text editor and thus "corrupted" it, and now you can't edit it anymore with sudo or visudo.
The solution is simple - just start WSL from Windows cmd with
wsl -u root
After that you can edit the sudoers file and get on with your business.
Your comment may be published.
Name:
Email:
Message: