vmware-player and vmrun on linux

Wanted to try my hand at controlling VMware Player guests at the console. The tool for this is vmrun, part of the VIX API SDK utilities free download.


Some basic commands:

vmrun -T player start /path/to/guest/guest.vmx

This will power on a guest.

vmrun -T player stop /path/to/guest/guest.vmx

This will power off a guest.

vmrun -T player reset /path/to/guest/guest.vmx

This will reboot a guest.

Unfortunately you need an X session to do this with Player (or Workstation). There’s no true “console mode” with that product as there is with the old Server and current ESX line of products. One can think of some vnc-enabled possibilities though…