Skip to content
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 won't start working? #7768

Closed
1 of 2 tasks
cuixing158 opened this issue Nov 29, 2021 · 5 comments
Closed
1 of 2 tasks

wsl2 won't start working? #7768

cuixing158 opened this issue Nov 29, 2021 · 5 comments

Comments

@cuixing158
Copy link

cuixing158 commented Nov 29, 2021

Version

Microsoft Windows [版本 10.0.19044.1387]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.60.1-microsoft-standard-WSL2

Distro Version

Ubuntu-20.04

Other Software

No response

Repro Steps

When I type wsl in the windows power shell, the following error pops up, how do I fix it?
1

2

Expected Behavior

Working correctly

Actual Behavior

nsenter: failed to parse pid: '77
78'

[已退出进程,代码为 1]

Diagnostic Logs

No response

@Biswa96
Copy link

Biswa96 commented Nov 29, 2021

Do you have some custom script which runs after WSL2 distro starts?

@OneBlue
Copy link
Collaborator

OneBlue commented Nov 30, 2021

@cuixing158
Copy link
Author

Sorry for the late reply to you guys, I've fixed the problem by restarting now. I did install this systemd script before this in order to install the gnome desktop, I don't know if this affected it.

@ghost ghost removed the needs-author-feedback label Dec 5, 2021
@benhillis
Copy link
Member

Yes, this is being caused by the unsupported systemd script you are using.

@garriton
Copy link

Sorry for the late reply to you guys, I've fixed the problem by restarting now. I did install this systemd script before this in order to install the gnome desktop, I don't know if this affected it.

我也用了这个,然后一样的报错。请问您如何解决的,只需重启wsl就行吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants