30

Before the upgrade I was using gnome on Ubuntu 16.04 with lightdm and it worked fine. After upgrading to Ubuntu 18.04 I switched to gnome gdm3. On the first day I could login to my user account, configure gnome and so on. However on the next day when I tried to login for the first time, the login screen just comes back again and when I try it for a second time it just freezes. Can someone help me with this problem?

In advance thanks for help.

UPDATE: I switched back to lightdm and it works just fine. However I would still like to use gdm3 because I like it more. How could I do this?

Masqueey
  • 145
L. Klimas
  • 303

1 Answers1

28

You need to install your graphics drivers.

On your login page, press CTRL+ALT+F2

Enter your credentials and use the below commands (if you're using Nvidia graphics card)

sudo add-apt-repository ppa:graphics-drivers/ppa 
sudo apt-get update 
sudo apt-get install nvidia-390

If you're using some other graphics card then use

sudo ubuntu-drivers devices

to find out your recommended driver - as suggested by Joe.

Jeff
  • 1,724