Context : I multi-boot different GNU/Linux-based operating systems with a shared $HOME
mount partition. My current list is : Debian, Ubuntu, Solus, Fedora.
Last week, I re-installed both Ubuntu and Fedora to the latest releases. Since then I haven’t been able to login to the wayland sessions on either OSes. Xorg session on ubuntu works but not on Fedora. Both OSes run the latest GNOME Shell 3.36.1
This affects only my primary user ( the only one that exists and the only one that I use ) on the system. For testing purposes, I created another test
user who is able to login to their wayland session without any issues.
Looking at the journal
, I found this weirdness when I attempted to login with my primary user.
ubuntu
:
Apr 30 02:09:13 /usr/lib/gdm3/gdm-wayland-session[9811]: grep: unrecognized option '--session=ubuntu'
Apr 30 02:09:13 /usr/lib/gdm3/gdm-wayland-session[9811]: Usage: grep [OPTION]... PATTERNS [FILE]...
Apr 30 02:09:13 /usr/lib/gdm3/gdm-wayland-session[9811]: Try 'grep --help' for more information.
Apr 30 02:09:13 dbus-daemon[9378]: [session uid=1000 pid=9378] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.2' (uid=1000 pid=9798 comm="/usr/libexec/gnome-session-binary --systemd -l --s" label="unconfined")
Apr 30 02:09:13 systemd[6023]: Starting Virtual filesystem service...
Apr 30 02:09:13 dbus-daemon[9378]: [session uid=1000 pid=9378] Successfully activated service 'org.gtk.vfs.Daemon'
Apr 30 02:09:13 systemd[6023]: Started Virtual filesystem service.
Apr 30 02:09:13 gnome-session-b[9798]: Unknown option -l
Apr 30 02:09:13 gdm-password][9736]: pam_unix(gdm-password:session): session closed for user shine
Apr 30 02:09:13 gdm3[932]: GdmDisplay: Session never registered, failing
fedora
Apr 29 23:50:37 systemd[1]: Started Session 7 of user shine.
Apr 29 23:50:37 gdm-password][3445]: pam_unix(gdm-password:session): session opened for user shine by (uid=0)
Apr 29 23:50:37 gdm-password][3445]: gkr-pam: gnome-keyring-daemon started properly and unlocked keyring
Apr 29 23:50:37 audit[3445]: USER_START pid=3445 uid=0 auid=1000 ses=7 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='op=PAM:session_open grantors=pam_selinux,pam_loginuid,pam_selinux,pam_keyinit,pam_namespace,pam_keyinit,pam_limits,pam_systemd,pam_unix,pam_gnome_keyring,pam_umask acct="shine" exe="/usr/libexec/gdm-session-worker" hostname=divine-inifinty-black-hole-gamma-lap addr=? terminal=/dev/tty4 res=success'
Apr 29 23:50:37 audit[3445]: USER_LOGIN pid=3445 uid=0 auid=1000 ses=7 subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 msg='uid=1000 exe="/usr/libexec/gdm-session-worker" hostname=? addr=? terminal=? res=success'
Apr 29 23:50:37 gnome-session-b[3483]: Unknown option -l
Apr 29 23:50:37 gdm-password][3445]: pam_unix(gdm-password:session): session closed for user shine
What is that Unknown option -l
that is thrown by gnome-session-b[inary]
?
I looked very hard to find any reference to a -l
flag on the internet, but couldn’t find any. Even my Debian buster install ( GNOME Shell 3.30.2
) doesn’t have it.
Considering that this affects only my existing user and it’s the same error on both OSes, it should be hidden somewhere within my $HOME
directory. I did dig around in $HOME/.config
and $HOME/.local
, but couldn’t find anything consequential. I’ve been scratching my head at this for 2 days now. Can someone please point me in the direction of where to look?
I have a couple of ubuntu-specific ‘session_migration
’ files in $HOME/.local/share
, but that just seem to be a list of migrations that is probably for tracking metadata or something. And it has nothing about any login / GDM-related migrations either.