Results 1 to 3 of 3

Thread: VirtualBox Guest-additions Issue on Kali

  1. #1
    Join Date
    2016-Dec
    Posts
    1

    VirtualBox Guest-additions Issue on Kali

    Hi Kali Community. I have reviewed just about all the posts i could find on this issue. Finally after days of frustration i am posting it here.
    I am unable to get guest additions from virtual box to function on my Kali virtual box.
    Naturally i am unable to drag, drop, copy, paste etc. From my host to guest

    When i Run my virtual box i am greeted with the follow messages:







    This is what i have tried:

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

    apt-get update && apt-get install -y linux-headers-$(uname -r)


    remounted the virtual box guest additions ISO
    cp /media/cd-rom/VBoxLinuxAdditions.run /root/
    chmod 755 /root/VBoxLinuxAdditions.run
    cd /root
    ./VBoxLinuxAdditions.run


    then i get the follow error message:



    The log file:


    Get full Log file:
    Pastebin.com/u11EFR6X

  2. #2
    Join Date
    2016-Dec
    Posts
    4
    don't know if this helps but vbox and vbox extensions pack need to be same ver I think they are both up to 5.1.10 now
    and hopefully your sources.list just has these two lines
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    if the above is correct did you do apt-get update && apt-get upgrade -y
    and don't do dist-upgrade lately that blows up the desktop but to get to 4.8 kernel this worked for me apt-get install -y 4.8.0-kali1-amd64
    then restart kali ... uname -r should be at 4.8 now
    then I installed the 4.8 Linux headers you can list them with apt-cache search headers | grep -I Linux
    then I installed DKMS with apt-get install -y dkms linux-headers-$(uname -r)
    then inserted the guest additions cd copied the VBoxLinuxAdditions.run to my desktop then in terminal went to Desktop and did ./VBoxLinuxAdditions.run
    guest additions worked for me then

  3. #3
    Quote Originally Posted by warrend View Post
    don't know if this helps but vbox and vbox extensions pack need to be same ver I think they are both up to 5.1.10 now
    and hopefully your sources.list just has these two lines
    deb http://http.kali.org/kali kali-rolling main contrib non-free
    deb-src http://http.kali.org/kali kali-rolling main contrib non-free

    if the above is correct did you do apt-get update && apt-get upgrade -y
    and don't do dist-upgrade lately that blows up the desktop but to get to 4.8 kernel this worked for me apt-get install -y 4.8.0-kali1-amd64
    then restart kali ... uname -r should be at 4.8 now
    then I installed the 4.8 Linux headers you can list them with apt-cache search headers | grep -I Linux
    then I installed DKMS with apt-get install -y dkms linux-headers-$(uname -r)
    then inserted the guest additions cd copied the VBoxLinuxAdditions.run to my desktop then in terminal went to Desktop and did ./VBoxLinuxAdditions.run
    guest additions worked for me then
    I tried what you suggested warrend and I get stuck at the:

    and don't do dist-upgrade lately that blows up the desktop but to get to 4.8 kernel this worked for me apt-get install -y 4.8.0-kali1-amd64

    part. I did do a dist-upgrade, otherwise everything is set as you said, including the sources.list file.

    The problem is 4.8.0-kali1-amd64 is not found as a package:

    Screenshot from 2016-12-16 12-27-28.jpg

Similar Threads

  1. Virtualbox 5.1.14 and Kali 2016.2 - Guest Additions ain't working
    By Kabylake in forum TroubleShooting Archive
    Replies: 6
    Last Post: 2018-01-13, 12:58
  2. Virtualbox guest additions problems on kali
    By jthack in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2016-04-09, 00:04
  3. Kali and VirtualBox Guest Additions
    By zxbcrhj in forum General Archive
    Replies: 1
    Last Post: 2016-03-08, 03:15

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •