Changer WSL en version 1
wsl --set-version Ubuntu-18.04 1
// Run the above command from windows powershell
// This assumes you are running Ubuntu 18.04
Shy Stork
wsl --set-version Ubuntu-18.04 1
// Run the above command from windows powershell
// This assumes you are running Ubuntu 18.04
ubuntu2 config --default-user root
#ubuntu 20.04
ubuntu2004 config --default-user root
#ubuntu 18.04
ubuntu1804 config --default-user root
ubuntu2004 config --default-user root