foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.55k stars 1.14k forks source link

GTX Initialization Failed randomly #618

Closed The-Rokayan closed 8 months ago

The-Rokayan commented 8 months ago

The startup:

Screenshot 2023-10-22 164912

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-KVM sudo ./basic.sh

Walah It works now

image
The-Rokayan commented 8 months ago

if it didn't work i ran 'xhost first then continue on to export command