Is there any reason the login window would stop working and start looping? I'm running 18.04. I normally RDP into the ubuntu box, but that isn't working now. Using a keyboard and mouse, I see my username on the monitor. I type in my password. Then the screen goes blank for a few seconds... and I'm back to the login screen where my username is. I'm not getting through to my desktop!

I haven't messed with the machine except for the following, but, I'm not sure why any of these would impact the loginscreen.

But none of these messed with the login manager. Does anyone have any idea what could be up? Interestingly, nearly all of my docker containers (portainer, heimdall, tatulli, sonarr, radarr, pihole) work, with the exception of anything using ssl (plex and cockpit). I'm guessing somehow the firewall blocked port 443, but I'm not sure why that would stop me from logging into the box using a keyboard and mouse...

Any help/insight is greatly appreciated!

EDIT1: I tried creating another user via

sudo useradd -d /home/testuser testuser  
sudo passwd testuser

but the login manager still throws me for a loop

EDIT2: I've disabled the firewall via

sudo ufw disable

and I reversed the system-resolved.service work, but still no luck :(


I've almost done all suggestions here, but none of them didn't work. Also gd3 reconfigure has no effect. But I had suspected to my last gnome extensions.

The system-monitor@paradoxxx.zero.gmail.com was the problem. So I disabled all gnome extensions to solve login loop as following steps:

  1. Press Ctrl+Alt+F2 or Ctrl+Alt+F3 or ...
  2. Enter your username and password
  3. cd ~/.local/share/gnome-shell/
  4. mv extensions extensions.bak
  5. mkdir extensions
  6. Press Ctrl+Alt+F1
  7. Login and Thanks God

Hope help somebody else. I almost worked full day to find this solution.

PS: I've installed my favorite extentions again and I have to tell you Login Loop disaster in ubuntu has wide variety causes. So try to find your special cause and solve it.

  • This worked for me. I had an out-of-date extension (workspace-grid@mathematical.coffee.gmail.com). Copying all extensions, then adding them back one-by-one (I only had two, so it was easy) allowed me to identify this as the culprit. Thank you! – Kryten Jan 22 at 23:12
  • After two days of frantic googling re "18.04 login loop after software update" and trying all standard recipes to no avail I found your above extensions suggestion. Saved me! For me also the workspace grid. Thank YOU! – Rob Rutten Feb 1 at 16:04
  • @RobRutten , @ Kryten Happy it helped you. Thanks God :)) – Khalil Laleh Feb 2 at 8:40

Looks like it may have been related to "upgrading" from 18.04 to 18.04.01: No login screen after ubuntu 18.04.1 update

In any case, doing the following fixed it for me:

systemctl stop gdm.service  
systemctl restart gdm.service  
sudo dpkg-reconfigure gdm3  

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.