Open ray24777 opened 10 months ago
Sloved.
Just disable the system proxy of Windows, and then the command could be executed. Still very strange. Is there a bug?
Setting wsl2.networkingMode
to mirrored
also solves the problem.
Here is my current .wslconfig
below.
[wsl2]
networkingMode=mirrored
dnsTunneling = true
autoProxy = true
[experimental]
autoMemoryReclaim = gradual
Adding the line networkingMode=mirrored
solves the problem.
LOL I edited .wslconfig before trying wsl -d Arch -u {username}
and succeeded. I thought the bug can be solved by an alternative way of adding default user before I read this issue
Describe the issue Error with strange text (shown below) was shown when trying to change the default user with "Arch.exe config --default-user".
To Reproduce Install the package, set a new user and run above command in windows.
Expected behavior A change of default user of wsl.
Screenshots
Enviroment: