Page 1 of 1

Time is not correct

Posted: Fri Jun 21, 2019 3:52 am
by Arp
Hi,

I run Mint 19.1 cinnamon. I do have the ntp service running, also restarted it, but it shows more than it actually is. It looks a bit like it is showing UTC+4 instead of UTC+2. How can I check the reason for that? Optimally, only in the terminal, since I work remotely on it. How can I see which region is set? Ideally, it should also still work with ntp, so I don't have to set the time everytime it changes to/from DST.

Thanks.

Re: Time is not correct

Posted: Fri Jun 21, 2019 4:21 am
by Pierre
in Terminal type timedatectl to see what those settings are currently, set to.

you can then use that command with an appendix to reset those settings:
https://www.maketecheasier.com/timedate ... ate-linux/

Re: Time is not correct

Posted: Fri Jun 21, 2019 5:07 am
by karlchen
Hello, Arp.

After I had installed Mint 19.1 only 2 days ago and rebooted, I came across the problem as well.
In fact, the cause is that on Mint 19.1 both services are enabled: ntp service and systemd-timesyncd.service.
On genuine Ubuntu 18.04 ntp is not even installed.
On Mint 19.1 ntp and timesyncd get into each other's way.
The solution in my case was to stop and to disable the ntp service and to restart the timesyncd service.
This is done with the help of the command systemctl.

Here are the commandlines:
Stopping the ntp service, disabling it and checking its status:

Code: Select all

systemctl status ntp.service
sudo systemctl stop ntp.service
sudo systemctl disable ntp.service
systemctl status ntp.service
Starting the service systemd-timesyncd and checking its status:

Code: Select all

systemctl status systemd-timesyncd.service
sudo systemctl start systemd-timesyncd.service
systemctl status systemd-timesyncd.service
Regards,
Karl