Guest Additions (Runtime Error: -38 [Access Denied])

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ncarvajal
Posts: 1
Joined: 2. Dec 2009, 04:50
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Linux Mint 8 and Linux OpenSUSE 11.2

Guest Additions (Runtime Error: -38 [Access Denied])

Post by ncarvajal »

Hi Guys,

I was hoping some kind soul out there would be able to help me.

This is my first time using vBox and I am running version 3.1.0 on my Windows 7 machine in order to run virtual environments of Linux Mint 8 and Linux OpenSUSE 11.2.
When I start either of these virtual sessions I get a warning about the color settings being set at 16bit and not their optimum 32bit.
I have gathered from various reading materials that in order to correct this error I should install 'Guest Additions'.
However when I go to Devices -> Install Guest Additions on the vBox menu, I get the following error:

Failed to open the CD/DVD image C:\PROGRA~1\Sun\VIRTUA~1\VBoxGuestAdditions.iso
Runtime error: -38 (Access denied.).
E:\tinderbox\win-rel\src\vBox\Main\VirtualBoxImpl.ccp [3325]
(VirtualBox::saveSettings)

Details -
Result Code: E_FAIL (0x80004005)
Component: VirtualBox
Interface: IVirtualBox {21584646a-f706-414b-a8c4-fb589dfc6b62}


Can anyone help me resolve this issue?

I have searched for this error on google and on the forum but have not seen anyone else having this problem. Instead most topics deal with the issue that nothing happens once you attempt to load the guest additions as opposed to getting an error.

I have also read the Guest Additions Installation 'How To' and executed the required packages on the guest system and still I get this error!!?

Any help much appreiated!

Many thanks,
NC
shadowdancer
Posts: 2
Joined: 9. Oct 2009, 13:50
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows

Re: Guest Additions (Runtime Error: -38 [Access Denied])

Post by shadowdancer »

Same here,

Looks like it's a bug in VirtualBox.

My environment is OpenSUSE 11.2, running VirtualBox for Windows Host.

I got this error:
agus@linux-ukpx:~> VirtualBox
/usr/bin/VirtualBox: line 72: /usr/lib/virtualbox/VirtualBox: Permission denied
/usr/bin/VirtualBox: line 72: exec: /usr/lib/virtualbox/VirtualBox: cannot execute: Permission denied

Some time after the installation.

Searching google doesn't give any result yet/

Returning to 3.0 until this bug is solved.
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 Additions (Runtime Error: -38 [Access Denied])

Post by Perryg »

This should help Howto: Install Linux Guest Additions + Xorg config

Linux Guest additions must be installed as root or SU.
shadowdancer
Posts: 2
Joined: 9. Oct 2009, 13:50
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: Windows

Re: Guest Additions (Runtime Error: -38 [Access Denied])

Post by shadowdancer »

Confirmed on OpenSuSE 11.2

It is not a bug, but O/S policy.

Edit /etc/permissions.easy and change the entry below:
# VirtualBox (#429725)
/usr/lib/virtualbox/VirtualBox root:vboxusers 4750 --> change to 4755
/usr/lib/virtualbox/VirtualBox3 root:vboxusers 4750 --> change to 4755
/usr/lib/virtualbox/VBoxBFE root:vboxusers 4750 --> change to 4755
/usr/lib/virtualbox/VBoxHeadless root:vboxusers 4750 --> change to 4755
/usr/lib/virtualbox/VBoxSDL root:vboxusers 4750 --> change to 4755

Hope it help others.

Thanks
MaidenFan
Posts: 33
Joined: 25. Sep 2008, 16:14
Primary OS: Fedora other
VBox Version: PUEL
Guest OSses: Fedora, CentOS, Ubuntu, Windows 7
Location: London, UK
Contact:

Re: Guest Additions (Runtime Error: -38 [Access Denied])

Post by MaidenFan »

I can confirm that there is a fix for this problem. I too had the same error running VirtualBox 3.1.2 on a Windows 7 64bit host. After reinstalling VirtualBox, rolling back to 3.1.0 and then reinstalling 3.1.2 I still couldn't shift the error. It turns out that the C:\Users\YourName\.VirtualBox\ folder isn't actually deleted when the uninstall takes place, so it has to be deleted manually - when I deleted this folder and re-installed 3.1.2 fresh, I was back to normal. So, backup whatever VDIs you have and delete the folder. Then just reinstall VirtualBox and all should be fine :)

To clarify - this isn't actually a Guest Additions problem - it's to do with a (possibly) corrupt VirtualBox host XML file :)
* Fedora Linux User * Personal Website & Blog
Trevil
Posts: 2
Joined: 31. Dec 2011, 15:54
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: xp

Re: Guest Additions (Runtime Error: -38 [Access Denied])

Post by Trevil »

I dont get it, I am added to the vboxuser group, and I can run VBoxManage without problems, it seems that VBoxControl, VBoxService and VBoxTunctl is also available to me.

But VBoxHeadless is only available to root. I have tried to change the permissions in /etc/permissions.easy but that did not help. And yes, I am in the vboxuser group.

Please advice :)
Post Reply