Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a Linux host with a Windows XP guest machine. I need that Windows XP machine starts after the user does login on Linux. So, how do I start my VirtualBox machine on login?

share|improve this question

migrated from stackoverflow.com Nov 11 '11 at 18:29

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 1 down vote accepted

Add this to your startup applications (assuming you've got something with the Gnome desktop environment, you didn't say wich distro you're using): virtualbox --startvm <name>, replacing <name> by the name of the virtual machine you'd like to start.

share|improve this answer
    
using the headless option might be useful too, depending on how he accesses the VM –  Journeyman Geek Nov 12 '11 at 7:58

Sounds like you need a linux logon script. Maybe in bash. Here is a post of a guy doing it in slackware with virtual box.

Virtual Box Forums

share|improve this answer

Your Answer

 
discard

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.