-
Notifications
You must be signed in to change notification settings - Fork 841
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
[error 2147942402 (0x80070002) when launching `ubuntu2204.exe'] launching wsl2 from windows Terminal #11340
Comments
Hi I'm an AI powered bot that finds similar issues based off the issue title. Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you! Closed similar issues:
|
Different issues exposed by the bot are not related to mine and of no help to solve it |
Does this match your problem? |
I don't see any WSL logs in the zip file you shared. Can you confirm you reproduce the issue while log collection was running ? /logs |
|
The log app was running when I tried to start ubuntu-22.04. Seems the log app doesn't catch the error. |
Actually I can still log in as regular user from Terminal using powershell for instance typing : wsl.exe -d Ubuntu-22.04 command, but I can't log in anymore directly into wsl from Terminal clicking on the tab + button ( Ubuntu-22.04 is my default Terminal profile ) |
/logs |
Hello, I've launched once more the log collector tool. |
Diagnostic information
|
@snowgato: I'm not seeing any WSL logs in the file you shared. Can you confirm that you reproduced the problem while log collection was running ? |
Yes I do confirm |
Thank you @snowgato. Does What's the output of |
As told before, I Can start Ubuntu from powershell using wsl.exe -d Ubuntu-22.04 |
So |
But actually, when I use Terminal and click on New tab, the error is instantaneous. |
Does What's the output of: |
Here is the output of powershell cmd Get-AppxPackage | where {$_.name.contains("Ubuntu")} : RunspaceId : de82ac7f-2349-422f-97b6-09a1ba9034c7 RunspaceId : de82ac7f-2349-422f-97b6-09a1ba9034c7 |
I am having the same issue and this worked for me: https://askubuntu.com/a/1486711 Change ubuntu2204.exe to wsl.exe in the settings. |
Windows Version
Microsoft Windows [Version 10.0.22631.3296]
WSL Version
2.1.1.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
I get this error while launching Ubuntu-22.04 as regular user from windows Terminal
Expected Behavior
Launch without error
Actual Behavior
[error 2147942402 (0x80070002) when launching `ubuntu2204.exe']
Diagnostic Logs
I can log in as root, if I rename the regular user .bashrc file, I can then log in as regular user using su. But I still get the error [error 2147942402 (0x80070002) when launching `ubuntu2204.exe'] if I launch Ubuntu from windows Terminal, even if I shutdown wsl.exe and wait for more than a dozen of seconds once renamed .bashrc file of regular user.
Logs
WslLogs-2024-03-22_10-25-41.zip
The text was updated successfully, but these errors were encountered: