为什么每次打开 Tor 时它都会意外退出?

为什么每次打开 Tor 时它都会意外退出?

每次我尝试运行 tor 时它都会意外退出,并且我会在我的终端中收到此信息:

(process:28965): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
Aug 04 01:38:35.833 [notice] Tor v0.2.4.21 (git-f5def645adfb32be) running on Linux with Libevent 2.0.21-stable and OpenSSL 1.0.1g.
Aug 04 01:38:35.833 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Aug 04 01:38:35.834 [notice] Read configuration file "/usr/bin/tor-browser/Data/Tor/torrc-defaults".
Aug 04 01:38:35.834 [notice] Read configuration file "/usr/bin/tor-browser/Data/Tor/torrc".
Aug 04 01:38:35.836 [notice] Opening Control listener on 127.0.0.1:9151
Aug 04 01:38:35.837 [notice] DisableNetwork is set. Tor will not make or accept non-control network connections. Shutting down all existing connections.
Aug 04 01:38:35.837 [warn] /usr/bin/tor-browser/Data/Tor is not owned by this user (brody, 1000) but by root (0). Perhaps you are running Tor as the wrong user?
Aug 04 01:38:35.837 [warn] Failed to parse/validate config: Couldn't access/create private data directory "/usr/bin/tor-browser/Data/Tor"
Aug 04 01:38:35.837 [err] Reading config failed--see warnings above.

Tor 浏览器干净退出。

答案1

8 月 4 日 01:38:35.837 [警告] /usr/bin/tor-browser/Data/Tor 不属于此用户 (brody, 1000),而属于 root (0)。也许您以错误的用户身份运行 Tor?

告诉我们需要知道的信息。文件尝试写入的目录归 root 所有,并且您的权限不足。如果您通过 apt 存储库安装了 tor,那么这可能是原因。

从以下网址下载最新的 tor tarballhttps://www.torproject.org/并提取内容,从那里进入终端窗口,导航到您提取的目录并输入chmod +x start-tor-browser.sh(可能不是确切的文件名,但我离题了)。

然后输入./start-tor-browser.sh以启动浏览器。它应该从那里开始工作。

相关内容