How to install Kali Linux on Windows 10
Are you a Windows 10 user? Then I have great news for you: you can install and run Kali Linux within the operating system itself,
without creating virtual machines or performing disk-resident installations.
This is possible thanks to the Linux subsystem made available within Windows 10,
starting from the last Creators Update: in other words, you can download and install Kali Linux from the Microsoft Store,
and use it via the Command Prompt.
activate the Linux subsystem
The first thing to do, to proceed with this approach, is to activate the Linux subsystem:
open the Start menu by clicking on the flag button located at the bottom left of the screen,
or startCortana ‘s search bar, type the phrase functionality Windows and click on its icon.
Using the new screen that appeared on the desktop, identify the entry Windows subsystem for Linux,
put the checkmark in the corresponding box, press the OK button, and then the Restart now button to make the requested change effective.
At this point, connected to the Windows Store, type Kali Linux in the search bar at the top, press the Enter button,
select the icon for the operating system and press the
Get a button to install
it immediately (if you want, you can go directly to the Microsoft Store by pressing on this link ).
Once the setup is complete, open the Start menu once again and start Kali Linux by clicking on its icon and
wait for the completion of the operating system setup: when Enter new UNIX username appears,
type a username of your choice, press the Enter key, then enter the access password,
presenter once again and repeat the operation to confirm the password: Kali Linux is finally installed!
As it is easy to notice, a graphical interface is not available at this stage, since the
A light version of the operating system has been installed: before proceeding with further operations,
I suggest you type the command Sudo apt-get update && Sudo apt-get dist-upgrade to perform a full system upgrade.
How do you say?
Would you like to have a desktop to use with a mouse and keyboard?
With proper precautions, this is possible: By taking advantage of Xfce on Kali Linux and the Windows remote desktop,
you can install and use a graphical interface for your distribution. Before continuing, however,
I want to warn you that this procedure, although rare, can lead to sudden malfunctions and freezes of Linux: do not worry,
however, it is nothing that cannot be solved with a restart!
Having said that, let’s move on to the action again: once logged into Kali Linux, type in it the command Sudo apt-get install wget, press the enter button twice, then enter the command wget https://kali.sh /xfce4.sh and press Enter again. At this point, type the command sudo sh xfce4.sh followed by pressing the Enter key, typing your administrator password, and pressing the Enter button again: after a few minutes, the configuration procedure starts.
Using the arrow keys on the keyboard, proceed to configure the mapping of the same: select the Other item from the list, press the Enter button, choose the Italian item, press Enter again, and select the Italian item once again from the next window and press to the third time on the Enter button.
Once the procedure is complete, the phrase Configuring XRDP to listen on port 3390 (but not starting the service) … is shown on the screen: then type the command Sudo /etc/init.d/xrdp start followed by entering, type your password as administrator, press Enter again and make sure that the service is started on port 3390 (a green “ok” is shown on the screen).
At this point, always keep the Kali Linux command window open (if you wish, you can minimize it), open the Windows Start menu, and type in it the phrase Remote Desktop,
Click on the Remote Desktop Connection icon, and enter the Computer box, the string localhost: 3390, then press the Connect button, place the checkmark in the
Do not display this message again for connections to this computer box and then press the Yes button.
The graphical interface of Kali Linux is served! You just have to type your username and password in the appropriate fields and click OK, taking care to leave the Xorg entry in the Session field.
Once the work is complete, do not “brutally” close the Remote Desktop window, but log out of the session by clicking on your username located at the top right, then on the Log Out item, and finally on the Log Out button. It wasn’t difficult, was it?