WSL2 hangs on first boot
antontkv opened this issue · comments
When WSL2 VM first boots the process hangs and you don't even see prompt. When WSL2 already booted everything works fine.
I changed command to setsid
, added -f
to it and first boot stated working fine again. So the final command looks like this:
setsid -f nohup socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork SOCKET-CONNECT:40:0:x0000x33332222x02000000x00000000 >/dev/null 2>&1