VBoxManage error

Discussions about using Windows guests in VirtualBox.
Post Reply
Bypus
Posts: 33
Joined: 26. Sep 2017, 11:52

VBoxManage error

Post by Bypus »

Hello,

I'm running VirtualBox with Python and have come to an error.

Here is the code:

Code: Select all

startvmProc = subprocess.Popen(vboxmgrPath + " startvm " + machName)	
startvmProc.wait()
I get this OK message:
VM "MyVM" has been successfully started.
Then I run an other process like this:

Code: Select all

execProc = subprocess.Popen(vboxmgrPath + " guestcontrol " + machName + " --username " + username + " --password " + password + " run " + execPath)
execProc.wait()
But then i get this error message:
VBoxManage.exe: error: Error starting guest session (current status is: starting)
Though it said it had been successfully started.
Am I doing something wrong ?
Post Reply