Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ubuntu 18.04 freezes after login [closed]

Tags:

ubuntu

login

Yesterday I installed Ubunted on my laptop (Dell XPS 15 9560) and the installation went fine. I plugged in the USB and created an ext4 partition, made a user with a password and everything.

Then I boot up Ubuntu, it takes me to the log in screen, I type my password, and then all the UI except the mouse (which is frozen) disappears and nothing happens.

I have tried reinstalling the desktop with sudo apt-get install --reinstall ubuntu-desktop and udating the Intel graphics driver, both of which didn't help

(this is my first time asking a question here, so please go easy on me)

like image 470
Oskar Andersen Avatar asked Oct 05 '18 05:10

Oskar Andersen


1 Answers

I got it working on my own. It was throwing this error:

NMI watchdog: Watchdog detected hard LOCKUP on cpu 2

watchdog: BUG: soft lockup - CPU#* stuck for 22s!

I followed this video: https://www.youtube.com/watch?v=nPprHes-K_Y and it solved my problem.


EDIT:

The video describes editing the grub configs. You can either do this by pressing 'e' while in grub menu or by dropping into recovery mode and editing the /etc/default/grub file:

To the GRUB_CMDLINE_LINUX_DEFAULT, add nouveau.modeset=0

like image 57
Oskar Andersen Avatar answered Sep 22 '22 00:09

Oskar Andersen