Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I have a VirtualBox VM set up on OS X Lion. How do I have it automatically start when I log into my account?

share|improve this question
See apple.stackexchange.com/questions/3030/… but open the VM file to boot it rather than the VB app. –  user588 May 22 '12 at 4:07

2 Answers 2

Add the .VDI file for the VM you wish to auto run to your System Preferences > Users > Login Item. You can find the .VDI file in the folder of the VM. The default name of the folder VirtualBox saves these to is called VirtualBox VMs.

share|improve this answer

You have to add the .vbox file to the startup items rather than the .vdi like dennis.hempler said. The .vbox is specially designed for booting VMs without opening the app.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.