I have VirtualBox with two working virtual machines(VM): Windows and Linux Mint. I created new VM for the latest Linux Mint 19.3 which was installed successfully but after reboot the screen was black. No matter of changing or resizing the window. I decided to install the older working version and see if the problem is solved. But again - successful install followed by black screen after boot of the machine. The old machine were working fine.
So after short investigation of the problem I found several possible problems and solution which I decided to wrap up in article. Some of them are related to dual monitor setup, others to incorrect graphic settings. Please find them below.
The logon screen looks normal. After login in, however, the screen becomes black and remain black, while VBox manager preview showing the desktop. Tried various suggestions, the only thing that works is to disable 3D acceleration for guest OS (Linux Mint18). Guest addition update has no effect. I find you can use the task manager to remove the vbox video driver in the black screen and restart to get everything back. After install vbox guest, boot into your os with black screen 2. Machine–Insert ctrl-alt-del to open the task manager, switch to detail mode 3. File - New Task- Browser goto C:WindowsSystem32drivers 4. Here are the steps used to recover: boot the VM, the screen should be black. Ctrl + F2 - a console login screen should be visible On virtual box menu, Devices - Insert Guest Additions CD Image. Login to your linux system su (or use sudo whenever required) mkdir /media/cdrom mount /dev/sr0.
It's good idea to ensure that guest additions are installed for this Virtual Machine. If not you can follow how to install them in this article: Ubuntu Linux add VirtualBox Guest Additions
Step #1: Check logs of VirtualBox for errors
The first thing you need to start when you have problems with your programs and VirtualBox in this case are the logs. The logs will help you to find what is causing the problem no matter of the VMs - Ubuntu, Linux Mint or Windows.
in order to see the logs:
Start VirtualBox
Start the VM which has blank screen
Open Logs
right click on the machine
Show logs - CTRL + L
For example:
The logs above are taken when the guest VM Linux Mint has low Video Memory and full screen is activated for resolution: 2560x1440. In this case I can see only the last screen shown from the VM before the full screen. If I escape the full screen the VM starts working again.
or messages like:
which indicates possible problem with BIOS. It highly depends on the VirtualBox version and the hardware - so I recommend for you to test next steps in order to solve blank screen.
Another interesting messages are:
00:00:01.507808 GUI: 2D video acceleration is disabled
00:00:42.162769 GUI: UIMultiScreenLayout::update: GUI/AutomountGuestScreens is disabled
Step #2: VirtualBox Guest Low Video Memory
The only change I did for VirtualBox was to change default folder where the machines are stored(between the creation of the working and not working machines). This can be done by:
File
Preferences
General
Default Machine Folder
After reset to the initial folder the problem was still present. So after quick research I found that virtual memory will cause display issues.
If you need more memory for your Virtual Machine you better go with VMware Player because it has limit of 2 GB of Graphics memory while VirtualBox is 128 MB. If you plan to play games especially you can check these links:
Increase VM Graphics Memory
Stop the VM
Select the problematic VM
Settings(Right Click)
Tab Display
Increase the Video Memory to 128 MB (or something higher than initial 16 MB in my case)
Start VM and the problem should be resolved
Step #3: VirtualBox Change the Graphics Controller
This option works only for VirtualBox 6 (the option is not present in VirtualBox 5 and before). You can check the version of the VirtualBox by:
start it
Help
About VirtualBox - then you will see something like: 5.2.34 or 6.0.14
Virtualbox Black Screen Ubuntu
Many complaints are reported for problems related to Graphic Controller which can be changed by:
Stop the VM
Select the problematic VM
Settings(Right Click)
Tab Display
Graphics Controller
select VBoxSVGA
So if you are running VirtualBox 6 and you have VBoxSVGA as display controller than you can try by increasing the video memory(step 1).
Step #4: Disable Hyper-V
Since VirtualBox 6 there are other changes which might cause blank screen and new notifications. For example if Hyper-V is enabled but not able to use the load of the Virtual Machine will be slow. Icon for green turtle will be shown in the notification area of VirtualBox as shown below.
In this case you need to disable Hyper-V:
Stop the VM
Select the problematic VM
Settings(Right Click or from the menu)
Tab System
Acceleration
Hardware Virtualization
Change it to default in case it was changed:
Step #5: Multiple monitors, full screen, drivers and resolution
Another possible reasons for blank images of your machine might be:
Multi-monitor Setup
In case that you have multiple monitors but settings in the VirtualBox show warning or bad configuration. Open and verify that information in display tab are correct about: Monitor Count. You can also test with single monitor setup and see if the problem is still present.
Full Screen
Kali Linux Black Screen On Boot Virtualbox
Virtual machine which works fine in window can stop responding after going into Full Screen or Seamless mode. In this case you need to escape the VM from Full screen mode. This can be done by clicking the menu bar - button maximize or minimize as shown on the picture below:
Virtualbox Black Screen On Boot Windows 7
Note: Sometimes the menu is hidden and you it should be shown by mouse hovering on it. In most cases is hidden in the bottom or top middle.
Drivers
As always is good idea to have latest version of Video Drivers for you Linux Mint installation. The latest driver available should be: nvidia-driver-435. If you have problems installing latest graphic drivers for Ubuntu or Linux Mint please check this article: Install Latest NVidia Drivers - Ubuntu and Linux Mint
Resolution
In case that your harder is older or the machine has low performance profile - you can try to decrease the resolution for the guest machine.
Bonus #1: Check VirtualBox for warnings
Sometimes VirtualBox will show warnings in case of bad settings. You can check tabs: Display and System. Below you can find example of warning showing: Invalid settings detected:
The warnings can help if there is problem with:
Monitor Count
Video Memory
Invalid Storage
Virtualization
But some errors are not so obvious - in this case best is to check the logs (as described in step 1).