![tor-browser 打开时出现意外错误窗口](https://linux22.com/image/1116211/tor-browser%20%E6%89%93%E5%BC%80%E6%97%B6%E5%87%BA%E7%8E%B0%E6%84%8F%E5%A4%96%E9%94%99%E8%AF%AF%E7%AA%97%E5%8F%A3.png)
启动 tor 浏览器时,出现一个错误窗口,显示以下消息:
Vidalia 检测到 Tor 软件意外退出。请检查消息日志以查找最近的警告或错误消息。
显示错误的日志文件:
[Warning] /usr/bin/tor-browser/Data/Tor is not owned by this user (MYUSERNAME, 1000) but by root (0). Perhaps you are running Tor as the wrong user?
[Warning] Failed to parse/validate config: Couldn't access/create private data directory "/usr/bin/tor-browser/Data/Tor"
[Error] Reading config failed--see warnings above.
不允许tor-browser
以 root 身份运行,我尝试清除它,然后重新安装它,但出现同样的错误。
我使用以下命令安装了 tor-browser:
sudo add-apt-repository ppa:upubuntu-com/tor64
sudo apt-get update
sudo apt-get install tor-browser
问题:我如何让 tor 浏览器再次工作?
笔记:我正在运行 Ubuntu 13.04 amd64
答案1
安装完成后,在 ~/.tor-browser 上设置正确的所有权:
sudo chown -R $USER ~/.tor-browser