gdm was failing to start for me, because smarcard.desktop was missing

Bug #2017780 reported by Dimitri John Ledkov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gdm3 (Ubuntu)
Won't Fix
Undecided
Unassigned
gnome-settings-daemon (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

gdm was failing to start for me, because smarcard.desktop was missing

I use yubikey for gpg & ssh, and not for "smartcard authentication".
I tried hard to not have any smartcard login on my gdm screen.
I removed /etc/xdg/autostart/org.gnome.SettingsDaemon.Smartcard.desktop which i think is an allowed action.

I installed updates, gdm didn't start anymore because Smartcard.desktop is required to start settion and was unable to start it without it.

Doing sudo apt install --reinstall -o Dpkg::Options::=--force-confmiss gnome-settings-daemon ressurected ability to start gdm

But also ressurected Smartcard.desktop.

How do I disable gdm to not attempt smartcard logins, when my system a) is not enrolled to use or trust any smarcards via pam or anything b) it is a yubikey with gpg certs c) i want gdm to still show and allow login with locally configured user despite smartcard plugged in

Jeremy Bícha (jbicha)
Changed in gdm3 (Ubuntu):
importance: Undecided → Critical
status: New → Triaged
tags: added: jammy regression-update
Changed in gdm3 (Ubuntu):
status: Triaged → Won't Fix
Changed in gnome-settings-daemon (Ubuntu):
status: New → Won't Fix
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote (last edit ):

I'm sorry, but that's not a legit action: removing a required component is not the way to handle this case.

smart card login can be disabled "properly" by using gsettings

 sudo -u gdm env DCONF_PROFILE=gdm settings set \
  org.gnome.login-screen enable-smartcard-authentication false

Or use https://github.com/realmazharhussain/gdm-settings

See more on https://wiki.archlinux.org/title/GDM for further details on dconf settings.

Jeremy Bícha (jbicha)
Changed in gdm3 (Ubuntu):
importance: Critical → Undecided
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.