Wicd Daemon

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
tellan42
Beiträge: 1
Registriert: 23.09.2018 13:49:40

Wicd Daemon

Beitrag von tellan42 » 23.09.2018 14:37:05

Moin, ich habe Probleme Wicd zu starten, mein derzeitiges System ist 4.9.87-antix.1-amd64-smp with Fluxbox
# wicd-client

Code: Alles auswählen

Importing pynotify failed, notifications disabled.
Has notifications support False
Loading...
Connecting to daemon...
Can't connect to the daemon, trying to start it automatically...
It seems like the daemon is already running.
If it is not, please remove /var/run/wicd/wicd.pid and try again.

/usr/share/wicd/gtk/wicd-client.py:1008: Warning: /build/glib2.0-B1uXKV/glib2.0-2.50.3/./gobject/gsignal.c:2523: signal 'child-added' is invalid for instance '0x55fe6b91d280' of type 'GtkMenu'
self.ind.set_menu(self.menu)
/usr/share/wicd/gtk/wicd-client.py:1008: Warning: /build/glib2.0-B1uXKV/glib2.0-2.50.3/./gobject/gsignal.c:2523: signal 'child-added' is invalid for instance '0x55fe6b91d420' of type 'GtkMenu'
self.ind.set_menu(self.menu)
Can't connect to the daemon, ' + 'trying to start it automatically...
It seems like the daemon is already running.
If it is not, please remove /var/run/wicd/wicd.pid and try again.
Dann kommt ein Fenster:

Code: Alles auswählen

Mit der D-Bus-Schnittstelle für wicd konnte nicht verbunden werden. Überprüfen Sie das Protokoll von wicd auf Fehlermeldungen.
/var/log/wicd/wicd.log sagt:

Code: Alles auswählen

2018/09/21 07:42:57 :: ---------------------------
2018/09/21 07:42:57 :: wicd initializing...
2018/09/21 07:42:57 :: ---------------------------
2018/09/21 07:42:57 :: wicd is version 1.7.4 961
2018/09/21 07:42:57 :: Traceback (most recent call last):
2018/09/21 07:42:57 ::   File "/usr/share/wicd/daemon/wicd-daemon.py", line 1954, in <module>
2018/09/21 07:42:57 ::     main(sys.argv)
2018/09/21 07:42:57 ::   File "/usr/share/wicd/daemon/wicd-daemon.py", line 1915, in main
2018/09/21 07:42:57 ::     wicd_bus = dbus.service.BusName('org.wicd.daemon', bus=bus)
2018/09/21 07:42:57 ::   File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 131, in __new__
2018/09/21 07:42:57 ::     retval = bus.request_name(name, name_flags)
2018/09/21 07:42:57 ::   File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 303, in request_name
2018/09/21 07:42:57 ::     'su', (name, flags))
2018/09/21 07:42:57 ::   File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
2018/09/21 07:42:57 ::     message, timeout)
2018/09/21 07:42:57 :: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.2" is not allowed to own the service "org.wicd.daemon" due to security policies in the configuration file
:roll:

DeletedUserReAsG

Re: Wicd Daemon

Beitrag von DeletedUserReAsG » 23.09.2018 14:42:47

Möglicherweise hast du in einem Forum für deine Distribution mehr Erfolg.

rendegast
Beiträge: 15041
Registriert: 27.02.2006 16:50:33
Lizenz eigener Beiträge: MIT Lizenz

Re: Wicd Daemon

Beitrag von rendegast » 23.09.2018 17:55:17

In debians wicd-daemon_1.7.4+tb2-4_all/etc/dbus-1/system.d/wicd.conf

Code: Alles auswählen

<busconfig>

        <policy user="root">
                <allow own="org.wicd.daemon"/>
                ....
        </policy>

        <policy context="default">
                <deny own="org.wicd.daemon"/>
        </policy>
Sonstige Benutzer müssen eventuell per 'dpkg-reconfigure wicd-daemon'(?) eingetragen werden?
(Vermutung nach Sichten des postinst/config-Skriptes)


Ist in Deiner /etc/dbus-1/system.d/wicd.conf vielleicht <policy user="root"> ohne 'allow own'?
mfg rendegast
-----------------------
Viel Eifer, viel Irrtum; weniger Eifer, weniger Irrtum; kein Eifer, kein Irrtum.
(Lin Yutang "Moment in Peking")

Antworten