Cannot set time in taskbar. Tried adjusting in BIOS but KDE keeps changing my BIOS clock (how does it do that?)

error:" Could not authenticate"

Have tried from control center as well - no luck.

Any help
Thanks

Kano

Titel: cannot set time in Hellfire Verfasst am: 31.03.2011, 09:17 Uhr

Anmeldung: 17. Dez 2003
Beiträge: 16345

First of all check if you use utc or not in /etc/default/rcS - win defaults to UTC=no, osx to UTC=yes. For win you could use a reghack to force UTC. After all installed systems use the same setting for the bios clock select the correct timezone:

dpkg-reconfigure tzdata

then use ntp to correct the current time:

fix-time

and everything should be perfect. I would not use any kde gui to do that - did not verify where this would write the config (usally /etc/timezone).

trio3b

Titel: cannot set time in Hellfire Verfasst am: 02.04.2011, 07:25 Uhr

Anmeldung: 28. Nov 2006
Beiträge: 9

UTC is yes in rcS

Your solution seems to have worked (at least in LiveCD). Now I will try on installed system.

First of all check if you use utc or not in /etc/default/rcS - win defaults to UTC=no, osx to UTC=yes. For win you could use a reghack to force UTC. After all installed systems use the same setting for the bios clock select the correct timezone:
dpkg-reconfigure tzdata
then use ntp to correct the current time:
fix-time

and everything should be perfect. I would not use any kde gui to do that - did not verify where this would write the config (usally /etc/timezone).

I have the same problem, and cannot modify the file rcS when logged as not root.
Can you tell me as clearly as possible how to do: I am a very beginner and do not understand all, this for example:
""for the bios clock select the correct timezone:
dpkg-reconfigure tzdata
then use ntp to correct the current time:
fix-time""

welcome to Kanotix forum. All the magic lines Kano posted here are shell commands. Just open a shell/console (the black icon in panel). To become root just type the command

Code:

su

It will ask you for your root password. Then you can copy and paste these lines (avoids typos). In general most commands can be executed with user priviliges, but change time require root priviliges, thereforce the su before

Time is OK now, thank you. But it would be easier to change it as root in Date & Time - System Settings where all the possibilities are displayed but one cannot use it. Now I would like to activate there Set date and time automatically...

Systemsettings/the gui actually works. It says 'could not authenticate action' when trying to change settings
with kdesu Systemsettings but if you make the changes, click apply and then use the back arrow after getting the error message it applies the changes successfully.
I'll use the command line if I get more probs with this.