Posted in windows
1136
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
145
This Month
479
This Year
3745

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...

You could also follow me on twitter. I have a couple of youtube channels if you want to see some video related content. RuneScape 3, Minecraft and also a coding channel here Web Dev.

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

"Olivia, my eldest daughter, caught measles when she was seven years old. As the illness took its usual course I can remember reading to her often in bed and not feeling particularly alarmed about it. Then one morning, when she was well on the road to recovery, I was sitting on her bed showing her how to fashion little animals out of coloured pipe-cleaners, and when it came to her turn to make one herself, I noticed that her fingers and her mind were not working together and she couldn’t do anything. 'Are you feeling all right?' I asked her. 'I feel all sleepy,' she said. In an hour, she was unconscious. In twelve hours she was dead. The measles had turned into a terrible thing called measles encephalitis and there was nothing the doctors could do to save her. That was...in 1962, but even now, if a child with measles happens to develop the same deadly reaction from measles as Olivia did, there would still be nothing the doctors could do to help her. On the other hand, there is today something that parents can do to make sure that this sort of tragedy does not happen to a child of theirs. They can insist that their child is immunised against measles. ...I dedicated two of my books to Olivia, the first was ‘James and the Giant Peach’. That was when she was still alive. The second was ‘The BFG’, dedicated to her memory after she had died from measles. You will see her name at the beginning of each of these books. And I know how happy she would be if only she could know that her death had helped to save a good deal of illness and death among other children."

I just checked google books for BFG, and the dedication is there. 

https://www.google.com.au/books/edition/_/quybcXrFhCIC?hl=en&gbpv=1 


Roald Dahl, 1986
Random CSS Property

font-variant-alternates

The font-variant-alternates CSS property controls the usage of alternate glyphs. These alternate glyphs may be referenced by alternative names defined in @font-feature-values.
font-variant-alternates css reference