Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Windows server that runs in a virtual machine on Linux Mint. I have a command in the "start up apps" to start it when I log in, but I'd like it to start when Linux starts, before anyone logs in.

How can I do this?


share|improve this question

You can place the command to start the virtual machine in /etc/rc.local before the exit line. This will run the command after booting the machine without need of a user to log in.

share|improve this answer
Well, this doesn't work, for some reason. I can run service rc.local start and it will run as expected... but it doesn't work on startup. I can confirm that rc.local is running at startup, just not my VBoxManage command. – aserwin Apr 23 '13 at 20:42
Probably you only need to add a small delay to the script to let everything running before starting the VM. I think 30 sec to 1 min should be sufficient (sleep 60 for example) – laurent Apr 23 '13 at 20:53

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.