Guest: Windows 7 (64)
Version: 5.2.22
Guest Additions: 5.2.22
In my python script, the lines
Code: Select all
runner = session.console.guest.createSession("Analyser", "project", None, None)
runner.waitFor(virtualBoxManager.constants.GuestSessionWaitForFlag_Start, 30 * 1000)
which seems to suggest problems with the specified credentials.File "<pyshell#2>", line 1, in <module>
runner.waitFor(virtualBoxManager.constants.GuestSessionWaitForFlag_Start, 30 * 1000)
File "C:\Users\kaos\AppData\Local\Temp\gen_py\2.7\D7569351-1750-46F0-936E-BD127D5BC264x0x1x3.py", line 4039, in WaitFor
, aTimeoutMS)
com_error: (-2147352567, 'Exception occurred.', (0, u'GuestSessionWrap', u'The specified user was not able to logon on guest', None, 0, -2135228411), None)
However, I've tried to do something similar with VBoxManage as
Code: Select all
VBoxManage.exe guestcontrol "AMA" --username "Analyser" --password "project" stat "C:\Project"
The VM state is the same when running both, the script and the command: the VM is started, the OS booted up and I've signed in manually through the GUI, with the same credentials as above.Element "C:\Project" found: Is a directory
What could be the issue?