-
Notifications
You must be signed in to change notification settings - Fork 822
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
Console opens only after restart, then stops #4047
Comments
same problem |
same problem. any updates? this is ridiculous. i use this to make a living. |
What state is the LxssManager service in while this is happening? |
LxssManager is running. It fails to stop/restart. Tried launching bash as admin and non-admin, no difference. I've been using it for months without issue. Suddenly started happening this week. |
If you "sc stop lxssmanager" from admin, does the service stop or does it get stuck in the "stopping" state? |
|
Thanks. This is an issue that I've been debugging for a while. In the meantime, to get back to a working state if you kill the svchost.exe that is running the LxssManager service. You can get this pid via the services tab of task manager. You can avoid this issue by leaving a window open, or launching something in the background like a detached tmux session. |
I get access denied message when trying to kill that svchost process |
From task manager? |
yes, end task from task manager and also from taskkill on cmd as admin |
Interesting... I can do that on my machine with no issues. My other workarounds will still work for you though as I diagnose this issue. |
ok, i will reboot i guess and then just keep a shell open. let me know if there is anything else you'd like me to try before rebooting and losing this broken state? |
If possible, a dump of the service might be useful, but if you cant kill it it's unlikely you'll be able to collect a memory dump. |
nope, no luck also get access denied. next time it happens i can try again. |
after restart i can start bash. but then if i close it, and try to open again it hangs again. once again can't kill the svchost process or take a dump of it, getting access denied. |
@dfeinzeig - Could you collect a trace? Starting from a fresh reboot? |
sure, how do i do that? |
so reboot, start the 3 traces, launch bash, close it, try to relaunch, stop 3 traces? |
Correct, thanks! |
k, np, brb |
ugh, now bash starts again after closing (not something i thought i'd complain about!) i collected traces, but guessing they aren't particularly helpful? |
Yeah I'd need a trace of the repro. In the past is it possible you waited about 5 minutes before attempting to re-launch? |
when i tried a few minutes ago i successfully launched it, tried |
Found this thread while having the same issue. Ran 3 log traces as described. Adding additional logs in case they help. Surface Pro 6. Version 10.0.18362 Build 18362 I first ran Ubuntu directly. After that, I attempted to run bash from Powershell with the same result (screenshots below). I waited roughly a minute for each attempt. |
An update to try for anyone else coming along - I removed BitDefender antivirus and haven't had this issue since. |
Any progress made on this scope? Still happens on my machine |
Also (or again) hangs with the most recent windows update KB4023057 . I have no HyperV installed. Clean restart fixed it |
+1 cannot open nano or vim |
The best solution that always worked for me was to:
|
WSL1 Ubuntu 18.04 LTS stopped working today after I installed Debian in another WSL1 distro using lxrunoffline. The other WSL distros (including Debian) continue to work. Nothing helps so far:
I have the feeling this distro is lost. It is only 1 month away from EOL for Ubuntu 18.04 LTS, so I may as well leave the ship to a new distro. |
u saved my day !!!!!!!!! thank u so much |
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! |
Microsoft Windows [Version 10.0.17763.503]
opening console works only after reboot, you can open OpenSuse or Ubuntu console or type bash in cmd and all works fine, after some use if you close all windows with console you can't open again, say you open OpenSuse42.3 the window will show up but there is no prompt, if you type bash in cmd, the command will start execution and hang, no prompt will show up.
Seems to be distro unrelated as both ubuntu and opensuse are affected.
What's wrong / what should be happening instead:
Prompt never shows up, should show up after opening a console window or execution command in cmd/powershell
logs.zip
The text was updated successfully, but these errors were encountered: