unlockDialog: otherUserButton is unclickable when the session is remote
- Environment:
openSUSE Tumbleweed with gnome-shell 3.36.1 and gdm 3.34.1
- Descriptions:
Remote Desktop (eg via vncserver) and multi-seats is broken since GNOME 3.33.9 (related issues gdm#538 (closed), gdm#526 (closed)). However a downstream like openSUSE still has its way to setup a Remote Session by allowing a customized gdm sysconfig to switch the corresponding two options on a headless server (s390), where the setup is usually:
DISPLAYMANAGER_REMOTE_ACCESS="yes"
DISPLAYMANAGER_STARTS_XSERVER="no"
The issue is the remote session's SEAT=null
, so when you lock and unlock the screen under tigervnc, the otherUserButton
of unlockDialog
is unclickable.
It failed to jump to Gdm.goto_login_session_sync(null);
with:
gnome-shell[1915]: JS ERROR: GLib.Error gdm-client: Could not identify the current seat.
_otherUserClicked@resource:///org/gnome/shell/ui/unlockDialog.js:803:13
- Solutions
So my question is: Is switch user under unlockDialog supported when the session is remote?
If the answer is yes, we should fix the above error. And on the other side, we could set the otherUserButton
invisible when the session is remote.