Enable Time Synchronisation in VMWare Guest
Instead of editing your .vmx
file, you can use the VMWare Tools to enable/disable synchronisation of the time with the server:
Linux
vmware-guestd --cmd "vmx.set_option synctime 0 1" # Enable
vmware-guestd --cmd "vmx.set_option synctime 1 0" # Disable
Windows
vmwareservice --cmd "vmx.set_option synctime 0 1" # Enable
vmwareservice --cmd "vmx.set_option synctime 1 0" # Disable
You get a warning/error like Invalid old value
if you enable the synchronisation twice. That’s not considered critical.