Telnet Client Service in Windows operating system

Windows Subsystem for Linux (WSL)


 What is Windows Subsystem for Linux?(WSL 2)

The Windows Subsystem for Linux provides a GNU environment which includes command-line tools, applications and also utilities without dualboot setup and virtual machines. 

How to?

You need to turn on the following windows features
➡Virtual Machine Platform
➡Windows Hypervisor Platform
➡Windows Subsystem for Linux

After enabling these features your pc needs to be restarted 

Open Microsoft Store and select your favourite Linux distributions and install it.

For now I will show you "Kali Linux" installation:




1. Now open Powershell and run it as an administrator to set wsl 2 as default
2. Type wsl --set-default-version 2 
3.Open Kali linux terminal which you have installed from microsoft store 
4. Wait for the install setup to be completed and Enter your username and password when you are asked.
5. Download and install the WSL2 Linux Kernel from here:
https://aka.ms/wsl2kernel

Install Win-keX:

We can install win-kex via terminal 
Type the following commands
 
  sudo apt update
  sudo apt install -y kali-win-kex 


If you have enough space and RAM enjoy kali linux with full installation
Type
      
sudo apt install -y kali-linux-large

OPTIONAL STEPS:

If you are facing slow download issue :
open your teminal and do this
    
type 
sudo su (Enter your password)
nano /etc/apt/sources.list

Here you can change linux packages downloads mirrors

Make all other mirrors as comment lines by keeping # 

Now type the following mirror links

deb http://kali.download/kali kali-rolling main non-free contrib
deb http://kali.download/kali kali-experimental main non-free contrib
deb http://kali.download/kali kali-last-snapshot main non-free contrib

press ctrl + x to exit and press y to save and press enter to close it.

Run Win-KeX

There are three modes supported by win-kex 
1. First Method:
    windows mode:
    To run this mode type   kex --win -s 
Refer to the Win-KeX Win | Kali Linux Documentation for further information

2. Second Method:
    Enhanced Session Mode:
    To start this mode type kex --esm --ip -s 



    
3.Third Method:
   seamless mode:
   To start this mode type kex --sl -s 



Comments

Post a Comment