I am running Ubuntu as a guest OS using VMware player on my Windows 7 machine. The problem I have is syncing the clock in the Ubuntu machine. This happens only when I close the VMware player and open the suspended session. For example if I close my VMware player running Ubuntu at 4:15 PM and then restore it at 5:45 PM, it still shows 4:15 PM. (This does not happen when I shutdown the Ubuntu OS.)
I searched the StackOverflow forum and found that by setting
tools.syncTime = true
tools.syncTime.period = 60
should help resolve the problem. But this change did not work for me. Any pointers to resolve this issue would be helpful.
Configure the guest VM to synchronize time with ESX. In the VM's configuration, go to Edit Settings > Options > VMware tools. Tick the synchronise guest time with host box.
To disable one-off time synchronization in a VM, launch vSphere Client, go to Edit Settings → VM Options → VMware Tools → Synchronize Time with Host, and deselect the checkbox Synchronize at startup and resume (recommended).
To synchronize time: Open the vSphere Client and connect to vCenter Server. Right-click the virtual machine you deployed from OVF and click Edit Settings > Options > VMware Tools. Under Advanced, select the Synchronize guest time with host option and click OK.
Check VMtools Sync You can check to see if VMware tools is set to sync, buy looking in the “Edit Settings” menu of the virtual machine and looking for the “Synchronize guest time with host” setting.
I had the same clock sync issue. Installing VMware tools solves the problem.
But if it doesn't help, you can do it manually by calling sudo ntpdate ntp.ubuntu.com
every time you open the suspended session.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With