On most guest operating systems, if VMware Tools is installed, you can configure settings so that one or more scripts run when the power state changes. For example, when you power off a virtual machine, by default the poweroff-vm-default script runs if the virtual machine is set to shut down the guest rather than abruptly power off.Scripts are run by the VMware Tools service, or daemon (vmtoolsd). Because vmtoolsd is run as root on Linux, Solaris, and FreeBSD and as System on Windows, the scripts are run in a separate session from the session of the logged-in user. The VMware Tools daemon has no knowledge of desktop sessions, which means that it cannot display graphical applications. Do not attempt to use custom scripts to display graphical applications.
■ On Linux, Solaris, and FreeBSD guests, to edit a script, make sure xterm and vi are installed in the guest and are in your PATH, or specify which editor to use by setting the EDITOR environment variable.
3
4
5
6