[vbox-dev] Problem with Guest Additions 4.3 in Windows guest

Magnus Madsen madsen.magnus at gmail.com
Wed Oct 16 09:08:41 UTC 2013

Hi Andreas,
I am using the API directly - and quickly testing, it looks like it is
working if I try to use VBoxManage.

I just went through the source for VBoxManage and I found the problem :)

It looks like you are required to use IGuestProcess.WaitFor to wait until
the session has been started - but only if the Guest Additions in the VM
using the new API version 2 (for VirtualBox 4.3)

This might be a good idea to have documented in the SDKRef document, as the
description for IGuest.createSession doesn't mention this and it seems a
bit strange that it is only needed when the Guest Additions are the newer

(There is no need for separate logic for the older versions of the
additions - the WaitFor command successfully works in this case as well)

Many thanks!


On Wed, Oct 16, 2013 at 10:41 AM, Andreas Löffler <
andreas.loeffler at oracle.com> wrote:

> Hi,
> are you using the API itself or some frontend / client which ships with
> VBox? If using the API, please have a look at the SDK reference;
> it contains the things which might need adjustment when using your own
> client code with former versions of VBox.
> BTW, did executing with VBoxManage work for you so using the 4.3
> Additions? Did the VM log tell something additional if not?
> Andreas
> On 16.10.2013 10:11, Magnus Madsen wrote:
>> Hi!
>> Great thanks for the new 4.3 version being released.
>> There looks to be a problem with guestcontrol though.
>> VMs using an older version of the Guest Additions work like normally in
>> my application, but if I upgrade the additions to 4.3, the GuestSession
>> is always in the GuestSessionStatus_Error state and I am unable to
>> execute anything towards the Guest Additions.
>> Is there a change in how the API should be used with the new version of
>> Guest Additions, or is this an error?
>> ______________________________**_________________
>> vbox-dev mailing list
>> vbox-dev at virtualbox.org
>> https://www.virtualbox.org/**mailman/listinfo/vbox-dev<https://www.virtualbox.org/mailman/listinfo/vbox-dev>
> --
> Kind regards / Mit freundlichen Grüßen
> **********************************************************************
> Andreas Löffler          | VirtualBox Engineering
> Senior Software Engineer | Oracle Virtualization
> ORACLE Deutschland B.V. & Co. KG
> Werkstrasse 24
> D-71384 Weinstadt, Germany
> Hauptverwaltung: Riesstr. 25, D-80992 München
> Registergericht: Amtsgericht München, HRA 95603
> Geschäftsführer: Jürgen Kunz
> Komplementärin: ORACLE Deutschland Verwaltung B.V.
> Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
> Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
> Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
> Green Oracle <http://www.oracle.com/**commitment<http://www.oracle.com/commitment>
> >
> Oracle is committed to developing practices and products that
> help protect the environment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.virtualbox.org/pipermail/vbox-dev/attachments/20131016/1f073227/attachment.html 

More information about the vbox-dev mailing list