I have OpenSuse Tumbleweed GNOME on my laptop.
It was working fine till yesterday. I was configuring some neovim files. Today I can’t login into the system. I enter the password, no error is shown, a black screen comes up and the login screen is shown again.
I did not do any updates nor messed with any system config files. It happened once before but I did not think much of it and did a clean reinstall. KDE used to work fine but I want to use GNOME. Any way to fix this?
Thanks.
EDIT: Snapshots do not work. Can’t login even in them.
From the GDM login screen, can you start a working Gnome X11 session? Any other desktop environment?
From a VT login in as a user and try launching Gnome using… QT_QPA_PLATFORM=wayland XDG_SESSION_TYPE=wayland dbus-run-session gnome-session > gnome.log 2>&1
Does that result in a working graphical session? If not examine gnome.log for errors.
Found my mistake. I thought I did not edit any system files but I did. The mistake was adding exec zsh in my .bashrc file. I did a login through VT and it showed a msg for not even a second ( did a slo-mo vid) and found out that it showed -bash: exec: zsh: not found
SOLUTION: Open Advanced boot OpenSuse Tumbleweed (something something) from grub menu > boot into recovery mode > enter root password > vi /home/[username]/.bashrc or vi/nano into wherever your .bashrc is > remove the exec zsh line from .bashrc > reboot
Now that I know,I might have added exec fish in the previous install in which I was having the same issue.