Same problem here on Ubuntu 26.04.1 with an SSSD smartcard (PKCS#11
token, AD certificate).

Versions:
  gnome-shell 50.1-0ubuntu1.5
  gdm3        50.1-0ubuntu0.1
  sssd        2.12.0-1ubuntu5.6
  /etc/pam.d/gdm-smartcard -> gdm-smartcard-sssd-or-password

Symptom: on the lock screen, with the token plugged in, the prompt shows an
empty field with no label (neither PIN nor password) and accepts no input.
Pressing Escape does not help. Unplugging the token gives the password
prompt back, and the password unlock works.

What I checked:
- p11_child reads the certificates fine and SSSD is online.
- There is no pam_sss(gdm-smartcard) activity at all during the attempt:
  the smartcard conversation never reaches PAM.
- It is not the fingerprint service: the reader here is not supported by
  fprintd, and the problem is the same with
  org.gnome.login-screen enable-fingerprint-authentication=false.
- Reproduced on 2026-11-26 on a fresh lock (Super+L).

gnome-shell logs this at each attempt; the prompt resets itself in a loop
(_beginVerification -> _generateMechanismsFromDiscreteServices ->
setForegroundMechanism -> reset -> _beginVerification):

Unhandled promise rejection. [...] Stack trace of the failed promise:
  _startService@resource:///org/gnome/shell/gdm/util.js:933:24
  _beginVerification@resource:///org/gnome/shell/gdm/util.js:1060:14
  _openReauthenticationChannel@resource:///org/gnome/shell/gdm/util.js:711:14
  async*begin@resource:///org/gnome/shell/gdm/util.js:306:18
  begin@resource:///org/gnome/shell/gdm/authPrompt.js:1044:28
  reset@resource:///org/gnome/shell/gdm/authPrompt.js:998:14
  
_onForegroundMechanismChanged@resource:///org/gnome/shell/gdm/authPrompt.js:649:18
  setForegroundMechanism@resource:///org/gnome/shell/gdm/util.js:825:14
  setForegroundMechanism@resource:///org/gnome/shell/gdm/authPrompt.js:925:28
  setActiveItem@resource:///org/gnome/shell/gdm/authMenuButton.js:202:14
  
_onAuthMechanismsListChanged@resource:///org/gnome/shell/gdm/authPrompt.js:505:14
  
_generateMechanismsFromDiscreteServices@resource:///org/gnome/shell/gdm/util.js:1389:18
  _beginVerification@resource:///org/gnome/shell/gdm/util.js:1062:14
  [...]

This looks like the same re-entrant reset described in LP: #2170508
(smartcard conversation cancelled right after it starts, uncaught promise
rejection in _startService). The resolute debdiff attached there targets
exactly our version (50.1-0ubuntu1.5). Could it be considered for an SRU,
so that it fixes the lock screen case reported here as well?

I can test a proposed package if that helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2161662

Title:
  smartcard auth breaks lockscreen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/2161662/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to