VirtualBox Guest Additions on Kali Linux
up vote
1
down vote
favorite
Good evening.
So, I have been trying to install the virtualbox guest additions onto my Kali Linux VM for the past couple of days now and I am at a loss for why it's not working.
For starters, the host machine is running Windows 10. I am running VirtualBox version 5.1.18. In addition, I have been using Kali Linux version 2016.2 for a 64 bit OS.
I have tried several different methods for installing the guest additions. The first method was inserting the guest cd under the devices menu for my VM. I was able to see the disk on the desktop of the vm but when I tried to launch the software inside it errored with the message: Cannot find program.
I then tried the official way on the kali docs found here. Those commands worked fine and things were installed. However, upon reboot the seamless mode and auto-resize guest option for my vm were still greyed out.
I tried doing those two methods twice, each with a brand new VM.
My final method came from SuperUser as found here. I followed the comment talking about editing /etc/apt/sources.list. The commands below it worked until the apt-get install linux-headers-$(uname -r) command. The vm errored saying:
E: Unable to locate package linux-headers-4.6.0-kali-amd64
E: Couldn't find any package by glob 'linux-headers-4.6.0-kali-amd64'
E: Couldn't find any package by regex 'linux-headers-4.6.0-kali-amd64'
If any of you know what I can do to try and get this to work please let me know. Thank you so much in advance for your help.
Cheers!
-Smalls
virtualbox virtual-machine resolution kali-linux guest-additions
add a comment |
up vote
1
down vote
favorite
Good evening.
So, I have been trying to install the virtualbox guest additions onto my Kali Linux VM for the past couple of days now and I am at a loss for why it's not working.
For starters, the host machine is running Windows 10. I am running VirtualBox version 5.1.18. In addition, I have been using Kali Linux version 2016.2 for a 64 bit OS.
I have tried several different methods for installing the guest additions. The first method was inserting the guest cd under the devices menu for my VM. I was able to see the disk on the desktop of the vm but when I tried to launch the software inside it errored with the message: Cannot find program.
I then tried the official way on the kali docs found here. Those commands worked fine and things were installed. However, upon reboot the seamless mode and auto-resize guest option for my vm were still greyed out.
I tried doing those two methods twice, each with a brand new VM.
My final method came from SuperUser as found here. I followed the comment talking about editing /etc/apt/sources.list. The commands below it worked until the apt-get install linux-headers-$(uname -r) command. The vm errored saying:
E: Unable to locate package linux-headers-4.6.0-kali-amd64
E: Couldn't find any package by glob 'linux-headers-4.6.0-kali-amd64'
E: Couldn't find any package by regex 'linux-headers-4.6.0-kali-amd64'
If any of you know what I can do to try and get this to work please let me know. Thank you so much in advance for your help.
Cheers!
-Smalls
virtualbox virtual-machine resolution kali-linux guest-additions
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
Good evening.
So, I have been trying to install the virtualbox guest additions onto my Kali Linux VM for the past couple of days now and I am at a loss for why it's not working.
For starters, the host machine is running Windows 10. I am running VirtualBox version 5.1.18. In addition, I have been using Kali Linux version 2016.2 for a 64 bit OS.
I have tried several different methods for installing the guest additions. The first method was inserting the guest cd under the devices menu for my VM. I was able to see the disk on the desktop of the vm but when I tried to launch the software inside it errored with the message: Cannot find program.
I then tried the official way on the kali docs found here. Those commands worked fine and things were installed. However, upon reboot the seamless mode and auto-resize guest option for my vm were still greyed out.
I tried doing those two methods twice, each with a brand new VM.
My final method came from SuperUser as found here. I followed the comment talking about editing /etc/apt/sources.list. The commands below it worked until the apt-get install linux-headers-$(uname -r) command. The vm errored saying:
E: Unable to locate package linux-headers-4.6.0-kali-amd64
E: Couldn't find any package by glob 'linux-headers-4.6.0-kali-amd64'
E: Couldn't find any package by regex 'linux-headers-4.6.0-kali-amd64'
If any of you know what I can do to try and get this to work please let me know. Thank you so much in advance for your help.
Cheers!
-Smalls
virtualbox virtual-machine resolution kali-linux guest-additions
Good evening.
So, I have been trying to install the virtualbox guest additions onto my Kali Linux VM for the past couple of days now and I am at a loss for why it's not working.
For starters, the host machine is running Windows 10. I am running VirtualBox version 5.1.18. In addition, I have been using Kali Linux version 2016.2 for a 64 bit OS.
I have tried several different methods for installing the guest additions. The first method was inserting the guest cd under the devices menu for my VM. I was able to see the disk on the desktop of the vm but when I tried to launch the software inside it errored with the message: Cannot find program.
I then tried the official way on the kali docs found here. Those commands worked fine and things were installed. However, upon reboot the seamless mode and auto-resize guest option for my vm were still greyed out.
I tried doing those two methods twice, each with a brand new VM.
My final method came from SuperUser as found here. I followed the comment talking about editing /etc/apt/sources.list. The commands below it worked until the apt-get install linux-headers-$(uname -r) command. The vm errored saying:
E: Unable to locate package linux-headers-4.6.0-kali-amd64
E: Couldn't find any package by glob 'linux-headers-4.6.0-kali-amd64'
E: Couldn't find any package by regex 'linux-headers-4.6.0-kali-amd64'
If any of you know what I can do to try and get this to work please let me know. Thank you so much in advance for your help.
Cheers!
-Smalls
virtualbox virtual-machine resolution kali-linux guest-additions
virtualbox virtual-machine resolution kali-linux guest-additions
asked Apr 16 '17 at 1:25
Smalls
613
613
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
up vote
0
down vote
Try this procedure:
install linux headers
sudo apt-get install build-essential linux-headers-`uname -r` dkms
mount CD VBoxGuestAdditions
get into that cd and run
sudo ./VBoxLinuxAdditions.run
Wait until it installs and reboot the VM
add a comment |
up vote
0
down vote
This worked for 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
add a comment |
up vote
0
down vote
This worked for me on Linux kali 4.14.0-kali3-amd64
apt-get remove && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
reboot
apt-get install -y virtualbox-guest-x11
reboot
Then
apt-get install virtualbox-guest-additions-iso
mount /usr/share/virtualbox/VBoxGuestAdditions.iso /mnt
cd /mnt
./VBoxLinuxAdditions.run
reboot
or
Virtual Box Menu: Devices -> Insert Guest Additions CD..
mkdir VBox
cp -Rv /media/cdrom0/* ~/Vbox/
cd Vbox/
./VBoxLinuxAdditions.run
reboot
add a comment |
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Try this procedure:
install linux headers
sudo apt-get install build-essential linux-headers-`uname -r` dkms
mount CD VBoxGuestAdditions
get into that cd and run
sudo ./VBoxLinuxAdditions.run
Wait until it installs and reboot the VM
add a comment |
up vote
0
down vote
Try this procedure:
install linux headers
sudo apt-get install build-essential linux-headers-`uname -r` dkms
mount CD VBoxGuestAdditions
get into that cd and run
sudo ./VBoxLinuxAdditions.run
Wait until it installs and reboot the VM
add a comment |
up vote
0
down vote
up vote
0
down vote
Try this procedure:
install linux headers
sudo apt-get install build-essential linux-headers-`uname -r` dkms
mount CD VBoxGuestAdditions
get into that cd and run
sudo ./VBoxLinuxAdditions.run
Wait until it installs and reboot the VM
Try this procedure:
install linux headers
sudo apt-get install build-essential linux-headers-`uname -r` dkms
mount CD VBoxGuestAdditions
get into that cd and run
sudo ./VBoxLinuxAdditions.run
Wait until it installs and reboot the VM
answered Apr 20 '17 at 6:42
lewis4u
4031615
4031615
add a comment |
add a comment |
up vote
0
down vote
This worked for 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
add a comment |
up vote
0
down vote
This worked for 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
add a comment |
up vote
0
down vote
up vote
0
down vote
This worked for 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
This worked for 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
edited Jun 18 '17 at 4:12
Stephen Rauch
2,24581625
2,24581625
answered Jun 18 '17 at 2:47
tony
1
1
add a comment |
add a comment |
up vote
0
down vote
This worked for me on Linux kali 4.14.0-kali3-amd64
apt-get remove && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
reboot
apt-get install -y virtualbox-guest-x11
reboot
Then
apt-get install virtualbox-guest-additions-iso
mount /usr/share/virtualbox/VBoxGuestAdditions.iso /mnt
cd /mnt
./VBoxLinuxAdditions.run
reboot
or
Virtual Box Menu: Devices -> Insert Guest Additions CD..
mkdir VBox
cp -Rv /media/cdrom0/* ~/Vbox/
cd Vbox/
./VBoxLinuxAdditions.run
reboot
add a comment |
up vote
0
down vote
This worked for me on Linux kali 4.14.0-kali3-amd64
apt-get remove && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
reboot
apt-get install -y virtualbox-guest-x11
reboot
Then
apt-get install virtualbox-guest-additions-iso
mount /usr/share/virtualbox/VBoxGuestAdditions.iso /mnt
cd /mnt
./VBoxLinuxAdditions.run
reboot
or
Virtual Box Menu: Devices -> Insert Guest Additions CD..
mkdir VBox
cp -Rv /media/cdrom0/* ~/Vbox/
cd Vbox/
./VBoxLinuxAdditions.run
reboot
add a comment |
up vote
0
down vote
up vote
0
down vote
This worked for me on Linux kali 4.14.0-kali3-amd64
apt-get remove && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
reboot
apt-get install -y virtualbox-guest-x11
reboot
Then
apt-get install virtualbox-guest-additions-iso
mount /usr/share/virtualbox/VBoxGuestAdditions.iso /mnt
cd /mnt
./VBoxLinuxAdditions.run
reboot
or
Virtual Box Menu: Devices -> Insert Guest Additions CD..
mkdir VBox
cp -Rv /media/cdrom0/* ~/Vbox/
cd Vbox/
./VBoxLinuxAdditions.run
reboot
This worked for me on Linux kali 4.14.0-kali3-amd64
apt-get remove && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
reboot
apt-get install -y virtualbox-guest-x11
reboot
Then
apt-get install virtualbox-guest-additions-iso
mount /usr/share/virtualbox/VBoxGuestAdditions.iso /mnt
cd /mnt
./VBoxLinuxAdditions.run
reboot
or
Virtual Box Menu: Devices -> Insert Guest Additions CD..
mkdir VBox
cp -Rv /media/cdrom0/* ~/Vbox/
cd Vbox/
./VBoxLinuxAdditions.run
reboot
edited Mar 14 at 23:43
answered Mar 12 at 14:56
Nestor Waldyd
112
112
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1200087%2fvirtualbox-guest-additions-on-kali-linux%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown