Comment 2 for bug 366692

Revision history for this message
Cathlorn (sanderscorey) wrote :

If you edit the menu and add "gksu " in fron of /usr/bin/checkbox-gtk for the application it launches and runs fine.

You get the following below if you run it as a normal user:
Traceback (most recent call last):
  File "/usr/share/checkbox/run", line 40, in <module>
    main()
  File "/usr/share/checkbox/run", line 35, in main
    application = manager.create_application(sys.argv)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 153, in create_application
    return self.application_factory(config)
  File "/usr/lib/python2.6/dist-packages/checkbox/application.py", line 70, in __init__
    self.reactor, self.registry)
  File "/usr/lib/python2.6/dist-packages/checkbox/plugin.py", line 41, in __init__
    module.register(self)
  File "/usr/share/checkbox/plugins/backend_manager.py", line 65, in register
    self.dbus_name = dbus.service.BusName(self.DBUS_BUS_NAME, self.bus)
  File "/var/lib/python-support/python2.6/dbus/service.py", line 129, in __new__
    retval = bus.request_name(name, name_flags)
  File "/var/lib/python-support/python2.6/dbus/bus.py", line 306, in request_name
    'su', (name, flags))
  File "/var/lib/python-support/python2.6/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.52" is not allowed to own the service "com.ubuntu.checkbox" due to security policies in the configuration file