You are not logged in.
Pages: 1
Hi , this is the problem im dealing with it everyday but i never take it serious to ask, but now im asking it
When i usually install arch linux , i set my timezone to Asia/Tehran using that linking technic by creating a symolink and it works really fine and i have correct time , but then i install Plank and try to start it via terminal wich outputs an error and doesnt start : an error related to wrong timezone or incorrect time or sth like this (my googles result this)
then i try to set my time zone to UTC wich fixes the plank problem
and now im getting the wrong time and changing timezone to Asia/Tehran doesnt make any changes :
timedatectl set-timezone Asia/Tehran
Last edited by erfanjoker (2019-09-11 21:16:51)
Offline
or sth like this
https://bbs.archlinux.org/viewtopic.php?id=57855
Likewise
doesnt make any changes
is too unspecific - the clock in your desktop shell will probably not adapt to this change w/o a restart, but calling "date" after making the change should reflect it.
Offline
the plank error was this wich fixed by setting time to utc :
GLib-CRITICAL (recursed) **: init_zone_from_iana_info: assertion 'size >= sizeof (struct tzhead) && memcmp (header, "TZif", 4) == 0' failed
my problem is setting my current time zone to Asia/Tehran wich is a command with no output ofcourse, and nothing changes in action : my time zone is utc
im using Gotham conky to show my time , but i also see this time in telegram messages time wich is the same as conky time
Offline
What is the output of timedatectl and are those values correct?
Offline
this is the output of timedatectl and is in sync with conky time but now in iran its 1:28 not the 5:58 :
╭─erfan at erfan in /home/erfan
╰─λ timedatectl 0 < 05:58:04
Local time: Thu 2019-09-12 05:58:06 +0430
Universal time: Thu 2019-09-12 01:28:06 UTC
RTC time: Thu 2019-09-12 05:58:06
Time zone: Asia/Tehran (+0430, +0430)
System clock synchronized: no
NTP service: inactive
RTC in local TZ: yes
Warning: The system is configured to read the RTC time in the local time zone.
This mode cannot be fully supported. It will create various problems
with time zone changes and daylight saving time adjustments. The RTC
time is never updated, it relies on external facilities to maintain it.
If at all possible, use RTC in UTC by calling
'timedatectl set-local-rtc 0'.
Last edited by erfanjoker (2019-09-11 20:59:55)
Offline
System clock synchronized: no NTP service: inactive
Offline
It's now 01:29:57 in Tehran and 21:01:35 in Greenwich, so your clock is off by the Tehran skew.
Update the time from a timeserver or set it from a wall clock.
Edit: can you start plank with this configuration?
If not:
pacman -Qikk tzdata
Last edited by seth (2019-09-11 21:04:31)
Offline
Thank you all , solved by setting time from ntp server using ntpd service
Offline
Pages: 1