banner



How To Install Kali Linux On Hyper V

Installing "Invitee VM Packages", gives a ameliorate user experience with VMs in full general. This is why since Kali Linux 2022.three, during the setup process it should observe if Kali Linux is inside a VM. If it is, then automatically install any additional tools (in Hyper-V's case, hyperv-daemons). The Kali Linux Live image besides comes with hyperv-daemons pre-installed since Kali Linux 2022.3.

Yet this is not the stop of the story, and more tin can be done to ameliorate the feel afterwards. This is because Hyper-Five can connect to Virtual Machines using Remote Desktop Protocol (RDP).

This commodity volition assist you lot to enable the Enhanced Session Style, which improves latency and opens up the possibility of clipboard sharing and windows resizing.

Configurating Kali

To configure Kali for Hyper-Five Enhanced Session Fashion, run kali-tweaks:

          [email protected]:~$ kali-tweaks                  

In the card, select Virtualization, then Configure the organization for Hyper-V enhanced session mode. And that's all in that location is to do on Kali'due south side.

Changing the Setting of the Virtual Auto

You now need to change the ship blazon from VMBus to HVSocket.

First, log out of the current Kali's session:

On the Windows host at present: disconnect the Kali VM, open a PowerShell (with Administrator privileges) and issue the post-obit command:

          > Set-VM "(YOUR VM NAME Here)" -EnhancedSessionTransportType HVSocket                  

Test and Troubleshooting

We can test to see if it'due south been a success past starting the virtual machine again, and check if you can see the following screen when trying to use xrdp.

If this exam doesn't succeed, you might need to reboot, either the Kali VM, either the Windows host. Exercise what's the most user-friendly for you, just if ever yous're using the Kali Live epitome, keep in heed that rebooting means losing all your changes: you'll have to redo the configuration step on Kali'south side.

Disabling Hyper-V Enhanced Session Fashion

If ever yous find out that this mode was not what yous wanted, it's possible to undo the configuration on Kali'southward side. Not difficult but you demand to do the steps in the correct order, and then let'due south detail it here.

First, log out of the electric current Kali'southward session. So on the Windows host, disconnect the Kali VM. And then reconnect without Enhanced Session Mode, and log in Kali. Finally, open a last and only employ kali-tweaks once more:

          [email protected]:~$ kali-tweaks                  

In the Virtualization carte du jour, you will discover a setting to disabled Hyper-V Enhanced Session Mode.

Further notes

More details and troubleshooting can be found in the post-obit conversation on GitLab.

This feature was made possible thanks to the work of Satoshi Mimura who ported the scripts (initially for Ubuntu) to Kali Linux, and Shane Bennett who helped to rework it for kali-tweaks, and provided most of the material for this documentation. Thanks!

Source: https://www.kali.org/docs/virtualization/install-hyper-v-guest-enhanced-session-mode/

Posted by: lerouxbude1967.blogspot.com

0 Response to "How To Install Kali Linux On Hyper V"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel