LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 12-22-2023, 06:36 AM   #1
pedpup2
LQ Newbie
 
Registered: May 2017
Location: Fairfield, Iowa, USA
Distribution: SolydX 10 2019-09
Posts: 21

Rep: Reputation: Disabled
xfce clock shows wrong time


Running SolydX ( debian based ) with xfce desktop. HP 8560P laptop.
Suddenly the clock in the system tray is off by 12 hours.
I checked the ntp service- it was inactive. I activated it.

No change

from CLI ran "date" - and that is right.

Here is the result of systemctl status ntp:

Code:
ntp.service - Network Time Service
   Loaded: loaded (/lib/systemd/system/ntp.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2023-12-21 14:42:56 CST; 6h ago
     Docs: man:ntpd(8)
  Process: 782 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper (code=exited, status=0/SUCCESS)
 Main PID: 817 (ntpd)
    Tasks: 2 (limit: 4915)
   Memory: 3.1M
   CGroup: /system.slice/ntp.service
           └─817 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 119:133

Dec 21 14:44:03 phils8560 ntpd[817]: Soliciting pool server 45.84.199.136
Dec 21 14:44:03 phils8560 ntpd[817]: Soliciting pool server 72.46.53.234
Dec 21 14:44:04 phils8560 ntpd[817]: Soliciting pool server 217.180.209.214
Dec 21 14:44:04 phils8560 ntpd[817]: Soliciting pool server 45.79.1.70
Dec 21 14:44:05 phils8560 ntpd[817]: Soliciting pool server 44.190.5.123
Dec 21 14:44:05 phils8560 ntpd[817]: Soliciting pool server 104.131.139.195
Dec 21 14:44:06 phils8560 ntpd[817]: Soliciting pool server 2620:135:5003:ffff::123
Dec 21 14:44:07 phils8560 ntpd[817]: Soliciting pool server 71.162.136.44
Dec 21 20:45:55 phils8560 ntpd[817]: receive: Unexpected origin timestamp 0xe92f2219.40a5dda9 does not match aorg 0000000000.00000000 from server@45.79.1.70 xmt 0xe92f76e3.a4ec3084
Dec 21 20:45:55 phils8560 ntpd[817]: receive: Unexpected origin timestamp 0xe92f2219.409f0b3d does not match aorg 0000000000.00000000 from server@217.180.209.214 xmt 0xe92f76e3.a864
Can anyone suggest a fix for this?

I'll provide any info you need..

Thanks,

phil
 
Old 12-22-2023, 07:50 AM   #2
lvm_
Member
 
Registered: Jul 2020
Posts: 942

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
I'd start with checking the time zone settings of xfce clock plugin https://docs.xfce.org/xfce/xfce4-panel/clock
 
Old 12-22-2023, 08:19 AM   #3
shortarcflyer
Member
 
Registered: May 2022
Location: Louisiana/USA
Distribution: Void, ArchBang, PCLinuxOS, Mabox, ArcoLinux, Archman, RebornOS, Manjaro, EndeavourOS
Posts: 535

Rep: Reputation: 61
You may also try this in a terminal to reset your time.

Code:
sudo dpkg-reconfigure tzdata
 
Old 12-22-2023, 08:35 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922
If the output of the date command shows the correct time and time zone information then as suggested I would look at xfce clock plugin. The timezone setting could be different from the system setting. I would not be concerned with the ntp warning. I would expect ntp to disregard those two servers.

To see if ntp is "working" look at the output of the command:
ntpq -p
 
Old 12-22-2023, 11:39 AM   #5
pedpup2
LQ Newbie
 
Registered: May 2017
Location: Fairfield, Iowa, USA
Distribution: SolydX 10 2019-09
Posts: 21

Original Poster
Rep: Reputation: Disabled
Thank you, lvm, shortarcflyer and MichaelK,

I checked the Time&date settings in the clock plugin. Right except of course
it reads 11:31:12 PM, but it's actually 11:31:12 AM...

MichaelK here is the output of ntpq -p but I do not know how to read this...

Code:
ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 0.debian.pool.n .POOL.          16 p    -   64    0    0.000    0.000   0.000
 1.debian.pool.n .POOL.          16 p    -   64    0    0.000    0.000   0.000
 2.debian.pool.n .POOL.          16 p    -   64    0    0.000    0.000   0.000
 3.debian.pool.n .POOL.          16 p    -   64    0    0.000    0.000   0.000
*65-100-46-166.d .SOCK.           1 u  124 1024  377   64.525    1.899   1.796
+t1.time.bf1.yah 98.139.133.62    2 u  607 1024  357   33.195    1.287   6.482
+mailman.shaunc. 132.163.97.6     2 u  302 1024  377   28.846    3.103   2.749
+mailhost.netads 206.108.0.131    2 u   73 1024  377   37.460    0.881   1.195
-45.84.199.136 ( 36.224.68.195    2 u  741 1024  175  120.210    3.996   5.646
-108.61.23.93 (1 108.61.56.35     3 u  652 1024  377   34.020   -0.966   1.561
In "Timezone", in the clock plugin settings, it read 6 ( I am in the same zone as Chicago, IL, USA ).
But I noticed they seem to expect a string , like "America/Chicago" in that box.
So I changed it to that...

And...suddenly it's working! Now the time is correct. I'm still not certain what I did to correct it, though.

Linux - a continual learning experience.

Anyway, Thank you all again.
 
Old 12-22-2023, 12:21 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922Reputation: 5922
I assume originally the desktop was configured to default to system time and no idea how it was changed. It looks like the desktop "understands" a fixed offset as well as time zones. Since America/Chicago is -06:00 offset (CST) and the desktop was configured as +6:00 offset so the time displayed was 12 hours fast.

Code:
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*65-100-46-166.d .SOCK.           1 u  124 1024  377   64.525    1.899   1.796
 
  


Reply

Tags
clock off



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] clock shows wrong time for the time zone Brant *BSD 2 01-20-2017 03:40 PM
Clock on wrong time (system clock is set to UTC) yanom Debian 6 07-26-2011 11:26 AM
clock-adjustment time is offseet from clock-display time bezdomny Linux - Desktop 2 11-19-2008 02:48 PM
Various clock issues: Clock shows wrong time only in Knoppmyth, & CMOS time change ? davidbix General 1 04-05-2006 09:58 PM
Fedora Core 1 Clock shows the wrong time. mwolff Linux - Newbie 6 04-01-2004 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 11:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration