Ubuntu – Ubuntu 18.04 freezes

18.04freeze

Recently I upgraded my laptop from Ubuntu 16.04 LTS to 18.04 LTS. Everything is working perfectly fine but my computer freezes while doing something, dealing with virtual machines to be more specific. The mouse cursor moves but nothing on desktop responds. If I press Ctrl+Alt+F1, it locks the system and once I unlock the system again, everything remains frozen as it was.

I would provide any information if necessary. Also, I didn't had such issue in Ubuntu 16.04.

Best Answer

Virtualbox recently had a few problems with newer kernels. It might be worth trying to use the latest version directly from virtualbox.org.

To do so, please uninstall the Ubuntu version of Virtualbox, e.g. using apt:

$ sudo apt remove virtualbox

Then, download the package file from virtualbox.org and install it using a package manager of your choice, e.g. using dpkg:

$ sudo dpkg -i virtualbox-5.2_5.2.12-122591~Ubuntu~bionic_amd64.deb

Make sure all necessary dependencies are installed:

$ sudo apt-get install -f

Reboot and try running your VM again.

Related Question