Ubuntu 20.04 system hangs in VirtualBox (6.1.18)

The Ubuntu 20.04 hangs or freezes after some time running in VirtualBox. The screen gets black with cursor seen. There is not possible to get the system back working. The only way is to restart the system.

Environment details.

  • VirtualBox: Wersja 6.1.18 r142142 (Qt5.6.2)
  • Ubuntu: Ubuntu 20.04.2 LTS

In the Ubuntu system there is a message related to that issue:

$ cat /var/log/kern.log
Feb 11 09:16:04 nagardv kernel: [   39.778304] Initializing XFRM netlink socket
Feb 11 09:16:16 nagardv kernel: [   52.349954] [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Feb 11 09:16:16 nagardv kernel: [   52.350002] [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Feb 11 09:16:16 nagardv kernel: [   52.380698] [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Feb 11 09:16:16 nagardv kernel: [   52.380716] [drm:vmw_msg_ioctl [vmwgfx]] *ERROR* Failed to open channel.
Feb 11 09:16:21 nagardv kernel: [   57.684127] rfkill: input handler disabled

To avoid this issue turn off 3D acceleration in VirtualBox. To do this go to the virtual machine settings, click Display and uncheck “Enable 3D Acceleration”:

Leave a Reply