kanotix.com

General Support - cannot set time in Hellfire

trio3b - 31.03.2011, 08:28 Uhr
Titel: cannot set time in Hellfire
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 - 31.03.2011, 09:17 Uhr
Titel: cannot set time in Hellfire
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 - 02.04.2011, 07:25 Uhr
Titel: cannot set time in Hellfire
UTC is yes in rcS

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

Thank you Kano
gap - 25.05.2011, 11:01 Uhr
Titel: Re: cannot set time in Hellfire
Kano hat folgendes geschrieben::
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""

Thanks
Kano - 25.05.2011, 11:09 Uhr
Titel: Re: cannot set time in Hellfire
As root you can do:

sed -i 's/\(^UTC\)=.*/\1=no/' /etc/default/rcS
TheOne - 25.05.2011, 18:20 Uhr
Titel: Re: cannot set time in Hellfire
Hi gap,

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 Winken

If you have more questions, don't hesitate to ask here or in IRC.

Regards, TheOne
gap - 26.05.2011, 12:56 Uhr
Titel: RE: Re: cannot set time in Hellfire
Thanks for your replies, guys.
I did:
su
password
sed -i 's/\(^UTC\)=.*/\1=no/' /etc/default/rcS

But I still cannot change Time zone, nor activate "Set date and time automatically" option. I have an error message: Unable to authenticate/execute the action: 4,

what to do next? Thanks!
gap
Kano - 26.05.2011, 21:05 Uhr
Titel: RE: Re: cannot set time in Hellfire
You should use

dpkg-reconfigure tzdata

then

fix-time

do NOT use the gui!
gap - 27.05.2011, 09:47 Uhr
Titel: RE: Re: cannot set time in Hellfire
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...
Kano - 27.05.2011, 10:54 Uhr
Titel: RE: Re: cannot set time in Hellfire
The fix-time script sets the time using a ntp server. Usually it is enough to call it sometimes.
coyotl - 21.06.2011, 20:03 Uhr
Titel: RE: Re: cannot set time in Hellfire
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.
theblackpig - 24.09.2011, 09:47 Uhr
Titel: Re: RE: Re: cannot set time in Hellfire
Kano hat folgendes geschrieben::
You should use

dpkg-reconfigure tzdata

then

fix-time

do NOT use the gui!

Had the same problem - sorted -thanks Auf den Arm nehmen
Alle Zeiten sind GMT + 1 Stunde
PNphpBB2 © 2003-2007