Docker-eyeOS icon indicating copy to clipboard operation
Docker-eyeOS copied to clipboard

Can't Boot because I get this Error.

Open TylerJaacks opened this issue 4 years ago • 6 comments

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 %

TylerJaacks avatar Jan 15 '21 18:01 TylerJaacks

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!

sickcodes avatar Jan 15 '21 19:01 sickcodes

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 avatar Jan 23 '22 05:01 wilj

@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

AndroidMaster24 avatar Jun 13 '22 09:06 AndroidMaster24

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

https://github.com/TrungNguyen1909/qemu-t8030/issues/2

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

wilj avatar Jun 13 '22 15:06 wilj

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

AndroidMaster24 avatar Jun 14 '22 08:06 AndroidMaster24

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?

newthis avatar Mar 06 '24 09:03 newthis