SlothClash:Linux 特权服务改用 polkit 提权,TUN 模式可用
作者说明 0.9.4 已提供完整的 Linux 支持:「安装服务」现在通过 polkit(pkexec)提权,安装一个仅本用户组可访问的 systemd 单元,并按哈希固定随附内核,应用经由该单元运行内核,因此 Linux 上 TUN 模式可用。若缺少 polkit 或对话框被关闭,应用会给出一次性 sudo 命令。AppImage 也已自带依赖,不再需要系统 webkit2gtk。作者请报告者在 Garuda/Sway 上验证:安装服务后 systemctl status sloth-clash-service 应为 active、ls -l /tmp/slothclash 应显示套接字为 root 与用户组可读写,再在 TUN 模式下连接;并保持该 issue 开放直到在真实机器上确认。
作者原文@Nemu-x0.9.4 is out with proper Linux support: "Install service" now elevates through polkit (pkexec), installs a systemd unit reachable only by your user's group, pins the shipped core by hash, and the app runs the core through it, so TUN mode works on Linux. If polkit is missing or the dialog is dismissed, the app shows the exact one-time sudo … command instead. The AppImage is also self-contained now (no system webkit2gtk needed).
Could you try it on Garuda/Sway? Settings → Install service → polkit prompt → systemctl status sloth-clash-service should be active and ls -l /tmp/slothclash should show the socket as srw-rw---- root <your group>; then Connect in TUN mode. If anything fails, the message from the app plus journalctl -u sloth-clash-service -n 50 is all I need. Leaving this open until it's confirmed on a real box.