View Issue Details

IDProjectCategoryView StatusLast Update
0006665Kali LinuxGeneral Bugpublic2021-06-24 19:12
ReporterW0mbl3 Assigned Tosteev  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2020.3 
Summary0006665: kex command will not launch desktop
Description

Having updated to 2020.3 I had no initial issues lauching the Kali desktop environment in WSL using the "kex" command. However having restarted the VM in WSL I now cannot open the desktop and get the error

"unable to connect to socket: No connection could be made because the target machine actively refused it. (10061)"

Steps To Reproduce

Just type open instance in WSL and then type kex

Attached Files
kex.JPG (65,325 bytes)   
kex.JPG (65,325 bytes)   

Activities

W0mbl3

W0mbl3

2020-08-20 08:10

reporter   ~0013298

Problem solved. Had to issue the "kex stop" command and then kex to use GUI environment after closing WSL instance.

TuxVinyards

TuxVinyards

2020-08-27 04:16

reporter   ~0013329

Add a line with 'cd "$HOME" ' at the start of function 'start-kex' in the script /usr/bin/kex

Happened to me. When I web searched, this problem seems to be happening a lot: Tiger: won't read password, won't connect etc

If you open the Windows Terminal & open a Kali tab, it will open into Windows $HOME eg /mnt/c/Users/Username Somewhere, in one of the loaders, $HOME or $PWD seem to be getting muddled.

Alternatively, type 'cd ~' every time you start ....

TuxVinyards

TuxVinyards

2020-08-28 12:58

reporter   ~0013346

Update: Needed to reboot Windows today, to get this to work .... ?

steev

steev

2021-06-24 19:12

manager   ~0014845

This is fixed in the latest release kali-win-kex release.

Issue History

Date Modified Username Field Change
2020-08-20 08:00 W0mbl3 New Issue
2020-08-20 08:00 W0mbl3 File Added: kex.JPG
2020-08-20 08:10 W0mbl3 Note Added: 0013298
2020-08-27 04:16 TuxVinyards Note Added: 0013329
2020-08-28 12:58 TuxVinyards Note Added: 0013346
2020-12-01 10:50 g0tmi1k Severity major => minor
2021-06-24 19:12 steev Assigned To => steev
2021-06-24 19:12 steev Status new => closed
2021-06-24 19:12 steev Resolution open => fixed
2021-06-24 19:12 steev Note Added: 0014845