Virtualbox Getting A Black Screen For Mac Os X



VirtualBox, 3D acceleration & black screen - Solution
  1. And fixing full-screen display on VirtualBox, and Fixing full-screen display on VMware Workstation. Therefore, the guides which I am going to show in this article even more than that. So, follow the steps in order to not face such sorts of errors on macOS Mojave on Virtual machine.
  2. For people with the black screen problem or Guro Meditation error, change the operating system version from macOS 10.13 High Sierra (64-bit) or macOS 10.12 Sierra (64-bit) to just the Mac OS X (64-bit). If the error still exists, switch the Video Memory Size to 128 MB from Virtual machine settings.
  3. On VirtualBox, such as 1920 x 1080 and this related article, worked for some heavy users of macOS operating. Below you can see the full article about this solution of macOS High Sierra screen resolution. Fix macOS High Sierra Screen Resolution on VirtualBox.

Updated: January 21, 2019

Virtualization is a nice, convenient technology that lets you incept your operating systems - you run an operating system on top of another, a computer inside a computer, and this means flexibility, legacy support, ability to test software on multiple platforms, isolation, and then, somewhat limited support for fancy graphics.

So I was having a hard time with getting the command key to work when trying to use keyboard shortcuts in a OS X virtual machine on Windows 10. So I was trying to see if the shortcut Command + Space to open Spotlight would work.

For a few years now, VirtualBox has had the option to enable 3Dacceleration in virtual machines, which can help provide a smoother experience, as some of the graphics-intensive stuff is done more effectively. There has never been a perfect solution, but it's better than nothing, except those situations where things go wrong. Like enabling the VirtualBox Guest Additions and then getting a black screen on next login. Well, we should rectify that. This tutorial shows how to work out of the black screen situation without reinstalling, and even getting proper 3D acceleration enabled.

Problem

In a bit more detail, you have VirtualBox running, and you've installed an Ubuntu-based flavor as a guest operating system. Natively, Ubuntu does come with a basic set of drivers that offer mouse host-guest integration and screen resizing, but some features like shared folders and/or clipboard sharing might not work. So you will want to install the Guest Additions from the ISO for the full plethora of capabilities. You will then need to reboot or restart the graphical section to get it working. But the problem is, you might never get to the next login - you end up only seeing a black screen instead. What do we do now?

Introduction to Linux desktop sessions

Let's begin with some basics. First, create a snapshot of your virtual machine before installing the Guest Additions. This way, you can recover quickly and easily. In a way, this is not difference from having your data backed up and system imaged on a real, physical system before making any big, important changes.

Second, if there are problems with the desktop session login, you might want to get familiar with how the session management is done under the hood. Gnome-based desktops use the Gnome Desktop Manager (gdm) for logins. The actual configuration for each user is saved under:

/var/lib/AccountServices/users/(user)

The file (for each) user will contain declarations that define how the user session starts:

...
[User]
XSession=plasma
SystemAccount=false
...

If you want the system to start with the default session, you can just use a blank XSession entry. Or use something like ubuntu. The names of these sessions correspond to the desktop session files under /usr/share/xsessions/. A typical file will contain the entries needed to start the right process (desktop environment). Something like:

[Desktop Entry]
Type=XSession
Exec=/usr/bin/startkde
TryExec=/usr/bin/startkde
DesktopNames=KDE
Name=Plasma
...

Getting

Another thing to take into account: X11 vs Wayland. The latter may not work that well in a virtual machine environment, so you may want to test the desktop behavior (black screen included) by editing the necessary gdm configuration, and enabling/disabling Wayland. This is done through the /etc/gdm/custom.conf file. In there, look for the following line and comment/uncomment as needed:

#WaylandEnable=false

These are your very first steps in troubleshooting any black screen or login issues. You may also want to consider disabling the automatic login, because if there are session-specific issues related to certain desktop environment, you don't want to be stuck in a constant login loop trying to reach a broken session. And now that we know all that, we can go back to doing our virtual machine stuff.

Solution

We need to recover the desktop first, to actually be able to work. First, to reach a virtual console in VirtualBox, press Right Ctrl (default Host button) + F1-7. This should give you a virtual console inside your guest without conflicting with the host's Ctrl + Alt + F1-7 combo. Unfortunately, you might not even have a virtual console, so this could be quite tricky, but there are a few ways around it, without a need to reinstall. Remember, we don't want to waste time with that.

Second, disable the 3D acceleration. Power down the virtual machine, open its settings, and then untick the right box. Start your machine, and you should be able to reach your desktop without any black screen. This means you have a working system, and you can commit to repairing the broken state properly. In general, the combination of having snapshots, using virtual consoles, and the 3D acceleration toggle should give you enough flexibility to troubleshoot issues of this nature without despairing.


Install VirtualBox Guest Additions from the repositories

All right, so, if you encountered problems using the drivers from the ISO, you will want to try the repo-provided content (while aware of the limitations). First, uninstall the drivers provided through the ISO by rerunning the script with the uninstall option:

sudo /media/(user)/(VirtualBox ISO path)/VBoxLinuxAdditions.run uninstall

Reboot. Now, run the installation from the repository. If you're running Wayland, you need:

sudo apt-get install virtualbox-guest-utils

Virtualbox Getting A Black Screen For Mac Os X 10.8

If you're running X11 (most likely, especially inside VirtualBox), you need:

sudo apt-get install virtualbox-guest-x11

Power down the machine again. Toggle the 3D acceleration back on. Start the virtual machine, and it should work well. This is the first step toward achieving our goal. The settings are in place, and the desktop is working as expected.


Is 3D acceleration actually working?

But we still don't really know if we have the 3D acceleration enabled in the guest operating system. The easiest way to check this is with the glxinfo command, which is part of the mesa-utils package.

sudo apt-get install mesa-utils

And then run glxinfo, and check whether direct rendering is used:

glxinfo | grep direct
direct rendering: Yes
GL_ARB_direct_state_access, GL_ARB_draw_buffers,
...

If the output says Yes, then you have 3D acceleration. Congratulations. Now, it might not be as smooth or fast as native drivers, but we're getting there. The most important thing is, no black screen. With this method, you won't have shared folders and the other advanced stuff I mentioned earlier, but there are ways around that, too, as we shall talk about in a future tutorial.

Conclusion

There was a lot of stuff here, but hopefully, all of that was good and fun. We focused on how modern Linux systems manage desktop sessions. We also learned how to toggle Wayland on and off. Then, we talked about the differences between the ISO and repo-provided drivers, how to use them, and various methods to keep your system in a robust shape, so if things do go wrong, you can recover quickly.

3D acceleration is slowly, gradually getting better in virtualization products, making them ever more useful. Sometimes, the complexity of the stack may rise against you. But even when things look rather bleak - and it looks like your desktop is busted, there are nice, elegant ways to work around them. We want to be efficient and non-destructive. Today, mission accomplished. See you later, virtual gator.

Cheers.

Like the previous topic as I explained the method of solving the screen resolution of macOS Catalina 10.15 in VirtualBox. Therefore, here I will show the new method which is simple and properly working. As I have tested on my computer. After installing macOS Catalina on your Windows it is a known issue, that you can not use HD size of screen resolution on your computer. However, most of the operating system while we are installing on VirtualBox on any other platform of Virtual machine. You will ask to solve or fix the screen resolution, no worries in here I will show you How to Fix screen resolution of macOS Catalina on VirtualBox with the new method.

How to Fix screen resolution of macOS Catalina on VirtualBox new method

However, the installation process of every operation is separated from each other. And you need to focus on your Windows and computer, for installation you need a better computer with high graphics. Moreover, installing two or more than two operating systems can be a bit heavy on one computer. In that case, if you want to install macOS Catalina on Virtual machine on Windows. You should have a computer consisted of 8GB RAM, and High Core Processor, plus Graphic Card. That time you can have a better performance of macOS latter of the newer version.

Sometimes, it can happen that the methods. You are trying to on macOS Sierra, macOS High Sierra, or macOS Mojave. But that method could not work on macOS Catalina, because macOS Catalina is the new, and heavy operating system of Apple Inc. In my case, I faced such kinds of issues, but after researching too much I find the solution to fix that.

Virtualbox Getting A Black Screen For Mac Os X

How to Fix screen resolution of macOS Catalina on VirtualBox with the new method

Virtualbox Getting A Black Screen For Mac Os X 10.7

If you are not a blogger or you are not writing any sort of article. Therefore, there are different sorts of platforms or Virtual machines. Such as you can install the macOS operating system on Windows, or installing Windows on macOS with the help of Virtual machines. However, in the current era, there are two Virtual machines that are popular and known, like VirtualBox and VMware Workstation. And I recommend you to use VMware, because the process of creating a Virtual machine, and installation is easy than VirtualBox. During the installation of macOS Catalina of macOS Mojave if remembered you faced too many errors. Below I will provide you a hint to solve those errors in macOS Catalina and macOS Mojave.

Related Article:

Virtualbox Getting A Black Screen For Mac Os X 10.13

Fix screen resolution of macOS Catalina on VirtualBox

After completing the installation of macOS Catalina on VirtualBox on Windows. By default, you will face the screen resolution of 1024×768, and you can change that screen resolution. Just by adding some codes through command prompt on the existed macOS Catalina which currently installed on your computer. Before going to start this process your VirtualBox should be updated to the latest version. And below you can check the screen resolution, which you want to change in VirtualBox.

  • 640×480
  • 800×600
  • 1280×1024
  • 1440×900
  • 1900×1200
  • 1280×720 (HD)
  • 1920×1080 (FHD)
  • 2560×1440 (QHD)
  • 2048×1080 (2K)
  • 3840×2160 (4K)
  • 5120×2880 (5K)

Copy the codes of screen resolution:

Step #1. In the first step open VirtualBox and select the created Virtual machine of macOS Catalina, then go ahead see the name of Virtual machine.

Virtualbox Getting A Black Screen For Mac Os X 10.10

Step #2. Replace the Virtual machine name with the “VM name” which is mentioned in below codes

Edit the VM Name

Step #3. In this step, you have to select the screen resolution of your computer screen, to select clean N and replace any number of screen resolutions in place of N.

Select your screen resolution

Step #4. Go ahead and press the Windows start menu button, and search for command prompt then Run As Administrator.

Step #5. Here copy and paste the directory command and press Enter button.

Copy and Paste the VirtualBox code

Step #6. Now copy and paste the screen resolution code and press Enter.

Copy the screen resolution code

Be sure that you have replaced the N name in directory command, otherwise you will not be able to run Virtual machine.

Step #7. Go ahead and run the VirtualBox and select the created Virtual machine and Run that. Go to the Apple logo and press on About this Mac, then check the screen resolution.

Bottom Line

At last bottom line, I hope that I mentioned for you the easy way, therefore, it could help you to fix the screen resolution of macOS Catalina on VirtualBox. And you can check our weblog for more beneficial articles, which talked on different titles. However, give us feedback if you are not solving the screen resolution, or subscribe to our blog via your email address to get the notification of our latest updates.





Comments are closed.