Posted in windows
2243
10:45 pm, December 1, 2022
 

installing kali linux in windows from the app store

After watching this amazing video, i got inspired to install kali linux from the windows app store. Amazing! I was actually watching the news before this and i thought, eh depressing, so ended up watching this and got inspired! Much better than the news... Thanks networkchuck for inspiring me!

Update: Why do guides that takes 5 minutes take me like 30 minutes! Its like those recipe books that say cook this meal in 10 minutes and it takes me 30 or more, maybe im just slow... 

Find it in the App Store

I ignored the commands that he added before installing this so i got this error, which is a good start i guess ;)

Ok what do we do with this error, i guess run the following command to fix it. 

INSTALL WSL 2

RUN POWERSHELL as administrator

Powershell

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux

This should give you something like this installer screen

Then you need to also run these commands

Powershell

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

Then you should restart, but ill try without restarting... 

Download Linux Kernel: https://aka.ms/wsl2kernel 

Yes i know it keeps telling me to restart, but ill see if it works with no restart!

Powershell

Set the default to WSL 2

wsl --set-default-version 2

Yep so you do need to reboot, hopefully this will fix the following error..:

Powershell

Check the Version

wsl --list --verbose

Ok now it works, after the reboot. 

Run the above commands and then go back into the windows app store and click on the kali linux again. 

INSTALL GUI Desktop

This will allow you to run the kali linux desktop rather than just the command line. Even though command line is cooler... 

For some reason i love watching these installation screens.

Powershell

sudo apt update && sudo apt upgrade -y
sudo apt install kali-desktop-xfce -y

XRDP

Powershell

sudo apt install xrdp -y
sudo service xrdp start

Now get your ip address by typing ip add and you can remote into kali desktop (yes on windows...) !

Not working for me.. sad. Not sure why i cant remote in yet, maybe i need to restart again? Or its blocked somehow. 

Maybe i need to use the old school remote desktop for this or i have the wrong ip address... hmm.

For some reason the new remote desktop app does not work connecting to this, but the older one does. 

Ok were in! Nice...

..

 

View Statistics
This Week
24
This Month
143
This Year
370

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Articles
Search Articles by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
When i was a little kid, I was really scared of the dark. But then I came to understand, dark just means the absence of photons in the visible wavelength -- 400 to 700 nanometers. Then i thought, well, its really silly to be afraid of a lack of photons. Then i wasn't afraid of the dark anymore after that.
Elon Musk
Random CSS Property

:last-of-type

The :last-of-type CSS pseudo-class represents the last element of its type among a group of sibling elements.
:last-of-type css reference