-
Notifications
You must be signed in to change notification settings - Fork 823
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
Blank screen when starting up (similar to #2352) #4055
Comments
Same problem on two windows pc's.. If I close WSL <Ctrl+D> and later try to lauch WSL/ubuntu I get a blank screen. Windows reboot fixes the problem. |
same as #4047 |
Same for me. I uninstall Ubuntu and WSL, but then if I start command prompt as administrator and without legacy console option of cmd, I also got a Blank screen. If i do it as "normal" User then all is fine. cmd works also fine with admin and normal user, if I activate legacy console. But then it will not work during install of ubuntu. |
It seems I found the solution concerning blank screen: |
@Stoner60 neither of those options are selected for me, and I still can't get a functioning terminal. Also I have restarted multiple times since I opened this, and although some people say a reboot resolves the issue for them - it does not for me. |
@kurgol , perhaps it help, if you play with the colours of foreground and background. For me it seems, that font colour and background is the same. Black font on black background, then you see nothing. |
it is not, the cursor is blinking in the top left. I have tried adjusting the foreground to white no difference. It is completely unresponsive terminal. This is incredibly frustrating because prior to 1810 it had been working perfectly since it's the introduction so to now have a shell that doesn't function means it's effectively useless in a working environment. |
When you get into this state, can you check the status of the LxssManager service?
|
I have the exact same issue. I dont fully know the exact steps to reproduce but it simply seems just a "time" issue, if I open it right after boot, it works fine after a few minutes after closing and not touching it the terminal goes into the frozen state. This issue makes WSL(1) completely unusable for me. A reboot fixes the issue. Im on windows 10 pro (1903) I do have BitDefender installed (maybe that does something to the files) Does switching to WSL 2 fix the issue? |
Hi everyone Me too when I try to open the bash terminal I have your same blank screen with the blinking cursor. If I restart my pc then the bash starts but then, if I close it, the problem starts all over again. OS: Windows 10 Home (Microsoft Windows [Version 10.0.17134.829]) Like @hnlpower I also have BitDefender installed. |
like the two above, I also use BitDefender! |
I've just found out that until last year there were people that had installed BitDefender and they had problems with network connection with the Ubuntu bash (that problem seems solved right now). Maybe this is a new problem caused by that AV... |
Same problem, |
Anyone still able to reproduce it? I can't anymore. Previously I could reproduce the issue by
There was a BitDefender and Windows update last week Edit: Nevermind. Just hang on me after
|
I was affected yesterday @E14 and am pretty much affected by it every day. I have moved back to Cygwin as my daily driver, much to my dismay as bash has been working perfectly until the 1903 update. |
I got this today after using WSL for a month on a new computer... |
After a few reboots it's working again. I also had problem with a folder that could not be deleted so I had to boot into command prompt to get rid of it. Not sure if that's related. I'm using Windows 10 Pro with BitLocker and Symantec Endpoint Protection. |
still not working on a daily basis for me, if the devs want any more triage please let me know what else I can provide other than what I put in the issue up top? |
I have been experimenting with this issue and right now it seems to work for me on boot when Hyper-V is enabled and fully working. I was facing this issue when VMWare Workstation was installed and Hyper-V disabled. Note that this is for WSL v1 which I do not really understand the reason for Hyper-V dependency and what it worked after reboot (but had a hunch that seems to help workaround).. |
It is working again for me. |
@dan-danciu I have not had an occurrence for the last few days either. @alexejk this problem affects me on two different systems, one has Hyper-V fully installed and the other does not have it installed at all - so I think the Hyper-V is unrelated. |
@kurgol, its a fair note. It seemed to be something else indeed because now its back. Even though my PC was of for an hour after enabling Hyper-V yesterday things worked as expected. Today they are broken again. Interesting enough I have Bitdefender as well but it's still causing issues. |
@alexejk I'm using fully updated versions of Bitdefender Antivirus Free on both. |
I'm on the same version as @dan-danciu but the issue still seems to persist for me. And contrary to what I previously thought - HyperV does not make a difference. What is still extremely confusing is that a reboot always solves the problem. |
@alexejk a reboot does not always solve the problem for me. |
Even more confusing then, I guess. For me now I basically have to take it as a routine to start & reboot if i want to use WSL which hasnt failed me yet. But I guess we all have slightly different problem that manifest the same way.. @kurgol when it's "not working" for you, I assume |
Recently i found out that turning off and on the function of linux subsystem is solving the error. |
I think I have found the cause of the issue. Disabling Fast Startup prevents it from happening. I'm guessing the LxssManager enters some sort of error state during start/shutdown with Fast Startup. |
Really? I've tried disabling it before but it still happened fairly consistentl. For me the fix was doing full system repair which detected some issues. After that no issues for a few weeks so far. |
You have to go to Windows Settings and then on Features and Programs. While you there disable Windows Subystem for Linux. Reboot, activated again reboot and the error is fixed. |
Disabling and re-enabling WSL did not work for me.
|
After following the advice on #4490 to see if the LXSS Manager service is running (it wasn't) and then manually starting it I finally got a working Ubuntu shell. I'm confused as to why my system has two LXSS Manager services. One is named LxssManagerUser_1a0068 and starts automatically. The other one is named LxssManager and is set to start manually. That's the one I started manually. I get access denied if trying to set it to start it automatically, even as administrator. I'm running Windows10 version 1909 build 18363.592 |
I am into this issue in midst of my project. Does anyone has permanent solution |
This method worked for me |
Actually from what I read elsewhere on the internet I have now enabled "Virtual Machine Platform" in the "Turn Windows Features on or off" (where you also enable "Windows Subsystem for Linux"). with that being enabled the bash shell works fine again without hanging. |
Same here. My terminal is a blank window with cursor blinking. Cannot type. When I try to open VSCode, it's stuck on loading and on the bottom left where it usually says "WSL: Ubuntu-18.04" it's stuck on "⟳ Opening Remote...". I enabled "Virtual Machine Platform" a while ago, so I don't think it's related like the previous poster said. I also have Bitdefender installed. Have to restart the PC to fix the problem. |
I had the same issue today after upgrading with KB4565503, I followed steps in the above comment: #4055 (comment) and it worked after disable + reboot + enable + reboot steps. |
I am also having this problem with KB4565503 and these steps do not solve the problem for me. |
Here are the ETL files for debugging when I try it. After a while, it shows |
This works for me, although I don't have Bitdefender installed, so my situation may not apply. |
I have the same problem, solutions from above are not working Update 1 |
An update, I had to store a copy of the WSL instance to another location and then delete the Debian WSL install, creating a new one. After that I mounted the old one and copied over all of my data using DiskInternals Linux Reader. It's worked fine since then. Very crappy situation.. it's basically equivalent to having a corrupted drive. Still no idea what caused it - it just randomly happened one day. |
@Oeffner Thank you! I think this is what fixed it for me. |
Hello, |
I almost sure I was installed Ubuntu 18.04, but after a blank console, and enable/disable linux subsystem (reboot etc) it works again but now, Ubuntu is 20.04.1... may be Ubuntu failed when it was upgrading... :/ |
Have the same issue, 2021. Windows defender as antivirus. LxssManager refuse to start. |
/dupe #4047 |
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report! |
This work fine for me thank you very much ! |
how do you even |
Oddly enough, ctrl-z, ctrl-x, ctrl-c in this order allowed me to use the terminal |
I am using wsl2, I got the same issue that occured to @kurgol , I manually tried to restart Lxss Manager and then it gave error, but issue was resolved. |
Please fill out the below information:
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.17763.503]
Clicking the shortcut to open my Ubuntu 18.04 bash terminal (or the Debian one I installed to test appears to be affected as well).
It should be opening a functional prompt.
some_command
is failing, then runstrace -o some_command.strace -f some_command some_args
, and link the contents ofsome_command.strace
in a gist here).I can't type any commands, so not possible to run an Strace.
I have captured the detailed logs as requested (it was also mentioned on issue #2352 ):
blank-screen-when-starting-up.zip
See our contributing instructions for assistance.
The text was updated successfully, but these errors were encountered: