Re: [newbie] Time display errors

2003-12-05 Thread Carroll Grigsby
On Thursday 04 December 2003 08:21 am, Hylton Conacher (ZR1HPC) wrote:
 Hi all,

 Been using Mandrake for a while now and someone, with my authority,
 updated the machine from 8.0 to 9.1. I like it very much however..

 Coming from a Windows intensive background I mainly use X and I have
 noticed that since the upgrade, my system time seems to increment itself
 by 2 hours each time I reboot the machine, if I don't physically change
 it each time.

 I have set the local time zone in the clock GUI to be
 Africa/Johannesburg and hence my time zone to SAST but my time still
 increments. I thought it might be that my hardware clock was said to be
 running on UTC but after correcting the time on the GUI and rebooting
 into the BIOS I confirmed that the time was correct for my time zone. I
 continued the boot process to bring linux up and saw that the GUI had a
 time 2 hours ahead of the actual time.

 If I do not adjust the time on each reboot the system advances my
 hardware clock by 2hrs which can result in me writing in today for
 tomorrow. :)

 I am comfortable using Kwrite under root to edit the necessary file/s
 but I do not know which one or many to edit. I opened the
 /etc/sysconfig/clock file and was greeeted with the below:

 UTC=false
 ARC=false
 ZONE=America/New_York

 Where the America/New_York came from is anybody's guess. I tried editing
 the file and putting Africa/Johannesburg as the Zone but I did not have
 any luck with the line as below:

 UTC=false
 ARC=false
 ZONE=Africa/Johannesburg # was America/New_York

 Any ideas to stop the incremental clock and get it to recognise that
 Zone as it is setup in the GUI?

 TIA

Hylton:
I had the same experience yesterday. Not having seen any reports of a sudden 
relocation of the local tectonic plate, I figured it was in my KDE settings. 
I cured it as follows (all from the GUI):

1. From KDE Control Center  System  Date  Time  set time zone to No 
selection. (This is what got me into trouble -- the day before, I'd changed 
this from No selection to New York.

2. From Mandrake Control Center  System  Set Date  Time  set time zone. 
A window will then appear asking if the system clock is set to GMT. Select 
yes or no as appropriate.

I've since been through a reboot and the early morning cron routine, and KDE 
is still reporting the correct time.

Warning: Never accept the advice of people who live in the UK about adjusting 
clock settings between local and GMT. How would they know?  ;^)
-- cmg


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [newbie] Time display errors

2003-12-04 Thread dfox
Somebody scribbled about [newbie] Time display errors

Coming from a Windows intensive background I mainly use X and I have
noticed that since the upgrade, my system time seems to increment
 itself by 2 hours each time I reboot the machine, if I don't
 physically change it each time.

Now that's odd. So would you for instance reboot today, then it would 
be 2 hours ahead, reboot the next day, find it 4 hours ahead - or 
does it just stay ahead of the regular time zone?

I'll hazard a guess you're running KDE and you're seeing the same 
behavior of KDE's clock display I am, but first verify your machine 
is showing correct time by typing 'date' in a konsole. That will 
display what time Linux thinks it is and that is derived from the 
BIOS time (which should be set to UTC, unless you're on a dual boot 
system) and a time zone offset settable by Mandrake Control Center or 
by editing the timezone files directly.



I have set the local time zone in the clock GUI to be
Africa/Johannesburg and hence my time zone to SAST but my time still
increments. I thought it might be that my hardware clock was said to

There may be two sets of timezone information being displayed - as 
others have suggested. My KDE clock right now is +7 hours fast of 
PST, and I've seen variations of that - usually it shows up as EST. I 
don't reboot often enough, but it could advance the zones as you 
describe - I haven't been able to notice. 

If I open Mandrake Control Center, choose System/date and time, my 
clock in MCC shows the correct time zone. I reset the KDE clock with 
right mouse click and Show date and time - and select America/Los 
Angeles, and it thinks I'm on the East Coast somewhere (it's 11:44, 
presumably PM, according to the KDE clock, but 8:44 pm now in 
California). Too bad I don't run this thing at work, I could convince 
my boss it's time to go home :).

As far as I can tell, KDE's information for time zones differs from 
what Mandrake shows -- in other words, America/Los Angeles from 
KDE's splash screen is different from America/Los Angeles in MCC. 
But that doesn't really make sense. What I have noticed is that when 
I start KDE, the time zone will be correct for some period of time -- 
and then something - running some application, or just waiting around 
-- invariably, the clock gets bumped. And it's only affecting the KDE 
clock. Anything else (even KDE applications that display time in a 
status message, for instance, Kmail) shows the correct time zone.

Also take note that KDE's clock can show a time zone independently of 
what the system shows. 



UTC=false
ARC=false
ZONE=America/New_York

Where the America/New_York came from is anybody's guess. I tried

AFAIK it's the default time zone setting. 

 editing the file and putting Africa/Johannesburg as the Zone but I
 did not have any luck with the line as below:

OK but when you edit the file I think you need to rerun init. Many 
configuration files are like that - the changes aren't immediately 
acted upon.

Assuming you reran init (e.g., by rebooting) does the Unix (Linux) 
time zone show as correct? 

-- 

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com