Solved: Black screens (2) when starting VirtualBox Manager GUI?
Posted: 31. Jul 2020, 00:50
I have been using VirtualBox on my Ubuntu 18.04 host for 5 days now so my ignorance may have inadvertently caused the problem I need help solving. Anyway, I successfully created an XP Home 32 bit VM and have been using that without issue for 5 days. Yesterday I decided it was time to check out Ubuntu 20.04 64 bit in a VM. When I first tried to create that VM I found that there were only 32 bit options available. After researching online I went into my bios and enabled the SVM option and when I booted back up found that VirtualBox now had 64 bit OS environment support available for installs (yay!). I then successfully created an Ubuntu 20.04 64 bit VM and spent a few hours installing the OS and configuring it's environment for my intended purpose (installed several software applications, deleted LibreOffice applications which had been installed by default, etc). At that point I found that I needed to install the VirtualBox Guest Additions as I wanted to share a folder and clipboard between guest and host machines. As I had already done that for the XP VM I already knew how that was done so I installed and I believe this is when my problems may have started.
Since the VirtualBox Manager GUI was already running at this point I was not experiencing any problems with that, but weird behavior started occurring when I tried to go back into the Ubuntu VM. The start-up of the Ubuntu VM seemed normal and I would get all the way to the login screen but once I entered the password the screen then went black and did not show a cursor and did not respond to mouse or keyboard. All I could do was use the manager to end that session. I tried this several times with the same result every time. I then decided to close the Virtualbox Manager GUI and get back in to see if that would solve the problem. Wrong! That is when I first started experiencing two black screens, the first one that popped up may have been the manager attempting to open and display and the second one popped up seemingly simultaneously had a window title of VirtualBox - Warning. While these screens were being displayed my host machine was unresponsive to mouse and keyboard. After a few seconds more those screens close and my host machine is once again responsive. At this point I thought maybe a reboot of my host machine might help. Nope! Same problems occur.
I found that I can use the CLI to start my XP VM and it still runs flawlessly. I can also use the CLI to start the Ubuntu VM and it still follows the same problematic behavior mentioned above. I don't know if the two problems are related (black screen in Ubuntu VM and black screens when starting Virtualbox Manager GUI) but they both started occurring around the same time so it seems possible. I do not see a log for the Virtualbox Manager itself and I do not see anything obvious in the log for the Ubuntu VM though I have uploaded a zipped copy here. I have not been able to find any postings here relating to this problem and Google hasn't got anything for me either.
Don't know if the following information would be relevant but here it is. My XP VM setup is all on my host's main drive. My Ubuntu VM setup has the VDI on a secondary drive and is set up quite large (dynamic 1.3TB on a 3TB drive) though it currently is only using 11.3GB. The shared folder for the Ubuntu VM is also on that same drive. I have had (what I would consider) unusual behavior with that drive when used with qBittorrent where if I don't open some file (any file) before opening qBittorrent (which is configured to download to that drive) then qBittorrent's internal torrent lists display as incomplete and I have to close it, access some file and then when I reopen it qBittorrent then displays all the lists correctly. There is probably some setting in Ubuntu that I need to change to make that drive visible all the time and I'm hoping it is not related to the drive spinning down for inactivity as I am a big fan of drive's spinning down for many reasons. Anyway, I have accessed other files on that hard prior to running the VM but it does not seem to make any difference.
Anyway, I hope my confusion is not too confusing. I would appreciate any suggestions/assistance anyone can offer to resolve these black screens. I really don't want to have to reinstall unless my VM setups can stay untouched. Of course, if there is no solution other than that then I will have no choice.
Since the VirtualBox Manager GUI was already running at this point I was not experiencing any problems with that, but weird behavior started occurring when I tried to go back into the Ubuntu VM. The start-up of the Ubuntu VM seemed normal and I would get all the way to the login screen but once I entered the password the screen then went black and did not show a cursor and did not respond to mouse or keyboard. All I could do was use the manager to end that session. I tried this several times with the same result every time. I then decided to close the Virtualbox Manager GUI and get back in to see if that would solve the problem. Wrong! That is when I first started experiencing two black screens, the first one that popped up may have been the manager attempting to open and display and the second one popped up seemingly simultaneously had a window title of VirtualBox - Warning. While these screens were being displayed my host machine was unresponsive to mouse and keyboard. After a few seconds more those screens close and my host machine is once again responsive. At this point I thought maybe a reboot of my host machine might help. Nope! Same problems occur.
I found that I can use the CLI to start my XP VM and it still runs flawlessly. I can also use the CLI to start the Ubuntu VM and it still follows the same problematic behavior mentioned above. I don't know if the two problems are related (black screen in Ubuntu VM and black screens when starting Virtualbox Manager GUI) but they both started occurring around the same time so it seems possible. I do not see a log for the Virtualbox Manager itself and I do not see anything obvious in the log for the Ubuntu VM though I have uploaded a zipped copy here. I have not been able to find any postings here relating to this problem and Google hasn't got anything for me either.
Don't know if the following information would be relevant but here it is. My XP VM setup is all on my host's main drive. My Ubuntu VM setup has the VDI on a secondary drive and is set up quite large (dynamic 1.3TB on a 3TB drive) though it currently is only using 11.3GB. The shared folder for the Ubuntu VM is also on that same drive. I have had (what I would consider) unusual behavior with that drive when used with qBittorrent where if I don't open some file (any file) before opening qBittorrent (which is configured to download to that drive) then qBittorrent's internal torrent lists display as incomplete and I have to close it, access some file and then when I reopen it qBittorrent then displays all the lists correctly. There is probably some setting in Ubuntu that I need to change to make that drive visible all the time and I'm hoping it is not related to the drive spinning down for inactivity as I am a big fan of drive's spinning down for many reasons. Anyway, I have accessed other files on that hard prior to running the VM but it does not seem to make any difference.
Anyway, I hope my confusion is not too confusing. I would appreciate any suggestions/assistance anyone can offer to resolve these black screens. I really don't want to have to reinstall unless my VM setups can stay untouched. Of course, if there is no solution other than that then I will have no choice.