-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WSL2: (os error 10013) #8
Comments
Hmm, I guess maybe you couldn't listen on another user's VM's socket? Have you tried to run |
You're right. Getting the VMID with But I think there would be an issue when I would reboot my PC, I'll have to manually get |
Reboot will change VMID so yes. I believe you don't need to be admin for the API. Can you try to add the standard user into the |
I also have this issue using wsl2. I have an LDAP account, and I tried with a Local Administrator account (which I putted in Hyper-V admins as you suggested, but without success)
|
It does. Is it possible to just run |
It certainly is possible, e.g. by launching a service from admin that just report VMIDs, and let wsldhost retrieve VMID from that service. Unfortunately this would require significant change and I don't have time for that; I also don't use a setup that allows me to test it. |
The VMID is stored in registry under the key |
Thanks for the note! I'll have a look. |
Latest commit on the master branch has switched the VMID retrieval mechanism to registry. |
Hello, as stated in the previous issue. I'm unable to run
wsldhost.exe --daemon
nor am I able to runwsldhost.exe <VMID>
. Both of them result in the same error which is:I have absolutely no idea what could be causing the issue.
My own account is a standard account and I have a separate account which is in the administrator group. I am running the command in an elevated powershell prompt opened as an administrator.
EDIT1:
I downloaded the
wsldhost.exe
from the build artifact of your latest commit.wsld
on the WSL2 instance has been installed using the command specified in the README. Additionally, I have tried excluding theexe
from Windows Defender but that hasn't changed the result.EDIT2:
Running
wsld
on the WSL2 instance obviously results in:The text was updated successfully, but these errors were encountered: