Yeah I am using Parallels. I saw the guide of running Debian under QEMU and it seemed too advanced for me, and I did not want to turn off System Integrity Protection.
I know what the issue is now. I enabled NextDNS in my VM and it is blocking Tor. Will fix it and report back.
It still fails after disabling NextDNS. This is the output by running script -c "sudo ./whonix_build --target raw --flavor whonix-workstation-xfce --build --arch arm64 --allow-untagged true --allow-uncommitted true" ./whonix_build_output.txt
parallels@debian-gnu-linux-10:~$ tor
May 15 21:38:54.175 [notice] Tor 0.4.5.7 running on Linux with Libevent 2.1.8-stable, OpenSSL 1.1.1d, Zlib 1.2.11, Liblzma 5.2.4, Libzstd 1.3.8 and Glibc 2.28 as libc.
May 15 21:38:54.175 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
May 15 21:38:54.175 [notice] Read configuration file "/etc/tor/torrc".
May 15 21:38:54.176 [notice] Opening Socks listener on 127.0.0.1:9050
May 15 21:38:54.176 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
May 15 21:38:54.176 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
May 15 21:38:54.176 [err] Reading config failed--see warnings above.
parallels@debian-gnu-linux-10:~$ curl --socks5 localhost:9050 --socks5-hostname localhost:9050 -s https://check.torproject.org/ | cat | grep -m 1 Congratulations | xargs
Congratulations. This browser is configured to use Tor.
parallels@debian-gnu-linux-10:~$
Too much to explain, document, complicated. Creating a support mess (more and more documentation, options, but taking away time from next stable version). Also too early for that.
Whonix usually doesnāt backport features in favor scarcely available development time for getting goals implemented for the next stable version of Whonix.
So I did try building it again, starting with a whole new Debian VM. The Workstation built, but the Gateway failed. I selected the text from the terminal starting a bit before the first error occured:
https://justpaste.it/5brx5
I have the two .raw files in my filesystem. Both are exactly 107.4 gb it says.
Tried to install the packages thorugh the page you linked and that is indeed the error.
Just sent them an email. Will let you know if they respond.
Also another question: if I would get this running with qemu on my M1 Mac (still have to wait until they fix a bug in the qemu patches so I can install them), can I just update to new Whonix versions when they are released like normal? Or do I have to rebuild for ARM every time if I want to update?
Thanks Patrick. I tried to open a ticket on gitlab but you need an account which they have to approve, so I am waiting now for them to allow my account or get a response to my email. If people want to have it fixed faster and have already done this earlier they should open a ticket on gitlab
So they just released a fix for the qemu patches and I managed to get something going. The gateway launched, but gave an error the second time that the greater onion service was not running. (Though now it seems to be fine). The workstation did not launch with the listed qemu commands, it gives:
qemu-system-aarch64: -netdev socket,id=internal,listen=:8010: can't bind ip=0.0.0.0 to socket: Address already in use
Anyone an idea how to solve this?
Iām happy that I have the gateway running though!
@GavinPacini how is it going with the UTM implementation? Let me know if I can help with something (I am a beginner though). UTM might have an additional security benefit as well as it uses the solid MacOS sanbox. Donāt know how well normal qemu is sandboxed.
I got the Workstation to boot up as well using the qemu commands that @GavinPacini sent on the 28th of april, but leaving out -drive "if=pflash,format=raw,file=./edk2-vars-work.fd,discard=on" \ for both VMās
When I try to open the browser I get an error that there is no browser installed that supports open-link-confirmation, so I installed firefox-rse for now. Am I correct that the tor browser is not there because it has not been ported to arm64 yet? So for now the only option is to use firefox or another browser that has been ported?
Networking seems to be ok now. If I map an address in the gateway that translates to the workstation. Issues I see on first impression are absence of tor browser, bad fluency and poor scaling (everything is really small) and resolution.