logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 05-12-2023 19:51:19

Anonyme
Invité

perte clavier après déverrouillage (parfois)

Bonjour,
sous Debian, MX (et même Manjaro) sous Xfce j'ai le même petit problème en déverrouillant mon PC (verrouillé au préalable par fermeture écran).
Je peux entrer mon mot de passe sans problème pour retrouver ma session mais ensuite le clavier est inactif. Je ne peux donc rien saisir dans les programmes ouverts.
Ce n'est pas systématique, je dirais environ 1 fois sur 50.
Comme la souris fonctionne correctement, j'ai découvert qu'il suffit d'ouvrir l'émulateur de terminal et d'y taper une touche, n'importe laquelle.
A partir de là, le clavier refonctionne correctement.
J'avais déjà le même problème sur mon ancien laptop.
Je suis curieux. Est-ce un problème connu ? Comment investiguer (rien ne m'a semblé étrange dans les logs) ?

#2 05-12-2023 21:02:33

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : perte clavier après déverrouillage (parfois)

Jamais entendu parler de ça -et surtout je vois pas pourquoi l'émulateur de terminal aurait un pouvoir spécial pour déverrouiller le clavier °0°

virtue_signaling.pngpalestine.png
~1821942.svg

Hors ligne

#3 06-12-2023 19:32:01

Anonyme
Invité

Re : perte clavier après déverrouillage (parfois)

Bonjour,
le problème vient de se reproduire, malhereusement sous Manjaro. J'ai regardé le journal mais n'y comprends pas grand chose.
Mes actions sur le PC partant écran fermé :
- branchement de la souris
- ouverture écran
- saisie du mot de passe sans problème
- tentative saisie clavier sur une fenêtre firefox ==> pas de clavier
- ouverture d'un terminal par le menu avec la souris qui répond normalement
- tape d'une touche ==> c'est corrigé
Voici les logs, malheureusement je n'ai pas attendu assez longtemps entre les étapes, ça m'aurait aidé.
Filtré sur au moins "warning" :

déc. 06 17:41:58 philippe-82lm kernel: usb 3-2: new low-speed USB device number 4 using xhci_hcddéc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found ordering cycle on pacnew-checker.path/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found dependency on default.target/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found dependency on basic.target/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found dependency on paths.target/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Job pacnew-checker.path/start deleted to break ordering cycle starting with paths.target/start
déc. 06 17:42:12 philippe-82lm lightdm[5680]: gkr-pam: unable to locate daemon control file
déc. 06 17:43:21 philippe-82lm qjournalctl[5828]: QMetaObject::connectSlotsByName: No matching signal for on_find_keyshortcut_triggered()
déc. 06 17:43:21 philippe-82lm qjournalctl[5828]: QMetaObject::connectSlotsByName: No matching signal for on_escape_keyshortcut_triggered()


Tout le journal :

déc. 06 15:01:01 philippe-82lm CROND[4755]: (root) CMDEND (run-parts /etc/cron.hourly)
déc. 06 16:01:01 philippe-82lm CROND[5020]: (root) CMD (run-parts /etc/cron.hourly)
déc. 06 16:01:01 philippe-82lm CROND[5019]: (root) CMDEND (run-parts /etc/cron.hourly)
déc. 06 16:49:16 philippe-82lm systemd[1]: Daily man-db regeneration was skipped because of an unmet condition check (ConditionACPower=true).
déc. 06 17:01:01 philippe-82lm CROND[5318]: (root) CMD (run-parts /etc/cron.hourly)
déc. 06 17:01:01 philippe-82lm CROND[5317]: (root) CMDEND run-parts /etc/cron.hourly)
déc. 06 17:41:58 philippe-82lm kernel: usb 3-2: new low-speed USB device number 4 using xhci_hcd
déc. 06 17:41:58 philippe-82lm kernel: usb 3-2: New USB device found, idVendor=046a, idProduct=b091, bcdDevice= 1.00
déc. 06 17:41:58 philippe-82lm kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
déc. 06 17:41:58 philippe-82lm kernel: usb 3-2: Product: Cherry USB Optical Mouse
déc. 06 17:41:58 philippe-82lm kernel: usb 3-2: Manufacturer: PixArt
déc. 06 17:41:58 philippe-82lm kernel: input: PixArt Cherry USB Optical Mouse as /devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.0/0003:046A:B091.0003/input/input16
déc. 06 17:41:58 philippe-82lm kernel: hid-generic 0003:046A:B091.0003: input,hidraw1: USB HID v1.11 Mouse [PixArt Cherry USB Optical Mouse] on usb-0000:04:00.4-2/input0
déc. 06 17:41:58 philippe-82lm mtp-probe[5516]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2"
déc. 06 17:41:58 philippe-82lm mtp-probe[5516]: bus: 3, device: 4 was not an MTP device
déc. 06 17:41:59 philippe-82lm dbus-daemon[1187]: [session uid=1000 pid=1187] Activating service name='org.xfce.Xfconf' requested by ':1.77' (uid=1000 pid=5549 comm="thunar-volman --device-added /sys/devices/pci0000:")
déc. 06 17:41:59 philippe-82lm dbus-daemon[1187]: [session uid=1000 pid=1187] Successfully activated service 'org.xfce.Xfconf'
déc. 06 17:41:59 philippe-82lm mtp-probe[5568]: checking bus 3, device 4: "/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2"
déc. 06 17:41:59 philippe-82lm mtp-probe[5568]: bus: 3, device: 4 was not an MTP device

déc. 06 17:42:04 philippe-82lm systemd-logind[799]: Lid opened.
déc. 06 17:42:06 philippe-82lm lightdm[5613]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=967) by (uid=0)
déc. 06 17:42:06 philippe-82lm systemd[1]: Created slice User Slice of UID 967.
déc. 06 17:42:06 philippe-82lm systemd[1]: Starting User Runtime Directory /run/user/967...
déc. 06 17:42:06 philippe-82lm systemd-logind[799]: New session c2 of user lightdm.
déc. 06 17:42:06 philippe-82lm systemd[1]: Finished User Runtime Directory /run/user/967.
déc. 06 17:42:06 philippe-82lm systemd[1]: Starting User Manager for UID 967...
déc. 06 17:42:06 philippe-82lm dbus-daemon[796]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.106' (uid=0 pid=5619 comm="(systemd)")
déc. 06 17:42:06 philippe-82lm dbus-daemon[796]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
déc. 06 17:42:06 philippe-82lm (systemd)[5619]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8002 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]
déc. 06 17:42:06 philippe-82lm (systemd)[5619]: pam_unix(systemd-user:session): session opened for user lightdm(uid=967) by lightdm(uid=0)
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found ordering cycle on pacnew-checker.path/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found dependency on default.target/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found dependency on basic.target/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Found dependency on paths.target/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: paths.target: Job pacnew-checker.path/start deleted to break ordering cycle starting with paths.target/start
déc. 06 17:42:07 philippe-82lm systemd[5619]: Queued start job for default target Main User Target.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Created slice User Application Slice.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Reached target Paths.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Reached target Timers.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Starting D-Bus User Message Bus Socket...
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on GnuPG network certificate management daemon.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on GCR ssh-agent wrapper.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on GNOME Keyring daemon.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on GnuPG cryptographic agent and passphrase cache.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on p11-kit server.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on PipeWire Multimedia System Sockets.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on Sound System.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Listening on D-Bus User Message Bus Socket.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Reached target Sockets.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Reached target Basic System.
déc. 06 17:42:07 philippe-82lm systemd[1]: Started User Manager for UID 967.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Starting Update XDG user dir configuration...
déc. 06 17:42:07 philippe-82lm systemd[1]: Started Session c2 of User lightdm.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Finished Update XDG user dir configuration.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Reached target Main User Target.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Startup finished in 262ms.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Created slice User Core Session Slice.
déc. 06 17:42:07 philippe-82lm systemd[5619]: Starting D-Bus User Message Bus...
déc. 06 17:42:07 philippe-82lm systemd[5619]: Started D-Bus User Message Bus.
déc. 06 17:42:07 philippe-82lm dbus-daemon[5645]: [session uid=967 pid=5645] Activating systemd to hand-off: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.0' (uid=967 pid=5635 comm="/usr/bin/lightdm-gtk-greeter")
déc. 06 17:42:07 philippe-82lm dbus-daemon[5645]: [session uid=967 pid=5645] Successfully activated service 'org.freedesktop.systemd1'
déc. 06 17:42:07 philippe-82lm systemd[5619]: Starting Accessibility services bus...
déc. 06 17:42:07 philippe-82lm dbus-daemon[5645]: [session uid=967 pid=5645] Successfully activated service 'org.a11y.Bus'
déc. 06 17:42:07 philippe-82lm systemd[5619]: Started Accessibility services bus.
déc. 06 17:42:07 philippe-82lm dbus-daemon[5645]: [session uid=967 pid=5645] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.3' (uid=967 pid=5635 comm="/usr/bin/lightdm-gtk-greeter")
déc. 06 17:42:07 philippe-82lm systemd[5619]: Starting Virtual filesystem service...
déc. 06 17:42:07 philippe-82lm dbus-daemon[5645]: [session uid=967 pid=5645] Successfully activated service 'org.gtk.vfs.Daemon'
déc. 06 17:42:07 philippe-82lm systemd[5619]: Started Virtual filesystem service.
déc. 06 17:42:08 philippe-82lm at-spi-bus-launcher[5653]: dbus-daemon[5653]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=967 pid=5635 comm="/usr/bin/lightdm-gtk-greeter")
déc. 06 17:42:08 philippe-82lm at-spi-bus-launcher[5653]: dbus-daemon[5653]: Successfully activated service 'org.a11y.atspi.Registry'
déc. 06 17:42:08 philippe-82lm dbus-daemon[796]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.109' (uid=0 pid=5680 comm="lightdm --session-child 15 25")
déc. 06 17:42:08 philippe-82lm dbus-daemon[796]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
déc. 06 17:42:08 philippe-82lm at-spi-bus-launcher[5682]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
déc. 06 17:42:12 philippe-82lm lightdm[5680]: gkr-pam: unable to locate daemon control file
déc. 06 17:42:12 philippe-82lm lightdm[5680]: gkr-pam: stashed password to try later in open session
déc. 06 17:42:13 philippe-82lm systemd[1]: Stopping Session c2 of User lightdm...
déc. 06 17:42:13 philippe-82lm lightdm[5613]: pam_unix(lightdm-greeter:session): session closed for user lightdm
déc. 06 17:42:13 philippe-82lm systemd[1]: session-c2.scope: Deactivated successfully.
déc. 06 17:42:13 philippe-82lm systemd[1]: Stopped Session c2 of User lightdm.
déc. 06 17:42:13 philippe-82lm systemd-logind[799]: Removed session c2.
déc. 06 17:42:23 philippe-82lm systemd[1]: Stopping User Manager for UID 967...
déc. 06 17:42:23 philippe-82lm systemd[5619]: Activating special unit Exit the Session...
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped target Main User Target.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopping Accessibility services bus...
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopping D-Bus User Message Bus...
déc. 06 17:42:23 philippe-82lm gvfsd[5656]: A connection to the bus can't be made
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopping Virtual filesystem service...
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped Accessibility services bus.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped D-Bus User Message Bus.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped Virtual filesystem service.
déc. 06 17:42:23 philippe-82lm systemd[1]: run-user-967-gvfs.mount: Deactivated successfully.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Removed slice User Core Session Slice.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped target Basic System.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped target Paths.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped target Sockets.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Stopped target Timers.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed D-Bus User Message Bus Socket.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed GnuPG network certificate management daemon.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed GCR ssh-agent wrapper.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed GNOME Keyring daemon.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed GnuPG cryptographic agent (ssh-agent emulation).
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed GnuPG cryptographic agent and passphrase cache.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed p11-kit server.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed PipeWire Multimedia System Sockets.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Closed Sound System.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Removed slice User Application Slice.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Reached target Shutdown.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Finished Exit the Session.
déc. 06 17:42:23 philippe-82lm systemd[5619]: Reached target Exit the Session.
déc. 06 17:42:23 philippe-82lm (sd-pam)[5622]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] user=[lightdm] ruser=[<unknown>] rhost=[<unknown>]
déc. 06 17:42:23 philippe-82lm systemd[1]: user@967.service: Deactivated successfully.
déc. 06 17:42:23 philippe-82lm systemd[1]: Stopped User Manager for UID 967.
déc. 06 17:42:23 philippe-82lm systemd[1]: Stopping User Runtime Directory /run/user/967...
déc. 06 17:42:23 philippe-82lm systemd[1]: run-user-967.mount: Deactivated successfully.
déc. 06 17:42:23 philippe-82lm systemd[1]: user-runtime-dir@967.service: Deactivated successfully.
déc. 06 17:42:23 philippe-82lm systemd[1]: Stopped User Runtime Directory /run/user/967.
déc. 06 17:42:23 philippe-82lm systemd[1]: Removed slice User Slice of UID 967.
déc. 06 17:42:23 philippe-82lm systemd[1]: user-967.slice: Consumed 1.199s CPU time.
déc. 06 17:43:21 philippe-82lm qjournalctl[5828]: QMetaObject::connectSlotsByName: No matching signal for on_find_keyshortcut_triggered()
déc. 06 17:43:21 philippe-82lm qjournalctl[5828]: QMetaObject::connectSlotsByName: No matching signal for on_escape_keyshortcut_triggered()


Je ne comprends pas ce qui se passe vers 17:42:12 avec l'erreur gkr-pam: unable to locate daemon control file suivi de

Stopping Session c2 of User lightdm

.
L'erreur gkr-pam me renvoie sur https://debian-facile.org/viewtopic.php?id=25410 mais aussi sur des forums arch, suse ou ubuntu. Je met de coté pour futures lectures.

#4 06-12-2023 20:40:36

Croutons
Membre
Distrib. : Debian12
Noyau : Linux 6.1.0-13-amd64
(G)UI : Fluxbox(NakeDeb)
Inscription : 16-12-2016

Re : perte clavier après déverrouillage (parfois)

hello
même soucis sous plusieurs distribution différente ce qui faudrait dire que c'est + un problème matériel non?

-->les cahiers du debutant<--      WikiDF-->Découvrir les principales commandes Linux<-- 
L' expérience, c'est le nom que chacun donne à ses erreurs. Oscar Wilde

Hors ligne

#5 06-12-2023 21:31:16

Anonyme
Invité

Re : perte clavier après déverrouillage (parfois)

Pas tout à fait matériel car sur 2 laptops différents.
Mais 2 Lenovo : 1 vieux Thinkpad et un Ideapad récent donc ce peut être au niveau firmware.
Je tenterai peut être de remplacer lightdm mais le dérangement n'est pas bien grand... j'aurais surtout aimer comprendre

#6 06-12-2023 21:46:14

ubub
Membre
Distrib. : Debian
(G)UI : xfce
Inscription : 14-05-2019

Re : perte clavier après déverrouillage (parfois)

si c'est un problème D-Bus, j'ai vu une proposition de solution qui devrait être innofensive à tester je pense avec

apt install --reinstall systemd


tant qu'à expliquer ce que j'ai eu l'impression de comprendre, no way big_smile

Hors ligne

#7 06-12-2023 21:47:07

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : perte clavier après déverrouillage (parfois)

La prochaine fois que ça arrive, essaye de voir si "attendre" est pas la véritable solution pour débloquer le clavier. Ou si le problème est propre à firefox (ou à l'application ouverte lors de la veille).
...Pas que ça soit d'une grande aide même si je tape juste...

Tu as regardé de ce côté ? https://askubuntu.com/questions/1358703 … eapad-l340

Dernière modification par otyugh (06-12-2023 22:32:05)


virtue_signaling.pngpalestine.png
~1821942.svg

Hors ligne

#8 06-12-2023 23:46:15

Anonyme
Invité

Re : perte clavier après déverrouillage (parfois)

OK pour attendre (je n'attendais plus) et aussi des poses entre les étapes pour mieux comprendre les logs. J'ai déjà vu ce pb avec firefox, libreoffice, calculatrice, thunar, whisker, synaptic, catfish...  un peu tout quoi. Je vais essayer de garder un terminal ouvert pour voir s'il bloque aussi .
A lire ton lien, j'ai l'impression que leur clavier est totalement bloqué ou qu'ils n'ont pas trouvé l'astuce du terminal.

#9 07-12-2023 13:01:05

debian-noel
Membre
Inscription : 21-03-2023

Re : perte clavier après déverrouillage (parfois)

Bonjour
pour ceci ce n'est pas grave, ce message existe depuis longtemps sans conséquence .


gkr-pam: unable to locate daemon control file
 



tu peux le vérifier avec cette commande


systemctl status lightdm
 


ps: c'est plus un "warning" que une erreur , la fin du retour de ci dessus finit par "gkr-pam: unlocked login keyring" qui confirme que tout va bien.

le paquet "libpam-gnome-keyring" (description)


Ce paquet fournit le module PAM qui enregistre les sessions utilisateur
dans la hiérarchie de groupe de contrôle de systemd pour logind.

En cas de doute, installez ce paquet.

Les paquets dépendant de la fonctionnalité logind doivent dépendre de
libpam-systemd.
 



nota: voir aussi ce qui se passe sur le log de Xorg (partie clavier) avant et après le déverrouillage

Hors ligne

Pied de page des forums