Access WSL2 from LAN:
Localhost et al: reddit
Open the HKCU\Software\Microsoft\Windows\CurrentVersion\Lxss
registry. Find the registry value DistributionName==Kali_Linux
. Change defaultUID registry to zero (default is 0x3e8
). Open Kali, type passwd
change root password.
WIndows explorer: \\wsl$
VS Code:
\\$wsl\home\username\.bash_profile
core.editor
in .gitconfig
:code --wait
to disable Windows path addition to WSL $PATH