Meta sites fail to load in Tun Mode without active systemd-resolved on all the Throne versions released after 1.1.6 (Arch Linux)
Operating system
Linux
System version
7.2.6-arch2-1 (64-bit)
Installation type
zip
Version
1.3.0
Description
Hello. It took me a while to understand what exactly was wrong, but I'll do my best to explain. So, I've been using Throne 1.1.6 for a while because all the versions that were released afterwards, for some reason, didn't load instagram.com and facebook.com when using Tun Mode. After messing around with Gemini, I understood that sudo systemctl restart systemd-resolved with disabling and enabling Tun Mode back help to fix the situation until the next reboot. After messing around little more, I tried to run sudo resolvectl flush-caches and got this output:
Failed to flush caches: Could not activate remote peer 'org.freedesktop.resolve1': activation request failed: unknown unitSorry for overusing AI, but I'm not the best programmer to deal with everything myself. So, Gemini said that this basically means that, by deafault, systemd-resolved is disabled. To fix this problem with Meta domains permanently, I tried running sudo systemctl enable --now systemd-resolved and sudo ln -sf /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf. And after that, everything started to work as it should without need to run some commands every boot.
It seems like Throne relies on systemd-resolved some way since 1.2.0-beta.1, and it is, by default, enabled on Ubuntu and Fedora, but it is disabled on Arch Linux (and other minimalistic distros) by default. Software asks for root privileges anyway, so adding some kind of check of systemd-resolved and warning if it is disabled would be nice. Thank you.
Reproduction
- Boot Arch Linux (or any other distribution where
systemd-resolvedis disabled by default). - Install and launch any Throne version released after 1.1.6.
- Import your configuration, connect to a config, and enable
Tun Mode. - Ensure general internet access works (any websited beside
facebook.comandinstagram.com). - Attempt to open
facebook.comorinstagram.com. - Observe the connection error.
System Info
Operating System: Arch Linux KDE Plasma Version: 6.7.5 KDE Frameworks Version: 6.30.0 Qt Version: 6.11.2 Kernel Version: 7.2.6-arch2-1 (64-bit) Graphics Platform: Wayland Processors: 12 × AMD Ryzen 5 7535HS with Radeon Graphics Memory: 32 GiB of RAM (30.6 GiB usable) Graphics Processor 1: AMD Radeon 660M Graphics Processor 2: NVIDIA GeForce RTX 4060 Laptop GPU/PCIe/SSE2 Manufacturer: ASUSTeK COMPUTER INC. Product Name: ASUS TUF Gaming A15 FA507NV_FA507NV System Version: 1.0
Source: throneproj/Throne