1
I have a strange problem with my Ubuntu Natty virtual machine running under VirtualBox on OSX.
One day last week, my clock on the top bar in Gnome stopped displaying the correct time (I'm not running Unity). I'm on GMT, so right now it should be 9:31, but it's showing 3:31, so I think it's something to do with TimeZones.
If I go into the date and time applet, the time is initially wrong but after a second sets itself to the correct GMT Time. The timezone is correclty set as London and it makes no difference if I unlock and set it again or select manual or automatic from internet time.
From a bash prompt, the "date" command shows: "Tue Sep 20 03:33:35 CDT 2011".
If I run "sudo dpkg-reconfigure tzdata" I am correctly set as London. Upon exiting the commnand I'm shown the correct London time, but then typing "date" again shows the CDT time again.
:~/$ date
Tue Sep 20 03:33:35 CDT 2011
:~/$ sudo dpkg-reconfigure tzdata
Current default time zone: 'Europe/London'
Local time is now: Tue Sep 20 09:34:22 BST 2011.
Universal Time is now: Tue Sep 20 08:34:22 UTC 2011.
:~/$ date
Tue Sep 20 03:34:26 CDT 2011
The clock is correct in OSX. This has been working fine for a month or two - I think it stopped working after an update last week. Any ideas?
My guess would be that the timezone on the host got changed to GMT and its clock set to local time or some such. – Daniel R Hicks – 2012-05-27T11:26:52.873
Please check my solution at link. You have to change some details, in my case I have Windows host.
– Vladimir S. – 2013-08-13T01:56:48.267