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?

  • 1
    I am also having a problem with gdm3 and I have to use lightdm with 18.04. Log out and log in with another user will result into same blank screen. I can log in after boot however and funny enough with the same user I previously logged out. It will not make any difference with wayland or xorg. I tried to edit /etc/gdm3/custom.conf and uncomment: WaylandEnable=false (someone had this idea), but that resulted into freeze after log out even before selecting a login user.
    – Heikki
    Apr 30, 2018 at 14:32
  • 1
    I confirm the same issue on my lenovo yoga pro 3 - which means no nvidia - and some other entries related to this issue suggested it may be caused by nvidia May 1, 2018 at 7:32
  • I,m using integrated video card because there is no drivers for my amd radeon r7 m260. So it doesn't really help me
    – L. Klimas
    May 1, 2018 at 9:28
  • This answer to the aforementioned question could be useful to you.
    – Elder Geek
    May 1, 2018 at 22:47
  • My Dell Inspiron 7559 has the same problem. Have rebooted 100 times, the system always freezes immediately after I input my account password except only once it magically works. I can log in after I switched to lightdm.
    – HD189733b
    May 2, 2018 at 23:54

1 Answer 1


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.

  • I was trying to search for video drivers for my amd radeon r7 m260 but i can not find any for ubuntu 18.04
    – L. Klimas
    May 1, 2018 at 9:31
  • 1
    You can try installing the one which you used for your previous version of Ubuntu. May 1, 2018 at 9:31
  • The funny part is that on Ubuntu 16.04 (that i had before) the drivers for my video card were not working properly, however i read that 17.10 drivers worked for that specific video card. At the moment amd webpage doesnt really give any good drivers for my video card.
    – L. Klimas
    May 1, 2018 at 9:37
  • Okay try this, it worked with my Nvidia graphics card. Use the settings button on login page and select "Ubuntu on Wayland" and then try logging in. It should show your desktop in a few minutes. Remember to give it time for the first login. May 1, 2018 at 19:55
  • 7
    Use sudo ubuntu-drivers devices to find out your recommended driver.
    – Joe Eifert
    May 5, 2018 at 18:14

Not the answer you're looking for? Browse other questions tagged .