VMWare client: suspend/resume scripts

I am currently running a NixOS vmware guest. When I am trying to suspend, I get the following message:

The request to Suspend this virtual machine failed because the corresponding VMware Tools script did not run successfully. If you have configured a custom suspend script in this virtual machine, make sure that it contains no errors. Attempting the operation again will ignore the script failure. You can also submit a support request to report this issue.

A second attempt to suspend works fine.

Similarly when resuming:

The VMware Tools resume script did not run successfully in this virtual machine. If you have configured a custom resume script in this virtual machine, make sure that it contains no errors. You can also submit a support request to report this issue.

I think that suspend/resume works fine. Does anyone know how to get rid of these warnings (or to fix these script failures)?

1 Like