After (presumably) the Gnome 50 update I am stuck in a login loop at my login screen. (Presumably because there also have been other updates, so can’t be 100% sure.) I am using opensuse tumbleweed.
For now I reverted back to an old snapshot from yesterday and everything is working as expected, but these are the things I found out while being stuck in the broken system:
The main error I could identify is:
Apr 13 07:31:19 nyy gnome-session-i[3979]: A graphical session is already running!
Apr 13 07:31:19 nyy systemd-coredump[4409]: [🡕] Process 3979 (gnome-session-i) of user 1000 dumped core.
When I logged into tty and ran loginctl list-sessions I could always see myself, gdm-greeter and a “manager”. Not sure if the manager shouldve run? I killed my session in various ways but still this error fired every time I tried to log in.
gnome-session --wayland works and I can see all the new gnome features in there, but from there I can’t log out and in the list-session it still listed this as a tty session.
I also tried disabling all my extensions and even deleted all my gnome settings, both things didn’t help.
Something weird in your setup, that command spits out a “Unknown option --wayland” and aborts with a core dump here (with i+ | gnome-session | package | 50.0-1.1 | x86_64 | repo-oss).
So check that you are using gdm as display manager, that it is upgraded to 50, that you choose “gnome” at the login screen (and not some remnant from previous installs) and remember that Gnome 50 completely abandoned X11, so if you have old configs or sessions around (possibly locked?) try to clear them.
EDIT: and maybe try gnome-session-quit if you cannot kill that odd session.
@nyy also how are you upgrading the system? Likewise, I would suggest switching to a tty, log in as root user, run systemctl isolate multi-user.target then run zypper -vvv dup then reboot.
To add the logout option in GNOME 50, as your user run gsettings set org.gnome.shell always-show-log-out true
So in the gdm login screen you should still be able to choose icewm for a minimal desktop (check the cog wheel in the lower right corner), then check and post here:
zypper se -si gdm gnome-shell gnome-session mutter
# GDM configuration storage
#
# Note: settings from /etc/sysconfig/displaymanager have a higher priority
#
[daemon]
# Uncomment the line below to force the login screen to use Xorg
#WaylandEnable=false
[security]
[xdmcp]
[chooser]
[debug]
# Uncomment the line below to turn on debugging
#Enable=true
No old extensions? Maybe just comparing the configs for the old and new user shows something interesting? Starting with ~/.profile and ~/.ICEauthority ?
The profile is almost the same, the one on my original user just has the things to get pyenv working… I commented it out just in case, but still can’t login. I can’t find any ~/.ICEauthority file on either account.
I renamed my config folder to back it up and let the system create a new one… and… I can now login again…! To this new folder, I copied over most of my old configs again that I feel like I need and everything still works. I have no idea what the issue was but it seems like it works now. Thanks for the help and the troubleshooting!
Nice to see you are in business again, meanwhile I was looking at ~/.config/dconf/user which could store old tweaks that no longer apply to the new wayland-only Gnome…
But my last resort was exactly what you did. Just keep that backup around, just in case