26
December
2024
Solving the problem with the incorrect display of time in antiX
17:46

Solving the problem with the incorrect display of time in antiX

26 December 2024 17:46

If the time in the system watches is displayed, the minutes are normal, and the clock is behind for many hours. You need to fix the hourly belt.

Note

This article is valid for the SystemD service management system, the most common in Linux operating systems.
If your OS uses the runit service initialization system, see article.

Cause

The lack of the Internet when starting a computer (for example, a laptop is turned off the Wi -Fi adapter) and the wrong choice in the starting menu "Hourly Belt - Auto".

Solution

The first team will allow you to choose an hour -long waver for use by the operating systemantiX / MX Linux:

sudo dpkg-reconfigure tzdata
  • where to choose your time zone

The second command activates the work of the NTPD service:

timedatectl set-ntp true

The timedatectl command only exists for the SystemD init system, which was removed from antiX as of October 31, 2021, when antiX 21 was released.
For the Ruint init system, see the article how to configure time synchronization in antiX Runit.

Examination:

timedatectl

After rebooting, there is no problem - the clock show local time.

Advice

In the initial launch menu with LiveUSB in the "F2" menu, instead of "Auto", it is advisable to immediately set the time zone of your city, for example, for Moscow time - "Moscow" and select "F8 - Save" (save). The time zone along with the built -in clocks (RTC) will set the correct time.

Note

Recently, I've been using a lighter version of antiX runit. It (the image is called antiX-23.2-runit_x64-full.iso) doesn't have the usual service management commands, such as systemctl status ntp. However, it does synchronize time over the network with NTP servers in runit. The command for checking service status is different: sv status service_name.

Addition

In antiX-26 (Stephen Kapos), setting the time zone and synchronizing time is done using the graphical application in the Control Panel:
Start menu - "Control Centre" - "System" - "Set date and time". Its features:

  • "Set the current time"
  • "Set the current date"
  • "Select a time zone"
  • "Use an Internet time server to set the time automatically"
  • "Set the system clock to LOCAL time"
  • "Set the system clock to UTC"

time0
time1
time2
time3
time4
time5
time6


Last updated: 16.07.2026