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?

link|improve this question
feedback

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

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

2 Answers

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.

link|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
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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