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

When I use command 'wsl' in powershell, there is no respond. #9827

Closed
1 of 2 tasks
Ethan-Chen-plus opened this issue Mar 22, 2023 · 6 comments
Closed
1 of 2 tasks

When I use command 'wsl' in powershell, there is no respond. #9827

Ethan-Chen-plus opened this issue Mar 22, 2023 · 6 comments

Comments

@Ethan-Chen-plus
Copy link

Windows Version

Microsoft Windows [Vision 10.0.25314.1010]

WSL Version

1.1.3.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

Linux version 5.15.90.1-microsoft-standard-WSL2 (oe-user@oe-host) (x86_64-msft-linux-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP Fri Jan 27 02:56:13 UTC 2023

Distro Version

Ubuntu 1804

Other Software

No response

Repro Steps

PS C:\Users\25122> wsl

Expected Behavior

when I use command 'wsl', I expect to see :
image

Actual Behavior

However nothing happened.
But if I open cmd and type command 'wsl', It can run smoothly. However if I have opened my windows and worked for a while, wsl cann't be opened.

Diagnostic Logs

No response

@chetanguptaa
Copy link

try restarting it.
Run the command 'Get-Service LxssManager | Restart-Service'

@MatthewARM
Copy link

Could be duplicate of #8696

@OneBlue
Copy link
Collaborator

OneBlue commented Mar 23, 2023

/logs

@microsoft-github-policy-service
Copy link
Contributor

Hello! Could you please provide more logs to help us better diagnose your issue?

To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging

Thank you!

@Ethan-Chen-plus
Copy link
Author

WslLogs-2023-03-24_20-50-10.zip
However today I can open wsl without any error occur. I am wondering why?
image

Copy link
Contributor

This issue has been automatically closed since it has not had any activity for the past year. If you're still experiencing this issue please re-file this as a new issue or feature request.

Thank you!

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

4 participants