Author Topic: Autostart VirtualBox Machine at startup  (Read 3622 times)

smcs_steve

  • Guest
Autostart VirtualBox Machine at startup
« on: October 03, 2009, 08:17:56 PM »
A hint for newbees...
(Forgive me if I'm covering old ground - I did a search first and found nothing)

This request came from a friend who runs PCLinuxOS 2009.1 but has IP cameras which only work through an Internet Explorer interface. (yes the Chinese manufacturer lied - the say any standard browser will work...NOT!)

So we installed VirtualBox 3.06, loaded the PCs OS of birth (XP_home) :(  and after fiddling the security settings for IE and allowing the install of .ocx stuff the cameras worked......OH joy!
Anyway my friend gets a little confused and panics when confronted with multiple choices or sequences of more than one command, so I set up autostart to his camera interface.

Here goes>
(I assume you have already installed a Machine into your VirtualBox)

Create a Link to Application on your Linux desktop  (ie....right click mouse etc)  
Under Application tab, in Command>    VBoxManage startvm {name of your Virtual Machine}
(eg: I used the command>      VBoxManage startvm XP_home            )
in Work Path>       /home/~/.VirtualBox/
(where ~ is your username)
Give the link a name and choose a pretty icon etc...

Launch the icon and the OS in VirtualBox should open directly.
if you are happy all that is working, next drag a copy of the launch icon to folder>    /home/~/.kde/Autostart/
and thats about it....the VBox machine is now set to Autostart each time you start you PCLinux session!
>Steve






« Last Edit: October 03, 2009, 11:36:24 PM by smcs_steve »