PDA

View Full Version : Virtualbox 5.1.14 and Kali 2016.2 - Guest Additions ain't working



Kabylake
2017-02-25, 14:43
Hey there,

currently I'm running Kali 2016.2 on Virtualbox 5.1.14. So, now, the problem is, that I can't get the guest additions working.
What I already did is following:



- Edited the sources.list to use the new source/repo (deb http://http.kali.org/kali kali-rolling main contrib non-free)
- used apt-get update
- used apt-get upgrade

This, so far, was working withnout any errors.
After that I used


apt-get install -y virtualbox-guest-x11

and installed the guest additions. This worked also without any errors. Then I restarted the VM - and whoops.. the guest additions ain't working. (Seems like the services aint running.)

So, I started to research and found out, that the guest additions, which kali pulls, are version 5.1.12 - however, virtualbox seems like it wants version 5.1.14 for the guest additions.

Does anybody have a solution? Would be great.

toolman10000
2017-02-28, 03:47
Did you install the right extension pack into virtual box ?

CyberOps
2017-03-02, 18:51
I'm having the same issue. If anyone has any workarounds I would appreciate the assistance as well.

informalgarlic
2017-03-16, 00:23
...same issue as well.

The problem is that the headers for 2016.2 are 4.6.0 and they won't work with Guestadditions/VBox 5.1.xx


apt-get install linux-headers-$(uname -r) doesn't work.


So I'd suggest updating the headers.


However, I'd like point out that they offer VM images that already have guest additions installed and regular hardly any setup besides:

apt-get update && apt-get dist-upgrade -y

https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/

Nikko
2017-03-16, 08:07
It helped me

apt-get purge virtualbox-guest-x11
apt-get autoremove --purge
reboot
apt-get update
apt-get dist-upgrade
reboot
apt-get update
apt-get install -y virtualbox-guest-x11
reboot

markincb
2017-04-22, 08:22
It helped me

apt-get purge virtualbox-guest-x11
apt-get autoremove --purge
reboot
apt-get update
apt-get dist-upgrade
reboot
apt-get update
apt-get install -y virtualbox-guest-x11
reboot

I had the same problem with VirtualBox 5.1.20 and Kali 2016.2. This solution from Nikko worked for me too.

shamans
2018-01-13, 12:58
It helped me

apt-get purge virtualbox-guest-x11
apt-get autoremove --purge
reboot
apt-get update
apt-get dist-upgrade
reboot
apt-get update
apt-get install -y virtualbox-guest-x11
reboot

thanks nikko..it been a headache last 2 weeks.your solution is working thanks lot man