Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Boot because I get this Error. #8

Open
TylerJaacks opened this issue Jan 15, 2021 · 6 comments
Open

Can't Boot because I get this Error. #8

TylerJaacks opened this issue Jan 15, 2021 · 6 comments

Comments

@TylerJaacks
Copy link

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 %

@sickcodes
Copy link
Owner

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!

@wilj
Copy link

wilj commented Jan 23, 2022

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.

@VanHoevenTR
Copy link

VanHoevenTR commented Jun 13, 2022

@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?

logs.txt

@wilj
Copy link

wilj commented Jun 13, 2022

@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?

logs.txt

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?

TrungNguyen1909/qemu-t8030#2

https://github.com/TrungNguyen1909/qemu-t8030/wiki/Bringing-up-the-emulator

@VanHoevenTR
Copy link

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?

TrungNguyen1909/qemu-t8030#2

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

@newthis
Copy link

newthis commented Mar 6, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants