Start VM in script.

Discussions related to using VirtualBox on Linux hosts.
Post Reply
digiwo
Posts: 18
Joined: 6. Apr 2009, 10:57
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows XP

Start VM in script.

Post by digiwo »

Hello, i need to Start one Virtual Maschine with WindowsXP in a Script with Linux gnome boot.
also it must be Load Debian -> Load Gnome -> automatic start Virtual Maschine with XP (at best in Fullscreen)

Can anyone help me?

Thx

P.S. sorry my bad english
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Start VM in script.

Post by Sasquatch »

You want to start the VM after you log on to your machine, or during boot? If it's after you log on, add a launcher to your sessions with the start command. Please see the manual for more info on how to use command line functions. If you want a pure fullscreen VM, without the extra options of the GUI it uses by default, you can use VBoxSDL -vm "vm name" -fullscreen.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
digiwo
Posts: 18
Joined: 6. Apr 2009, 10:57
Primary OS: Debian Lenny
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Start VM in script.

Post by digiwo »

Big big Thank You, its works so how i need it.
Post Reply