LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
LinkBack Search this Thread
Old 05-16-2009, 09:38 AM   #1
dogpatch
Member
 
Registered: Nov 2005
Location: Central America
Distribution: Mepis
Posts: 150
Blog Entries: 1

Rep: Reputation: 18
How to disable automatic time adjustment


Something on my computer periodically "corrects" the system time automatically - which would be OK, but it sets it an hour off what it should be. I think it happens when i am online, as if there is some daemon that goes out and gets the current UTC time, and correctly sets my system clock - to Mountain time! As I live in the Central time zone, i don't really see this as helpful.

I'm running Mepis with a KDE desktop, version 3.3.2, i686 processor, with dial-up internet service. I also sometimes boot to Windoze ExPee, but i believe this happens when i am in Linux.

I thought it might be related to Daylight Saving, and the recent rule changes, but it has happened again now in May, so it doesn't appear to be related to a Daylight Saving rule confusion.

Also, i have recently checked to make sure that my hardware setting agrees with my system display. Both
Code:
hwclock --show
and
Code:
date
report the same time and timezone. I have not yet tried to do that right after the time is incorrectly adjusted.

I have repeatedly gone into the KDE Control Center, and set the time and timezone correctly. I have also repeatedly set the time correctly via CMOS between boots. This doesn't happen all the time, and i have yet to discern a pattern of what triggers the time adjustment.

This is not a huge deal, but it becomes annoying after awhile. Thanks for any tips.
 
Old 05-16-2009, 10:33 AM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mandriva 2011 / Mageia 1 / Linux Mint 12 / CrunchBang Linux 10 Statler / Easy Peasy
Posts: 4,274

Rep: Reputation: 201Reputation: 201Reputation: 201
Check if your system is using ntp-client. It will be in your Administration control panel, probably under System. Or stop the ntpd service from running.
 
Old 05-16-2009, 10:40 AM   #3
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Since you are using KDE you can do this easily.

Open a terminal window.

Run kcontrol. A window will open.

Select System Administration -> Date & Time. A window will open.

Click on the Administrator Mode button and enter the correct password.

Now you will be able to change the time zone and/or stop the automatic time adjustment.

Remember to click the Apply button at the bottom of the window when you are finished making changes.

You should also check to be sure that you have the most recent update for the tzdata package. I recall an update being applied about a week or two ago.

Last edited by stress_junkie; 05-16-2009 at 10:41 AM.
 
Old 05-16-2009, 11:21 AM   #4
dogpatch
Member
 
Registered: Nov 2005
Location: Central America
Distribution: Mepis
Posts: 150
Blog Entries: 1

Original Poster
Rep: Reputation: 18
Thank you both for your quick replies.

{BBI}Nexus{BBI}:
What is npt-client? How do i alter or stop the ntpd service?

stress_junkie:
As mentioned, i've already employed the KDE control facility to reset the time; it just doesn't always stay set.

What is tzdata? From its name, i assume this has to do with timezones, and DST settings. This does not appear to be the problem. The KDE Control Center is consistently reporting the correct timezone - in my case, CDT. Where do i look for tzdata?



Is there a daemon or process with ability to automatically access UTC when i am online? Is there a separate timezone setting for this? How do i change or disable it?
 
Old 08-07-2009, 10:33 AM   #5
dogpatch
Member
 
Registered: Nov 2005
Location: Central America
Distribution: Mepis
Posts: 150
Blog Entries: 1

Original Poster
Rep: Reputation: 18
Turns out, i misdiagnosed the source of this problem. I was occasionally going online through Windoze ExPee, and that was the culprit. Its default setting was to automatically synchronize my system clock when online, using time-a.nist.gov, but doing so incorrectly. Microsoft and a government site combined to screw things up. Why should i be surprised?

Anyway, i merely disabled this 'feature' and the problem appears to be resolved.
 
  


Reply

Tags
timezone


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How Do I Disable Automatic Updates - 2008.1 explorer Mandriva 1 03-14-2009 11:52 PM
clock-adjustment time is offseet from clock-display time bezdomny Linux - Desktop 2 11-19-2008 02:48 PM
modification time off 1 hour between linux and windows after DST adjustment pvlogin Linux - Software 3 11-01-2005 09:51 AM
time adjustment SUSE 9.0 metallica1973 Linux - Software 2 10-25-2005 06:02 PM
How Can I Disable Automatic Mouse Drag? stelmed Slackware 3 12-21-2003 02:06 PM


All times are GMT -5. The time now is 07:45 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration