Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Here is the command I want to be run at startup:

VBoxHeadless -s "pfsense"

as user "enedene".
Could someone give me step by step instructions?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

Try this:

  1. Edit /etc/rc.local.
  2. Add this to the bottom of the file:

    su -c 'VBoxHeadless -s "pfsense"' enedene &
share|improve this answer
Thank you, this does the job. –  enedene Dec 26 '11 at 14:24

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.