Date et heure.

Demande d'aide : c'est ici.
Répondre
mo640
Messages : 7
Inscription : 28 août 2025, 17:13
Status : Hors-ligne

Je suis avec une version 13 + bureau gnome sur un PC fixe HP Z2 G4.
L'affichage indique +1 heure par rapport à l'heure conforme bien que j'ai fait une installation avec un fuseau Paris.

Bien tenté de faire la modification en mode graphique avec "Paramètres" / Système / Date Heure.
Une fois mon mdp administrateur saisi l'écran se fige suite authentification.
Une solution en ligne de commande? ou autre?
DebDynamiX
Membre
Membre
Messages : 31
Inscription : 16 oct. 2025, 23:31
Status : Hors-ligne

Plusieurs éléments peuvent être à l’origine de ce bug, davantage d’informations sont requises pour le corriger.

Dans ton terminal, renvoi nous les resultats pour chaque commande de:

Code : Tout sélectionner

systemctl status systemd-timedated
systemctl status polkit
journalctl -u polkit -b | tail -n 50
journalctl -u systemd-timedated
timedatectl
Avatar de l’utilisateur
piratebab
Site Admin
Site Admin
Messages : 6410
Inscription : 24 avr. 2016, 18:41
Localisation : sud ouest
Status : En ligne

Vérifie aussi ton heure dans le BIOS/UEFI. Elle doit étre en GMT
mo640
Messages : 7
Inscription : 28 août 2025, 17:13
Status : Hors-ligne

Code : Tout sélectionner

○ systemd-timedated.service - Time & Date Service
     Loaded: loaded (/usr/lib/systemd/system/systemd-timedated.service; static)
     Active: inactive (dead)
       Docs: man:systemd-timedated.service(8)
             man:localtime(5)
             man:org.freedesktop.timedate1(5)

févr. 24 19:38:36 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & >
févr. 24 19:38:36 HpZ2 systemd[1]: Started systemd-timedated.service - Time & D>
févr. 24 19:39:06 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succe>
févr. 24 19:47:01 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & >
févr. 24 19:47:01 HpZ2 systemd[1]: Started systemd-timedated.service - Time & D>
févr. 24 19:47:31 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succe>
lines 1-13/13 (END)...skipping...
○ systemd-timedated.service - Time & Date Service
     Loaded: loaded (/usr/lib/systemd/system/systemd-timedated.service; static)
     Active: inactive (dead)
       Docs: man:systemd-timedated.service(8)
             man:localtime(5)
             man:org.freedesktop.timedate1(5)

févr. 24 19:38:36 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
févr. 24 19:38:36 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
févr. 24 19:39:06 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
févr. 24 19:47:01 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
févr. 24 19:47:01 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
févr. 24 19:47:31 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
mo640
Messages : 7
Inscription : 28 août 2025, 17:13
Status : Hors-ligne

Code : Tout sélectionner

   polkit.service - Authorization Manager
     Loaded: loaded (/usr/lib/systemd/system/polkit.service; static)
     Active: active (running) since Tue 2026-02-24 19:38:16 CET; 21min ago
 Invocation: 2ed3da0b9d9141418ab44efa7cfcdd51
       Docs: man:polkit(8)
   Main PID: 874 (polkitd)
     Status: "Processing requests..."
      Tasks: 4 (limit: 37958)
     Memory: 6.6M (peak: 8.5M)
        CPU: 238ms
     CGroup: /system.slice/polkit.service
             └─874 /usr/lib/polkit-1/polkitd --no-debug --log-level=notice

févr. 24 19:38:16 HpZ2 polkitd[874]: Error opening rules directory: Error opening directory “/run/polkit-1/rules.d”: No such file or directory (g-file-error-quark, 4)
févr. 24 19:38:16 HpZ2 polkitd[874]: Loading rules from directory /usr/local/share/polkit-1/rules.d
févr. 24 19:38:16 HpZ2 polkitd[874]: Error opening rules directory: Error opening directory “/usr/local/share/polkit-1/rules.d”: No such file or directory (g-file-error-quark, 4)
févr. 24 19:38:16 HpZ2 polkitd[874]: Loading rules from directory /usr/share/polkit-1/rules.d
févr. 24 19:38:16 HpZ2 polkitd[874]: Finished loading, compiling and executing 14 rules
févr. 24 19:38:16 HpZ2 systemd[1]: Started polkit.service - Authorization Manager.
févr. 24 19:38:16 HpZ2 polkitd[874]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
févr. 24 19:38:19 HpZ2 polkitd[874]: Registered Authentication Agent for unix-session:c1 (system bus name :1.33 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.>
févr. 24 19:38:31 HpZ2 polkitd[874]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.33, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected >
févr. 24 19:38:31 HpZ2 polkitd[874]: Registered Authentication Agent for unix-session:2 (system bus name :1.79 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.U>
  
mo640
Messages : 7
Inscription : 28 août 2025, 17:13
Status : Hors-ligne

Code : Tout sélectionner

[/root@HpZ2:/home/maurice# journalctl -u polkit -b | tail -n 50
févr. 24 19:38:16 HpZ2 systemd[1]: Starting polkit.service - Authorization Manager...
févr. 24 19:38:16 HpZ2 polkitd[874]: Started polkitd version 126
févr. 24 19:38:16 HpZ2 polkitd[874]: Loading rules from directory /etc/polkit-1/rules.d
févr. 24 19:38:16 HpZ2 polkitd[874]: Loading rules from directory /run/polkit-1/rules.d
févr. 24 19:38:16 HpZ2 polkitd[874]: Error opening rules directory: Error opening directory “/run/polkit-1/rules.d”: No such file or directory (g-file-error-quark, 4)
févr. 24 19:38:16 HpZ2 polkitd[874]: Loading rules from directory /usr/local/share/polkit-1/rules.d
févr. 24 19:38:16 HpZ2 polkitd[874]: Error opening rules directory: Error opening directory “/usr/local/share/polkit-1/rules.d”: No such file or directory (g-file-error-quark, 4)
févr. 24 19:38:16 HpZ2 polkitd[874]: Loading rules from directory /usr/share/polkit-1/rules.d
févr. 24 19:38:16 HpZ2 polkitd[874]: Finished loading, compiling and executing 14 rules
févr. 24 19:38:16 HpZ2 systemd[1]: Started polkit.service - Authorization Manager.
févr. 24 19:38:16 HpZ2 polkitd[874]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
févr. 24 19:38:19 HpZ2 polkitd[874]: Registered Authentication Agent for unix-session:c1 (system bus name :1.33 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
févr. 24 19:38:31 HpZ2 polkitd[874]: Unregistered Authentication Agent for unix-session:c1 (system bus name :1.33, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8) (disconnected from bus)
févr. 24 19:38:31 HpZ2 polkitd[874]: Registered Authentication Agent for unix-session:2 (system bus name :1.79 [/usr/bin/gnome-shell], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale fr_FR.UTF-8)
code]
mo640
Messages : 7
Inscription : 28 août 2025, 17:13
Status : Hors-ligne

Code : Tout sélectionner

root@HpZ2:/home/maurice# journalctl -u systemd-timedated
nov. 03 13:25:45 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 13:25:45 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
nov. 03 13:26:15 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succes>
nov. 03 13:27:11 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 13:27:11 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
nov. 03 13:27:42 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succes>
nov. 03 15:30:13 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 15:30:13 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
nov. 03 15:30:43 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succes>
nov. 03 15:37:56 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 15:37:56 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
nov. 03 15:38:26 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succes>
nov. 03 15:46:14 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 15:46:14 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
nov. 03 15:46:44 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succes>
nov. 03 15:56:46 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 15:56:46 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
nov. 03 15:57:16 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succes>
nov. 03 16:04:33 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 16:04:33 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
nov. 03 16:05:03 HpZ2 systemd[1]: systemd-timedated.service: Deactivated succes>
nov. 03 16:08:50 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & D>
nov. 03 16:08:50 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Da>
lines 1-23...skipping...
nov. 03 13:25:45 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 13:25:45 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 13:26:15 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 13:27:11 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 13:27:11 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 13:27:42 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 15:30:13 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 15:30:13 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 15:30:43 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 15:37:56 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 15:37:56 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 15:38:26 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 15:46:14 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 15:46:14 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 15:46:44 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 15:56:46 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 15:56:46 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 15:57:16 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:04:33 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:04:33 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:05:03 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:08:50 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:08:50 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:09:20 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:10:14 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:10:14 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:10:53 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:12:55 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:12:55 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:13:25 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:25:12 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:25:12 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:25:42 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:28:13 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:28:13 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:28:43 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:31:18 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:31:18 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:31:48 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 16:32:18 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 16:32:18 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 16:32:48 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
-- Boot aa3d79c9273f43a395a58e8529297b85 --
nov. 03 17:57:01 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 17:57:01 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 17:57:31 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
-- Boot 42349ca5c64646d9bf5aea24438eed3b --
nov. 03 18:10:13 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 18:10:13 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 18:10:43 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 18:26:32 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 18:26:32 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 18:27:02 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 18:29:46 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 18:29:46 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 18:30:16 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 18:42:45 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 18:42:45 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 18:43:16 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 18:44:36 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 18:44:36 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
nov. 03 18:45:06 HpZ2 systemd[1]: systemd-timedated.service: Deactivated successfully.
nov. 03 18:55:53 HpZ2 systemd[1]: Starting systemd-timedated.service - Time & Date Service...
nov. 03 18:55:53 HpZ2 systemd[1]: Started systemd-timedated.service - Time & Date Service.
lines 1-64

mo640
Messages : 7
Inscription : 28 août 2025, 17:13
Status : Hors-ligne

Code : Tout sélectionner

[root@HpZ2:/home/maurice# timedatectl
               Local time: mar. 2026-02-24 20:04:52 CET
           Universal time: mar. 2026-02-24 19:04:52 UTC
                 RTC time: mar. 2026-02-24 19:04:52
                Time zone: Europe/Paris (CET, +0100)
System clock synchronized: no
              NTP service: n/a
          RTC in local TZ: no
/code]
DebDynamiX
Membre
Membre
Messages : 31
Inscription : 16 oct. 2025, 23:31
Status : Hors-ligne

D'après le renvoi de "timedatectl" tu n'as aucun service NTP

1. Fait:

Code : Tout sélectionner

su -
2. Fait:

Code : Tout sélectionner

apt install chrony
systemctl enable --now chrony
timedatectl set-ntp true
3. Verif:

Code : Tout sélectionner

timedatectl
Pour la verif tu dois avoir "System clock synchronized: yes" et "NTP service: active"

SI ca ne marche toujours pas, cela veut dire que NTP est bloqué (parfeu, erreur DNS, proxy, etc...), et comme le dit PirateBab, verifie l'horloge de ton bios
Répondre