Could not get a login screen at first after upgrading from 16.04. Changed to lightdm and now have a login screen but it seems to be in a loop. I get a flash of the desktop and then it returns to the login screen This is the same whether I use Ubuntu or Wayland or Unity environment
Any help will be appreciated.