| Fedora This forum is for the discussion of the Fedora Project. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-16-2007, 04:49 AM
|
#1
|
|
LQ Newbie
Registered: Dec 2005
Location: Chennai, Tamil Nadu, India
Distribution: Knoppix, Fedora Core 5,6, Fedora 7
Posts: 27
Rep:
|
Fedora 7: system time not showing properly.
I have a dual boot with windows xp sp2. I had installed Fedora 7 a week back. I am using KDE.
From the initial boot up the time is showing wrongly. I had set the time zone correctly to asia/Calcutta. still it is showing time wrongly. when i set it to local timezone the time is ahead by atleast 6 - 7 hours. To get the correct time i have to set the timezone to -1:00 gmt or to GMT.
The time is showing correctly in BIOS and also in windows. Where do i have to check out for correcting the problem?
|
|
|
|
07-16-2007, 04:57 AM
|
#2
|
|
Member
Registered: Nov 2004
Location: Venice, Italy
Distribution: Gentoo
Posts: 44
Rep:
|
I don't know where in Fedora, but probably you have set the clock time as localtime and not GMT.
You can set (maybe even in windows) if the time is stored in GMT or in your local timezone.
|
|
|
|
07-16-2007, 04:59 AM
|
#3
|
|
Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131
Rep: 
|
The problem is probably because Linux uses GMT time + localtime hours when it calculates the local time (that means: clock is set to GMT, then you tell in which timezone you are, and Linux tells you the time at that timezone - changing timezones is a matter of changing your location, not changing the actual machine clock). Windows doesn't use this setup, if I'm right, it just has one time which is your localtime. Some distributions ask you during your setup (at least if they find there's windows on board) if you're using localtime or GMT, so they can set the clock correctly. If you answer the "wrong" answer, your localtime is miscalculated and shows some hours less or more than you intended..
Fix is to tell Linux to use the correct timezone, or just GMT, so that it calculates the time correctly. Some distributions have the timezone set in /etc/environment, others elsewhere.
|
|
|
|
07-17-2007, 10:36 AM
|
#4
|
|
LQ Newbie
Registered: Dec 2005
Location: Chennai, Tamil Nadu, India
Distribution: Knoppix, Fedora Core 5,6, Fedora 7
Posts: 27
Original Poster
Rep:
|
thanks for the reply fatzeus and b0uncer. Ok. i checked out the /etc/environment file and is was blank. then at terminal i executed cat /etc/timezone and it showed my timezone to be Asia/Calcutta. But still it is shows time ahead by 5:30 hours. so what u said is correct b0uncer. Linux takes up the system time and adds my timezone to it. since i am in india the timezone is +5:30 and so when it is 9 o clock in my wall clock here it shows 2:30 in the panel.
But that was not the case previously, in Fedora 6 and 5. there was no problem with time.
I tried to fiddle with the timezones and when i added UTC as additional timezone to be displayed. it displays the system time correctly.
when i place my mouse over the clock in kde it shows
Local Timezone 02:30, Wednesday 18 July 2007
UTC 21:00, Tuesday 17 Tuesday 2007.
Is there anyway: to keep my timezone settings and get correct time?
|
|
|
|
07-17-2007, 11:14 AM
|
#5
|
|
LQ Newbie
Registered: Dec 2005
Location: Chennai, Tamil Nadu, India
Distribution: Knoppix, Fedora Core 5,6, Fedora 7
Posts: 27
Original Poster
Rep:
|
ok i solved the problem, or so i think.
i went to /etc/sysconfig/clock and editied it and set the UTC to false(it was set to true when i opened it). and i got my system time correct with my timezone intact.
I found about this in this thread
http://lists.kde.org/?l=kde-linux&m=112007294015819
Hope this helps somebody else too who has similar probs like mine.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:59 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|