Kali Linux Screen Resolution

Kali Linux is an operating system that is - without any doubt - a very useful tool for everyone that is in the IT business. It contains tools to not only check the security of systems but also help examine  and troubleshooting network issues, application issues etc.

I've always used Microsoft Windows as my primary operating system and since Hyper-V is available out of the box the last few years, all my virtual machines are running on Hyper-V.

Installing Kali Linux 2 on a virtual machine is pretty straight forward, assign the .iso file to the virtual machine's drive, start it and follow the setup wizard.

The Hyper-V drivers are part of the operating system, but you have to enable them manually by editing the /etc/initramfs-tools/modules file and adding the following lines:

hv_vmbus
hv_storvsc
hv_blkvsc
hv_netvsc


After saving the file, execute the update-initramfs –u command for changes to take effect and reboot the virtual machine.

To verify that the drivers are loaded, use the lsmod | grep hv command. You should see a bunch of hyper-v drivers.

This however will not adjust your screen resolution in order for Virtual Machine Connection to display the virtual machine in full screen. You have to set the resolution manually by editing the /etc/default/grub file.

Open the file using your favorite text editor and locate the line starting with:
GRUB_CMDLINE_LINUX_DEFAULT= and replace the value with ”quiet splash video=hyperv_fb:1920×1080″ assuming that the resolution of your screen is 1920x1080 and update your GRUB configuration executing the update-grub command. 

Again, reboot in order for changes to be applied. Hopefully, the full screen on virtual machine connection will take exactly the space available on your screen.

Popular posts from this blog

Domain Controller Machine Password Reset

Managing Active Directory User Certificates using PowerShell

Configuring a Certificate on Exchange Receive Connector