What am I doing wrong for this Wsl2 Kali Seamless Mode. Using Kali.org instructions and it doesn't work.
I am following Kali.org 's WSL Seamless Mode Instructions and keep encountering errors 2025-8-1 12:38:53 Author: www.reddit.com(查看原文) 阅读量:11 收藏

I am following Kali.org 's WSL Seamless Mode Instructions and keep encountering errors. I have had 1 success having the seamless mode but nothing looked right, so I am restarting. I am somewhat a newbie.

i get ""vcxsrv.exe: command not found"" when entering the command ""vcxsrv.exe -multiwindow -clipboard -wgl -auth {.XAuthority file} -logfile {A Log file} -logverbose {int log level}"" inside the kali terminal (WSL2)

I also got a ""CMD.EXE was started with the above path as the current directory.

UNC paths are not supported. Defaulting to Windows directory.""

When entering "userprofile=$(wslpath $(/mnt/c/Windows/System32/cmd.exe /C "echo %USERPROFILE%" | tr -d '\r\n'))

cp ~/.Xauthority "$userprofile"

'\\wsl.localhost\kali-linux\home\templar'"

Any guidance will be greatly appreciated :)


文章来源: https://www.reddit.com/r/HowToHack/comments/1meve0d/what_am_i_doing_wrong_for_this_wsl2_kali_seamless/
如有侵权请联系:admin#unsafe.sh