Hello.
I am running Porteus 5.0 rc1 with KDE.
When I set my time zone in the Date and Time setting and select the automatically update time setting, and click APPLY, it throws me error "Unable to authenticate/execute the action: 4,"
I am entering correct root password. So that's not the issue.
How to fix this?
Solution:
1. The System Setting > Date and time on Porteus won't allow to set the time zones. There's a bug in it and it doesn't work on Porteus 4 and 5 both.
2. Time zone can be set using Cheat code "timezone=Area/Location" in the Porteus.cfg file in Porteus folder.
However, only entering the cheatcode will not work. In my case, even after entering the cheat code, it still showed incorrect time and date.
Then I changed it using "Porteus Settings Centre". Change the time zone here, and when it asks to save changes to a module, click yes. Now the date and time will be correct across sessions / boots.
3. Set the time and date manually. Ignore the time zone, whatever is selected. This will work along with the changes save.dat file.
[Solved] Date and Time setting not working
[Solved] Date and Time setting not working
Last edited by meet on 11 Apr 2020, 04:01, edited 3 times in total.
- francois
- Contributor
- Posts: 6434
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
Date and Time setting not working
You can set timezone with the cheatcode http://www.porteus.org/tutorials/26-gen ... -them.html
timezone=region/zone
You have to put it in the porteus.cfg file.
You will find a lot of other tweaks for you porteus system.
timezone=region/zone
You have to put it in the porteus.cfg file.
You will find a lot of other tweaks for you porteus system.
Prendre son temps, profiter de celui qui passe.
Date and Time setting not working
Hey thanks.francois wrote: ↑09 Apr 2020, 18:30You can set timezone with the cheatcode http://www.porteus.org/tutorials/26-gen ... -them.html
timezone=region/zone
Adding this cheat-code didn't work. The time was not shown correctly as per the selected time zone.
Then I ignored the time zone and just set a time and date manually, which stays across the sessions so that's great.
- francois
- Contributor
- Posts: 6434
- Joined: 28 Dec 2010, 14:25
- Distribution: xfce plank porteus nemesis
- Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.
[Solved] Date and Time setting not working
Your computer's clock could be late. Glad that you found the solution.
Prendre son temps, profiter de celui qui passe.
- Blaze
- DEV Team
- Posts: 3869
- Joined: 28 Dec 2010, 11:31
- Distribution: ⟰ Porteus current ☯ all DEs ☯
- Location: ☭ Russian Federation, Lipetsk region, Dankov
- Contact:
[Solved] Date and Time setting not working
How about like this?
Code: Select all
su
toor
cp /etc/localtime{,.bak} && rm /etc/localtime && ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime && ntpdate pool.ntp.org && hwclock -lw
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16
[Solved] Date and Time setting not working
Well no. The date and time in Windows works properly as per the set time zone.
Yes, adding the time zone module file through Porteus Settings Manager centre worked. Only adding cheat code didn't work.
Hey thanks for the reply but I am not trying this now. The time's shown correct now and I don't wanna try anything on it.Blaze wrote: ↑12 Apr 2020, 05:30How about like this?Code: Select all
su toor cp /etc/localtime{,.bak} && rm /etc/localtime && ln -sf /usr/share/zoneinfo/Europe/Moscow /etc/localtime && ntpdate pool.ntp.org && hwclock -lw
But it may solve someone else's problem.
[Solved] Date and Time setting not working
Hi. Thanks to blaze's solution but I had to slightly modified its solution since only that version worked for me :
Code: Select all
cp /etc/localtime{,.bck} && rm /etc/localtime && ln -sf /usr/share/zoneinfo/Europe/IStanbul /etc/localtime && hwclock -uw
Newbie to Linux-Unix systems, try to read,learn, apply, modify and create.