Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Starting vmware in headless mode

I have a centos vm and I was wondering if there is a way to turn that vm into headless mode.

I found this information on different site

If you want to run a headless VM under VMPlayer simply add the following to your vmware preferences file ($HOME/.vmware/preferences):

pref.vmplayer.exit.vmAction = "disconnect"

but I couldn't find the $HOME/.vmware/preferences directory.

like image 791
Gnawk Avatar asked Feb 18 '26 09:02

Gnawk


1 Answers

You can start a VM in headless mode by using vmrun with the nogui flag:

vmrun start <PATH TO VM> nogui

Similarly, to later suspend machine:

vmrun suspend <PATH TO VM>

To see a list of running VMs:

vmrun list
like image 176
Etheryte Avatar answered Feb 20 '26 23:02

Etheryte