Closed
Description
Environment: Win10, WSL2.
runx
bash script goes through ipconfig.exe
output and sets Hostip
var (needed for the DISPLAY
envvar) to the value from the first found "IPv4"-containing string.
But when there are multiple Virtual Switches the first found value may be not correct (my case) so runx
doesn't work because DISPLAY
is not set correctly.
Disabling additional Virtual Switches solves the problem but it took about an hour for me (not mentioning reading through code) to find the reason of the problem.
Please take this situation into account.
Thanks.