Guest Execution Service

Discussions about using Windows guests in VirtualBox.
Post Reply
tatacarrera
Posts: 2
Joined: 7. Jan 2011, 15:44
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP

Guest Execution Service

Post by tatacarrera »

Hi virtual box users!
I have a Ubuntu 10.10 as a host and a Windows XP SP3 as guest and i would like to know hoy can I realize about the guest execution service state. It happens that i'm tryin to run the VM from the linux console and then run some programs on the Windows guest, but if I run a script like this:

Code: Select all

#!/bin/sh
VBoxManage startvm "Windows XP"
VBoxManage guestcontrol exec "Windows XP" "cmd.exe" --username ******** --password ******** --verbose
the stdout response is

Code: Select all

Waiting for the VM to power on...
VM has been successfully started.
Waiting for guest to start process ...
VBoxManage: error: The guest execution service is not ready.
and so, I need a way to know when the guest execution service is ready

Thanks for reading.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Guest Execution Service

Post by Perryg »

The guest must be running.

Read Chapter 8.29. VBoxManage guestcontrol in your VirtualBox users manual.
tatacarrera
Posts: 2
Joined: 7. Jan 2011, 15:44
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Guest Execution Service

Post by tatacarrera »

in fact the guest is already running, it says that on the output i wrote, but i realize that i could avoid this by creating a snapshot just when the OS is ready for applications to run
Post Reply