Ubuntu – How to auto start VM on Ubuntu and Vmware workstation 7

Ubuntuvmware-workstation

Initially i was using window server 2008 and vmware worktation 7.
There i had .bat file and i put at startup folder to start Vms at startup.

I have chnaged my OS to ubuntu . how can i auto start VM in there

Best Answer

vmrun is the correct option. I use the following to start a VMware Workstation VM in the background.

vmrun start "$vmimg"  nogui

where $vmimg is the full path to the vmx file of the VM. The key option that you want is the nogui option so that the VMware Workstation gui doesn't come up.