My clock is not keeping the correct time.

Asked by Sai Manoj Kumar Yadlapati on 2011-01-30

From the time when I installed Ubuntu in my computer my clock doesn't keep right time.
My CMOS battery is OK.
My system shows correct time when I boot into Windows(I dual boot Windows and Ubuntu 10.10 )
It shows a 1/2 hr more than actual.
I'm in India (GMT +5.30 ), it is showing GMT +6.00. I changed it many times to correct IST(INDIAN STANDARD TIME) but no use, it reverts back after restarting.
I tried to synchronise with time servers, but I didn't understand clearly how to do that(I googled).
Please help.
Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ntp Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
2011-01-30
Last query:
2011-01-30
Last reply:
2011-01-30

Open a Terminal from the menu Applications->Accessories->Terminal and type:

gksudo gedit /etc/default/rcS

In this configuration file change the row UTC set it as:

UTC=no

Save and exit reboot and then set the time.

The file already consists the line UTC=no.
What shall I do now??

Thank you, marcobra.
It helped me a lot.
:)

Thanks marcobra (Marco Braida), that solved my question.