Tuesday, July 9, 2019

Ubuntu with 4.15 Kernel in VMWare Shows Blank Screen without Login Prompt

Today I upgraded my Ubuntu installation in VMWare Workstation 12 Player. After the upgrade, Ubuntu rebooted, but it showed only a blank screen without a login prompt.

It turns out that this is a known bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1832138. To fix this, I did the following:

1. Restarted the client VM and set keyboard input focus in the VM window by clicking the left mouse button in it.
2. Pressed the shift key while the VM was restarting.
3. Selected the 4.15 version as the recovery instance from the menu of boot options.
4. When a list of options for recovery modes were shown, selected to login as root.
5. Pressed the enter key when a prompt showed up and went to the root prompt.
6. Edited /etc/gdm3/custom.conf with "vi".
7. Removed the "#" at the front of the line #WaylandEnable=false to un-comment it. Saved the change.

Then I restarted the VM.

The login prompt came back, and I am now able to login again.