Mark H Weaver <m...@netris.org> writes:

> It mostly works, and I'm using it right now, but there are still some
> remaining issues:
>
> * Unless run as root, the user interfaces to configure wicd via dbus
>   always fail.  The wicd dbus configuration file is supposed to allow
>   anyone in the 'netdev' group to access and configure the daemon, but
>   this doesn't work.  I could use some help debugging this.

I should have given more details.  Here's the error I get:

--8<---------------cut here---------------start------------->8---
mhw@jojen:~$ wicd-cli -y -l
#       BSSID                   Channel ESSID
ERROR:dbus.proxies:Introspect error on :1.2:/org/wicd/daemon/wireless: 
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: 
Rejected send message, 1 matched rules; type="method_call", sender=":1.12" 
(uid=1000 pid=2445 comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python") 
interface="org.freedesktop.DBus.Introspectable" member="Introspect" error 
name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=143 
comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python")
Traceback (most recent call last):
  File 
"/gnu/store/bj26lsibzw8ls53mvag7nkgfizzzckvw-wicd-1.7.3/share/wicd/cli/wicd-cli.py",
 line 165, in <module>
    for network_id in range(0, wireless.GetNumberOfNetworks()):
  File 
"/gnu/store/2gqvnhy7lzrbapkh59kfmlky6ynak9fk-python2-dbus-1.2.0/lib/python2.7/site-packages/dbus/proxies.py",
 line 70, in __call__
    return self._proxy_method(*args, **keywords)
  File 
"/gnu/store/2gqvnhy7lzrbapkh59kfmlky6ynak9fk-python2-dbus-1.2.0/lib/python2.7/site-packages/dbus/proxies.py",
 line 145, in __call__
    **keywords)
  File 
"/gnu/store/2gqvnhy7lzrbapkh59kfmlky6ynak9fk-python2-dbus-1.2.0/lib/python2.7/site-packages/dbus/connection.py",
 line 651, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: 
Rejected send message, 1 matched rules; type="method_call", sender=":1.12" 
(uid=1000 pid=2445 comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python") 
interface="org.wicd.daemon.wireless" member="GetNumberOfNetworks" error 
name="(unset)" requested_reply="0" destination=":1.2" (uid=0 pid=143 
comm="/gnu/store/y4v8psklnvp5il65dlwbd0w161k67r3p-python")
--8<---------------cut here---------------end--------------->8---

I get similar errors from all of the other clients.

> * The curses client always fails with the error "AttributeError:
>   'Screen' object has no attribute 'get_input_nonblocking'", which I
>   guess indicates some problem or incompatibility with our python2-urwid
>   package.

For now, the nicest way to configure this is to run 'wicd-gtk' as root.

      Mark

Reply via email to