Public bug reported:

[ Issue ]

* Ubuntu 24.04.3 gnome-shell 46.0-0ubuntu6~24.04.12 (Also tested Ubuntu 26)
* At gdm login screen insert smartcard for smartcard authentication

  Expected: gdm shall prompt for pin
  Actual: gdm displays a disabled input box with no text (need to press back 
button to "reset" and then gdm prompts for Username, press [Enter], then gdm 
prompts for PIN, see recording [1]. Also an unhandled promise rejection can be 
found in the log attached

Stack trace of the failed promise:  
       _startService@resource:///org/gnome/shell/gdm/util.js:926:24
      ...

[ Test Plan ]

* Follow steps in test plan https://wiki.ubuntu.com/DesktopTeam/TestPlans/GDM
* For smartcard I suggest

1. Configure setup with smart card authentication following this tutorial
2. Ensure smart cart authentication works, plugging in the card both before and 
after gdm has been started following
    1. Insert smartcard (before and after gdm started)
    2. gdm shall prompt for PIN
    3. Enter correct PIN
    4. Successful login
3. Once logged in, unlocking the screen should work with smart card

[ Regression ]

* gdm issue may be related to introduced Ubuntu patches, this issue does not 
exist in Debian 13, some more details in [2]
* Unnecessary prompting for Username may be related to pam config, see [3] and 
may also be tracked in [3] but the user experience is affected by this (works 
as expected on example Fedora, Debian has same issue)

[ Other info ]

* Links:

[1] - Recording of issue https://drive.proton.me/urls/V723E5TS2C#bqYHCv8w0Va6
[2] - My Launchpad question on the issue with patch workaround 
https://answers.launchpad.net/ubuntu/+source/gnome-shell/+question/823369
[3] - gdm-smartcard pam config denies legitimate users, prompts for username 
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1986750

** Affects: gnome-shell (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "log"
   https://bugs.launchpad.net/bugs/2138543/+attachment/5939589/+files/gdm.log

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

Title:
  Smartcard authentication broken: gnome-shell throws on unhandled
  promise rejection

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


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

Reply via email to