When I boot Manjaro LiveCD virtual machine it shows black screen instead of GUI.
Xorg-logs show the following output:
[ 23.427] (II) VESA(0): initializing int10
[ 23.428] (EE) VESA(0): Cannot read int
When creating Linux virtual machine by default you have got VirtIO GPU and virtio_gpu.ko kernel module set (starting from kernel 4.2 v.), Manjaro uses MHWD utility to configure X-server which in this scenario causes DDX-driver modesetting_drv load failure.
You can fix this using one of the following methods.
- Shut down Linux machine to be able to edit configuration settings.
- Find its .pvm bundle on the Mac.
- Right click (double tap) on .pvm bundle > select Show Package Contents > right click (double tap) on config.pvs file > select Open With > TextEdit.app.
- In the opened TextEdit file press CMD + F to get the access to a Search bar.
- In the appeared Search bar type in VideoMemorySize and hit Enter to get redirected to the correct setting.
- Change <Type>1</Type> to <Type>0</Type> so it will look like this:
NOTE: if Type is already set to 0, proceed to the next method.
Close the file and Save it to apply changes.
Launch Linux virtual machine.
- Launch Manjaro and open Command Line to change kernel startup parameters.
- Enter the following commands:
- Boot Manjaro from the main menu
- Launch Manjaro and load to the point where you see black screen.
- On Mac menu bar find Parallels Desktop logo > Devices > Keyboard > choose Ctrl+Alt+F2 from the list to open an additional virtual Terminal.
- Enter credentials for Manjaro, then proceed with the following command to remove the incorrect X-server config and DDX-driver vesafb:
sudo mhwd -r pci video-vesa
- Return to the primary Terminal by going to on Mac menu bar find Parallels Desktop logo > Devices > Keyboard > choose Ctrl+Alt+F1 this time.
Wait for X-server to auto-restart, it may take several seconds.