How to run Vmware virtual machine in headless mode
In headless mode, the virtual machine runs in the background with no graphical user interface visible. Though the operating system is running, you won’t be able to view the front end, and you’ll have to visit the computer remotely, where it will continue to perform the services as needed.
STEPS
1. Close all VMware Workstation and Player instances.
2. Open your preferences file using your best text editor.
Windows: %USERPROFILE%\Application Data\VMware\preferences.ini
Linux: ~/.vmware/preferences
3. Add the two lines below.
pref.vmplayer.exit.vmAction = "disconnect"
pref.vmplayer.confirmOnExit = "FALSE"
Kindly comment below if it works for you.