由于AppArmor政策错误,无法运行Vidalia


8

我安装了Vidalia,并将一个用户添加到debian-tor组。

但是,当我运行它时,它使我出错:

$ vidalia 

(process:5691): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
An AppArmor policy prevents this sender from sending this message to this recipient, 0 matched rules; type="method_call", sender="(null)" (inactive) interface="org.freedesktop.DBus" member="Hello" error name="(unset)" requested_reply="0" destination="org.freedesktop.DBus" (bus)

(<unknown>:5691): GLib-GIO-ERROR **: No GSettings schemas are installed on the system
Trace/breakpoint trap (core dumped)

我该如何解决?

Answers:


16

我尝试过这个:

sudo ln -s /etc/apparmor.d/usr.bin.vidalia /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.bin.vidalia
sudo /etc/init.d/tor start

好的,现在vidalia可以正常工作:

$ vidalia

可以,但是有什么用?
TiloBunt 2014年

据我所知,@ TiloBunt vidalia需要许可或访问apparmor不允许的内容。看看wiki.apparmor.net/…它会告诉你什么apparmor
mortezaipo 2014年

1
这里有一个解释CMD的网站:cyberciti.biz/faq/ubuntu-linux-howto-disable-apparmor-commands 通过$ sudo apparmor_status运行变通检查之前,将是一个不错的主意,并随后确认它已禁用
TiloBunt
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.