Verify guest additons working from the host

Discussions about using Linux guests in VirtualBox.
Post Reply
strycat
Posts: 7
Joined: 6. Feb 2013, 18:32

Verify guest additons working from the host

Post by strycat »

Is there a way from the host to verify the guest additions on a guest are installed and working?

I was using VBoxManage guestproperty enumerate which found a bunch of Net entires, but not the IP address. It wasn't until I realized that the guest additions had not been reinstalled after a kernel upgrade that I figured out the real probem. Once I reinstalled them, guestproperty provided me with the information I wanted.

In this case, both the host and guest were linux.

I do see the /VirtualBox/GuestAdd/Version property however that only provides the version number and doesn't tell me if it is working correctly.

Thanks in advance.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Verify guest additons working from the host

Post by mpack »

If you mean directly, and without running the guest: no there isn't. You can however see the installed GAs version in the last log file.
strycat
Posts: 7
Joined: 6. Feb 2013, 18:32

Re: Verify guest additons working from the host

Post by strycat »

Hmmm ok then as an alternative, if you're on the guest (a Linux guest) can you determine if guest additions are working/up-to-date?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Verify guest additons working from the host

Post by noteirak »

working yes, up-to-date no. You would need to know the Virtualbox version which is in the host.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Verify guest additons working from the host

Post by Perryg »

Humm. :?

Host+N (in the guest) opens the session information which would tell you that the guest additions are installed and also the version.
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Verify guest additons working from the host

Post by noteirak »

Unless I am wrong, the OP wanted this programatically from within the guest, or am I wrong?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Verify guest additons working from the host

Post by Perryg »

noteirak wrote:Unless I am wrong, the OP wanted this programatically from within the guest, or am I wrong?
Originally but then the OP asked about a way from the guest. Host+N is the easiest way to tell if the GAs are installed and their version from within the guest. :wink:
strycat wrote:Hmmm ok then as an alternative, if you're on the guest (a Linux guest) can you determine if guest additions are working/up-to-date?
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Verify guest additons working from the host

Post by mpack »

I have to say that I read it the same way Max did: the intention was to use with a script or suchlike. Perhaps the OP can clarify.
Post Reply