Also as a side note, seamless mode seems to not work on windows 11 beta for me at least. If none of these work, sudo apt remove win-kex, then sudo apt-autoremove and start the tutorial from the beginning. Step 1: Enable the Windows Subsystem for Linux Before installing Kali Linux app, you have to enable the Windows Subsystem for Linux feature. Make sure that you restart when they tell you to. Open PowerShell as administrator and run: dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestartĭism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart Continue running the following commands continuously. We have to download & install the WSL Switcher, download a Kali base, extract & install it. The above command will install the foundation of Kali Linux. If it does not, make sure that you are on WSL-2, and try running through this part of the tutorial you linked again Open PowerShell as administrator and run:Įnable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux Open an elevated Command Prompt and run the following command: lxrun /install. Delete the symlink, rm /tmp/.X11-unix, run vncserver (to set up another symlink), then kex should work. Once you have resized your Windows partition, ensure you Apply All Operations on the hard disk.Exit gparted and reboot. kalikali: sudo apt install -y kali-win-kex. First try the tried and true fix for everything: restart your computer, sudo apt update sudo apt upgrade to see if it fixes itself.Īll of these commands should be ran as root. Now, you need to install Win-Kex (open up Kali Linux in Windows Terminal to do this, don't enter the following commands in Powershell) Install win-kex using: Code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |