Posted in windows
3081
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
83
This Month
318
This Year
1208

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
Old programmers never die; they just lose some of their functions.
Random CSS Property

@font-feature-values

The @font-feature-values CSS at-rule lets you use a common name in the font-variant-alternates property for features activated differently in OpenType. This can help simplify your CSS when using multiple fonts.
@annotation css reference