There are several ways people are suggesting for adjusting Kali Linux [1] resolution in Virtual Box. First of all, make sure you have the latest Virtual Box [2] along with the latest Extension Pack.
Lets assume that you downloaded a VM image of Kali Linux from the aforementioned URL. I suggest you make sure your Kali Linux is up-to-date. To update your system, bring up the terminal and run the following command in order to fetch all the new updates:
apt-get update
Then, run this command to upgrade your system:
apt-get upgrade
It is not necessary to restart your system at this state, but for those of you who might want to do this, just type in the terminal: reboot
So, in order to be able to change the resolution of your Kali Linux guest OS under Virtual Box you need to:
[1] http://www.offensive-security.com/kali-linux-vmware-arm-image-download/
[2] https://www.virtualbox.org/wiki/Downloads
apt-get update
Then, run this command to upgrade your system:
apt-get upgrade
So, in order to be able to change the resolution of your Kali Linux guest OS under Virtual Box you need to:
- Run this command: apt-get install -y linux-headers-$(uname -r)
- At the Oracle VM VirtualBox menu bar, click on “Devices” and then “Insert Guest Additions CD Image”.
- Change directory to: cd /media/cdrom0/ or cd /media/cdrom/
- Run this command: sh VBoxLinuxAdditions.run (..it will take a moment)
- Once done, you must reboot your system
Now you should be able to change your resolution from the Display or by just resizing your VM's (guest OS) window.
[2] https://www.virtualbox.org/wiki/Downloads
No comments:
Post a Comment