How to launch a new WSL bash window from an existing WSL bash window

This works from a bash prompt in WSL.

cmd.exe /c start cmd.exe /c wsl.exe

(Solution found here)


There is no need to call cmd twice. I use this kind of thing:

cmd.exe /c start wsl.exe -d $WSL_DISTRO_NAME --user $LOGNAME -- ssh -p 23 -L 80:10.0.0.1:80 -L 443:10.0.0.1:443 username@remoteserver

this will open another wsl window for the same user and distribution of the caller window and start ssh session in it. The ssh session can be replaced with whatever you want to run in the new window ... if you want just the shell prompt omit everything after $LOGNAME