Black Screen when running Bash on Ubuntu on Windows
I have installed Bash on Ubuntu on Windows 10. However, when I try to launch it all I get is a black screen with a white cursor at the top left. It won't let me type anything.
I have had lag a few times on initial startup. Did you try giving it a minute?
Yes. Looking it up it does seem to be a problem on Ubunto Forums. But their workarounds don't work from a Windows environment. They all mention some fixes from a GRUB boot loader.
Same happens to me pretty much. When I restart the pc it runs for a while. After I close and restart it, I get the same behavior and it just stays blinking. I also left it overnight with no change.
I don't know if it helps but I've noticed that when this happens to me it's because the lxssmanager service goes into a state of STOP_PENDING and I'm unable to access it even with TASKKILL /F /PID . A restart makes it stop so it can start freely again and then I can use bash but after a few runs this happens again and the service process enters the same state. I haven't been able to track any entry in the event viewer for this
Never mind I tracked it down. It's caused by Kaspersky Internet Security for me. The moment I exit Kaspersky it starts. I'll take it with their support and see what they say. Disabling it doesn't work but exiting does
Yep.. Thanks ioweb-gr,,, Exited out of my Kaspersky and loaded up Bash and I now have a command prompt.. Funny though..Every time something odd loads up Kaskersky has a little popup on if it should allow it to run or not. But not with this Bash on Ubuntu or I would have thought of that first.
No problem 👍

Got same problem after doing mv dir1 dir2/dir3. Bash totally froze, I restarted it and it's just black now.
@dcr30 -- are you running Kaspersky Internet Security? If you follow the steps that helped @ioweb-gr above, do they help you too?
I'm having a different problem, no matter what I try it always hangs on "extracting filesystem.." for eternity. Anyone have any ideas?
Edit: Not using Kapersky, using Avast - I have it disabled but that's not working either.
Thanks in advance
@freightrunner we are discussing your problem here https://github.com/Microsoft/BashOnWindows/issues/718
#718 Solves it!
I had the same issue as @dcr30 , after I tried to mv some files around , now it starts with a blinking cursor. I also do NOT have Kaspersky Internet Security, using windows defender. ... Going to try rebooting now
--UPDATE 8/6-- Reboot didn't help, but uninstall / re-install fixed it http://www.howtogeek.com/261188/how-to-uninstall-or-reinstall-windows-10s-ubuntu-bash-shell/
i'm going to attempt moving files around and provide more updates ... see if I can narrow down what caused it to freeze up
I also have Kaspersky Internet Security installed and I also experienced the problem with only a blinking cursor when starting Bash on Ubuntu on Windows. Closing (not disabling) Kaspersky Internet Security fixed the problem for me.
I don't have any AV and have the same issue. Looks like issue appeared after I used SSH in bash
Same here? Anything new?
Uninstalled Avast, worked right after that, turned back to black screen after starting Apache2. I enabled Windows Defender as a replacement for Avast, is Windows blocking itself here?
Update: Error is: "Error: 0x80080005" Disabling Windows Defender does not help.
Maybe the new SSH server on Developer mode is causing the problem. You can go to Services.msc and try to disable SSH Server Proxy and Broker.
Can't find any SSH Server Proxy/Broker services? Btw. I have VirtualBox installed, might this cause weired behaviour? Thanks!
Weird. Did you enable Developer Mode on Settings and "Windows Subsystem for Linux (beta)" on features? After restarting Windows those SSH Server services should appear. VirtualBox shouldn't be the problem but you never know.
Yes, the Windows Subsystem for Linux is enabled and installed already. The bash turned black after I used it for a while.
Here is a list of my services, no SSH Server Proxy:
