Quantcast
Channel: Active questions tagged kali-linux - Super User
Viewing all articles
Browse latest Browse all 426

Kali in WSL 2 cannot start kex in esm mode

$
0
0

I am having issues using kali-win-kex in ESM mode on Kali Linux. I followed instructions for win kex step-by-step as shown on kali.org.(Note that I have carried out this process multiple times before with no issues)On attempting to run kex --esm -s I get the following error:

┌──(jralphw㉿jralphw)-[~]└─$ kex --esm -s/usr/bin/kex: line 291: cmdkey.exe: command not foundPlease enter ESM password for user jralphw:/usr/bin/kex: line 371: mstsc.exe: command not found

Both cmdkey.exe and mstsc.exe are valid windows programs on my machine... with cmdkey producing terminal output and mstsc opening the RDP client when executed through Win+R Run dialogIn addition, simply starting Kali using the kali or wsl commands gives me the following error message:

 -bash: .: filename argument required.: usage: . filename [arguments]┌──(jralphw㉿jralphw)-[~]└─$

note: I have used kali-win-kex on this very machine before with no issues. However, a situation arose where I had no option but to reinstall windows and set everything up again.


Viewing all articles
Browse latest Browse all 426

Latest Images

Trending Articles



Latest Images