System time in debian is lagging. The problem is old, it was still on lenny, it has remained to this day. I experienced and change the hard drive and power supply. At the same time, the hardware clock is accurate. (When restarting, time is restored) Previously, the problem didn’t worry much at 23:59 synchronization is configured. However, recently it was necessary to log in remotely, while constantly having to start time synchronization before connecting. To do this, do the following

sudo ntpdate-debian 

If the time is different, then during a remote connection an error is displayed that the time does not match. During the day the clock is 1-2 minutes behind. about. Which way to dig?

  • So the clock is not that exact or is it a virtual machine? - Sergey
  • Maybe after a reboot, just the synchronization itself started? If you reboot into BIOS, will there be accurate or lagging time there? - andreymal
  • Please describe right in the question (by clicking on edit ) the dynamics and magnitude of the lag. and specify in the same place, with what the need to “start synchronization” is connected, and how you do it. - aleksandr barakin
  • andreymal is not there, if during the boot you enter the bios the exact time - serega semenov
  • one
    put the package ntp . This is a time synchronization daemon, the default settings are usually sufficient. and do not run ntpdate . // settings will not be needed if the computer has a free "access" to the Internet. // and, if it's not a secret, reveal the secret, what is this “remote connection” that requires time synchronization? - aleksandr barakin

0