WSL: Kali Linux - GUI/Desktop (Win-KeX): Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ == Prerequisites == *Running Windows 10 version 2004 or higher *Using Windows Terminal *Install WSL 2 http://wiki.webperfect.ch/index.php?title=WSL_(Windows…“) |
Admin (Diskussion | Beiträge) |
||
(4 dazwischenliegende Versionen des gleichen Benutzers werden nicht angezeigt) | |||
Zeile 12: | Zeile 12: | ||
kex | kex | ||
+ | Press '''F8''' if you want to change the settings of TigerVNC. | ||
+ | |||
+ | |||
+ | == Running Win-KeX in Windows Terminal == | ||
+ | Add follwing settings in the Windows Terminal settings.json file: | ||
+ | { | ||
+ | "guid": "{55ca431a-3a87-5fb3-83cd-11ececc031d2}", | ||
+ | "hidden": false, | ||
+ | "name": "Win-KeX", | ||
+ | "commandline": "wsl -d kali-linux kex --wtstart -s", | ||
+ | "startingDirectory" : "//wsl$/kali-linux/home/" | ||
+ | }, | ||
Zeile 20: | Zeile 32: | ||
= Troubleshooting = | = Troubleshooting = | ||
+ | == CConn: Opening password file failed == | ||
'''Error:''' CConn: Opening password file failed <br> | '''Error:''' CConn: Opening password file failed <br> | ||
'''Cause:''' ''Win-KeX try to open the current terminal location. If the current location is the windows user mount, then the error occurs.'' <br> | '''Cause:''' ''Win-KeX try to open the current terminal location. If the current location is the windows user mount, then the error occurs.'' <br> |
Aktuelle Version vom 14. September 2021, 08:55 Uhr
Inhaltsverzeichnis
Prerequisites
- Running Windows 10 version 2004 or higher
- Using Windows Terminal
- Install WSL 2 [[1]]
Installing Win-Kex
Install Win-KeX via:
sudo apt update && sudo apt install kali-win-kex
Run Win-KeX in the home directory of Kali:
kex
Press F8 if you want to change the settings of TigerVNC.
Running Win-KeX in Windows Terminal
Add follwing settings in the Windows Terminal settings.json file:
{ "guid": "{55ca431a-3a87-5fb3-83cd-11ececc031d2}", "hidden": false, "name": "Win-KeX", "commandline": "wsl -d kali-linux kex --wtstart -s", "startingDirectory" : "//wsl$/kali-linux/home/" },
More information's: https://www.kali.org/docs/wsl/win-kex/
Troubleshooting
CConn: Opening password file failed
Error: CConn: Opening password file failed
Cause: Win-KeX try to open the current terminal location. If the current location is the windows user mount, then the error occurs.
Solution: Change the location to the Linux home directory and start the Win-KeX again.