


For example, your Windows C: drive is accessible via /mnt/c. Windows drives are mounted by their drive letters under /mnt.
Startx command not found kali install#
Sudo apt install -y ca-certificates findutils command-not-found vim nano curl openssh-client less screen apt-utils top htop whois git python3-pip Accessing the Windows filesystem from WSL The Debian distribution for WSL is minimal, so many packages that you might expect to be installed, such as ca-certificates, are not installed.
Startx command not found kali update#
To do this on Debian/Ubuntu based distributions, run: sudo apt-get update & sudo apt-get upgrade -y & sudo apt-get upgrade -y & sudo apt-get dist-upgrade -y & sudo apt-get autoremove -y Install common tools Update the Linux distributionĪfter you have set up your user, update the OS. Use the same username that you use on remote Linux/UNIX systems, so you won’t need to specify it in individual configuration files, or every time you run commands like ssh. This UNIX username and password has no relationship to your Windows username and password, and it can be different. The first time you launch a Linux distribution in Windows, you will be prompted to create a UNIX username and password. Please read this blog post for more information. Linux distributions can be installed using a script, or by using the Microsoft Store links below:Īfter installation your Linux distribution will be located at: %localappdata%\lxss\ This directory is marked as a hidden system folder for a very good reason:Īvoid creating and/or modifying files in this location using Windows tools and apps! If you do, it is likely that your Linux files will be corrupted and data loss may occur. Install your Linux distribution of choice It is important that you DO restart when prompted as some of the infrastructure which the Windows Subsystem for Linux requires can only be loaded during Windows’ boot-up sequence. Open a PowerShell prompt as administrator and run: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-LinuxĪfter enabling Windows Subsystem for Linux

You can enable the feature using a GUI or command-line interface. Enable the Windows Subsystem for Linux feature
