To run your VMware Workstation Player (16) in headless mode, here is the configurations.
First, shutdown all the VMware Virtual Machines, then edit the VMware preference file below:
- (Linux) $HOME/.vmware/preferences
- (Windows) %HOMEPATH%\AppData\Roaming\VMWare\preferences.ini
Next, append the following lines at the bottom of the files.
pref.vmplayer.exit.vmAction = "disconnect"
pref.vmplayer.confirmOnExit = "FALSE"