Kex desktop fails to start in Kali Linux on WSL2 #10230

Open
opened 2026-01-31 02:15:57 +00:00 by claunia · 0 comments
Owner

Originally created by @faysl on GitHub (Aug 20, 2020).

I installed Kex desktop in WSL2 for my Kali Linux on windows 10. It fails to launch in Terminal and gives a a misleading error about wrong password.

Please use this form and describe your issue, concisely but precisely, with as much detail as possible.

-->

Environment

Windows build number: 19041.450
Windows Terminal version : Version: 1.1.2233.0

Any other software?

Steps to reproduce

Install WSL2 on windows 10. Then install Kali Linux from Microsoft store and then install Kex desktop by using the following commands:

Step by step

https://www.kali.org/docs/wsl/win-kex/

Expected behavior

Desktop should launch

Actual behavior

It fails to launch the desktop.

error : CConn: Opening password file failed

Workaround

Launch terminal from Kali and then initiate the command Kex and desktop opens up.

Originally created by @faysl on GitHub (Aug 20, 2020). I installed Kex desktop in WSL2 for my Kali Linux on windows 10. It fails to launch in Terminal and gives a a misleading error about wrong password. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: 19041.450 Windows Terminal version : Version: 1.1.2233.0 Any other software? ``` # Steps to reproduce Install WSL2 on windows 10. Then install Kali Linux from Microsoft store and then install Kex desktop by using the following commands: Step by step https://www.kali.org/docs/wsl/win-kex/ # Expected behavior Desktop should launch # Actual behavior It fails to launch the desktop. error : CConn: Opening password file failed # Workaround Launch terminal from Kali and then initiate the command Kex and desktop opens up.
claunia added the Product-WSLNeeds-TriageResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 02:15:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#10230