Ubuntu – Can’t run Vidalia due to an AppArmor policy error

gconfvidalia

I installed Vidalia , and added a user to debian-tor group.

But when I run it , it gets me error:

$ 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)

How can I solve it?

Best Answer

  • I tried it:

    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
    

    Ok , now vidalia works fine:

    $ vidalia