LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-31-2005, 08:03 AM   #1
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
Changing system date and time from KDE


I always have strange problems when changing the system date/time in KDE (whether in a vanilla KDE, or YaST control panel) Each time I change the system time, the time shifts at the next reboot. The time is stored in "local time".

This problem doesn't occur if I remove /etc/adjtime later in the console, but I would classify that as a hack/workarround.

What is causing this problem, and how can I fix it?
 
Old 03-31-2005, 02:54 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Changing the system date/time is a <root> function. If you have been making these changes as <root> I would check that your bios time/date is correct.
 
Old 04-01-2005, 06:03 AM   #3
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by {BBI}Nexus{BBI}
Changing the system date/time is a <root> function. If you have been making these changes as <root> I would check that your bios time/date is correct.
What does the bios time have to do with the system time? Isn't the "Adjust date and time" function supposed to change the system time?

The changes are indeed done as root. The KDE Clock program prompts for the root password when you change the time. Reason I ask this question, every linux box I've tried to change the system date/time, it causes the clock to shift at each reboot.

Last edited by yapp; 04-01-2005 at 06:06 AM.
 
Old 04-01-2005, 08:21 AM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Quote:
Originally posted by yapp
What does the bios time have to do with the system time? Isn't the "Adjust date and time" function supposed to change the system time?
I was under the impression that you were having problems making your changes stick, if this is the case then (unless you are connected to a time server and are using that to synchronise your System Time) the time and date is controlled by your bios (Hardware Time).
 
Old 04-17-2005, 03:40 AM   #5
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Original Poster
Rep: Reputation: 30
I've solved my problems, and I find it strange I cannot do this from a gui:

Code:
date --set 10:44
hwclock --systohc
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Start Date + Time Duration = End Date/Time calculator? ToBe Linux - General 3 09-26-2005 10:17 AM
Changing System Date Format to DD/MM/YY On RHEL3? krishvij Linux - Newbie 2 03-16-2005 06:58 AM
how to change system time? date cmd? servnov Linux - Newbie 2 10-31-2004 03:07 PM
Erm, how do I set my system date/time? vasudevadas Slackware 4 09-14-2004 03:40 PM
Change system time or date or both lel800 Linux - Newbie 6 10-28-2003 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration