每次我试图运行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浏览器干净地退出。
发布于 2014-08-04 07:01:20
04-01:38:35.837 警告 /usr/bin/tor-browser/Data/Tor不是这个用户拥有的(brody,1000),而是根用户(0)拥有的。也许您将Tor作为错误的用户运行?
告诉我们我们需要知道的。文件试图写入的目录由root拥有,您的特权是不够的。如果您通过apt存储库安装tor,这可能就是原因。
从https://www.torproject.org/下载最新的tarball并解压内容,从那里进入终端窗口,导航到您提取的目录并键入chmod +x start-tor-browser.sh (可能不是确切的文件名,但我偏离了)。
然后键入./start-tor-browser.sh启动浏览器。从那里开始就行了。
https://askubuntu.com/questions/506549
复制相似问题