Terminating non-active session causes switch to greeter and drops exclusive keyboard access from active session
I have two sessions running, one default wayland gnome session and one jhbuild xorg gnome session. If I now from the first session sudo kill -9
the systemd user session instance of the jhbuild session, this triggers a switch to the gdm greeter despite the terminated session not being the active one.
This itself is already an issue, but it also triggers another problem that may or may not have the same underlying cause. So once this has happened and the greeter has started and I switch back to the default gnome session that is still running, this session seems to have lost the exclusive keyboard access. Using the session seems to work fine until I press something like alt+f4, which switches to a different VT or ctrl+c which terminates the session.
Fedora 33: systemd: 246.6-3.fc33 gdm: 3.38.1-1.fc33 gnome-shell: 3.38.1-2.fc33 mutter: 3.38.1-1.fc33