Having trouble installing guest additions for a Xubuntu 13.10 guest OS in Virtualbox 4.2.10
I've been running the same problem on Debian Wheezy host, running VirtualBox 4.1.8 (with Kubuntu 13.10 as guest).
After some diggings, it seems that installing guest additions on recent 13.10 derived Linux distributions (such as yours : Xubuntu 13.10) requires at least version 4.3 of VirtualBox run on the host.
To update your VirtualBox version up to 4.3:
Add the official repository to your /etc/apt/sources.list file:
deb http://download.virtualbox.org/virtualbox/debian raring contrib
Add the official Oracle repository key and update your repositories list:
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-get update
Select any running virtualbox daemons' id:
ps -aux | grep virtualbox
and kill them.
Install the new version of VirtualBox (it will automatically remove the previous version)
sudo apt-get install virtualbox-4.3
Launch your guest from the VirtualBox interface and install the Guest Additions from the 4.3 .iso on your Linux 13.10 guest, the same way as you did (sudo ./VBoxLinuxAdditions.run). The kernel module will find the appropriate linux header for compilation.
Hope this helps.
For information, here's the generic linux distribution installation tutorial for VirtualBox
makoshichi
Updated on September 18, 2022Comments
-
makoshichi over 1 year
Several weeks ago I have build a Native C++ .dll that wraps a third-party .dll to be used with C# P/Invoke in several applications to be deployed in WES7. I've been using Windows 10 as a dev box and everything works as expected. This week I finally got my hands on the box with embedded Windows and things are not doing that well anymore... I've tried to deploy three different C# applications that use the .dll I built alongside the third-party one but they all fail with a DllNotFoundException. Obviously both .dll files are in the same folder as my executable file for each project, but I keep getting the DllNotFoundException. My native .dll targets the Win32 platform, the embbedded windows is a 32-bit system, and all my C# apps are built to target the x86 architecture, so I've ruled that out. I've wasted the last hour messing around with the system32 folder to no avail, so I've run out of options. Any suggestions will be appreciated.
Edit: I just talked to a co-worker who works remotely and he had the exact same problem when trying to run our .dll under WES7. I'll update this question as soon as I have more info.
-
Braiam over 10 yearsWhat
/var/log/vboxadd-install.log
says? -
Duval Pearson III over 10 yearsI have edited my message to show the link to the log Braiam
-
Braiam over 10 yearsDid you ran
sudo /etc/init.d/vboxadd setup
? -
Braiam over 10 yearsDid you restart the system? Try installing
sudo apt-get install linux-headers-$(uname -r)-generic
instead. -
Duval Pearson III over 10 yearsBraiam. The problem is resolved by installing the 4.3 version of virtualbox from Oracle's site. I thought I had the official one installed and used(and it was 4.2). It was the one in the repository. It was outdated and had many bugs. I installed the guest additions and everything worked fine(In the oracle 4.3 version) even drag and drop started to work.
-
Ethan F. almost 8 yearsCould it be some support dll files not found? Probably not your dll but 3rd party one requires some?
-
makoshichi almost 8 yearsUnless the 3rd-party .dll uses some other .dll that is present in desktop windows but absent in WinCE, that wouldn't be the case. Nonetheless, I'll investigate that
-
Jonathan Mee almost 8 yearsIs this a side-by-side error? It sounds like it.
-
makoshichi almost 8 yearsNo, I don't think so, it started happening even when I had only one application and these .dlls could only be found in this folder
-