Open TylerJaacks opened 3 years ago
This repo only works on Linux, otherwise you can follow this https://github.com/alephsecurity/xnu-qemu-arm64/wiki/Build-iOS-on-QEMU.
I should make the Mac version tho!
I was getting the same error under Linux, and it turned out I needed to allow the connection using xhost: http://manpages.ubuntu.com/manpages/jammy/en/man1/xhost.1.html
I'm guessing you can probably close this issue.
@wilj Thanks, fixed with just xhost local:
Now QEMU boots up but it hangs on Thu Jan 1 00:01:26 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Could not read path: path = /AppleInternal/Library/LaunchDaemons, error = 2: No such file or directory
Any idea?
@wilj Thanks, fixed with just
xhost local:
Now QEMU boots up but it hangs on
Thu Jan 1 00:01:26 1970 localhost com.apple.xpc.launchd[1] (com.apple.xpc.launchd.domain.system) <Error>: Could not read path: path = /AppleInternal/Library/LaunchDaemons, error = 2: No such file or directory
Any idea?
Someone else had a similar error setting up an iOS VM in another project and they link to a tutorial for working around it. Maybe there's a setting/option in their instructions that you need?
https://github.com/TrungNguyen1909/qemu-t8030/issues/2
https://github.com/TrungNguyen1909/qemu-t8030/wiki/Bringing-up-the-emulator
Someone else had a similar error setting up an iOS VM in another project and they link to a tutorial for working around it. Maybe there's a setting/option in their instructions that you need?
https://github.com/TrungNguyen1909/qemu-t8030/wiki/Bringing-up-the-emulator
I'm not sure if it's related. How did you got it work?
My PC is Dell Optiplex 7010 with Nvidia Geforce GT 710, the docker-OSX works perfectly
Could not read path: path = /AppleInternal/Library/LaunchDaemons, error = 2: No such file or directory
I meet this problem too, have you ever fixed it?
tylerjaacks@Tyler-Jaacks-MacBook-Pro images % docker run -it --privileged \ --device /dev/kvm \ -e RAM=6 \ -e HFS_MAIN=./images/hfs.main \ -e HFS_SEC=./images/hfs.sec \ -p 2222:2222 \ -v "$PWD:/home/arch/docker-eyeos/images" \ -e "DISPLAY=${DISPLAY:-:0.0}" \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -p 1233:1234 \ -e GDB_ARGS='-S -s' \ sickcodes/docker-eyeos:latest ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519 nohup: appending output to 'nohup.out' Unable to init server: Could not connect: Connection refused gtk initialization failed tylerjaacks@Tyler-Jaacks-MacBook-Pro images % ls hfs.main hfs.main.zst hfs.sec hfs.sec.zst tylerjaacks@Tyler-Jaacks-MacBook-Pro images %