Mine is running in WSL2 and windows build [Version 10.0.22621.2428] with WSLg, so no need for VcXsrv port opening stuff.
Now, what I did to fix it is to create an Inbound and Outbound rule for port 6000-6005 TCP and UDP in windows firewall (Very Important)
then I ran
export DISPLAY=:1
then i ran it again
cd macOS-Simple-KVMsudo ./basic.sh
The startup:
Mine is running in WSL2 and windows build
[Version 10.0.22621.2428]
with WSLg, so no need for VcXsrv port opening stuff.Now, what I did to fix it is to create an Inbound and Outbound rule for port 6000-6005 TCP and UDP in windows firewall (Very Important) then I ran
export DISPLAY=:1
then i ran it againcd macOS-Simple-KVM
sudo ./basic.sh
Walah It works now