LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   WICD DBus problem (https://www.linuxquestions.org/questions/slackware-14/wicd-dbus-problem-757777/)

mlpa 09-25-2009 02:00 PM

WICD DBus problem
 
Today when I turn on my laptop I get this error initialize wicd:
Quote:

bash-3.1# wicd
bash-3.1# wicd-client
libnotify-Message: Unable to get session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
libnotify-Message: Unable to get session bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Could not initalize pynotify
Has notifications support False
Loading...
Connecting to daemon...
Can't connect to the daemon, trying to start it automatically...
Wicd daemon is shutting down!

** (wicd-client.py:5076): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (wicd-client.py:5076): CRITICAL **: dbus_g_proxy_connect_signal: assertion `DBUS_IS_G_PROXY (proxy)' failed

** (wicd-client.py:5076): CRITICAL **: dbus_g_proxy_call: assertion `DBUS_IS_G_PROXY (proxy)' failed
Done loading.
The last program I installed was xfce4-power-manager 0.8.3.1 form a slackbuild that I made.
I uninstall xfce4-power-manager and the error continuous, what can I do?

Alien Bob 09-26-2009 07:11 AM

Try running it as a normal user, not as root.

Eric

mlpa 09-26-2009 08:07 AM

Thank for the reply, but I tried that and I have the same problem.
I remember something, I accidentally remove /tmp/ folder, I make sudo mkdir /tmp/, is this relevant?

When I try to run wicd-curses I get this error:

Quote:

bash-3.1# wicd-curses
Can't connect to the daemon, trying to start it automatically...
Traceback (most recent call last):
File "/usr/lib64/wicd/wicd-curses.py", line 1034, in <module>
setup_dbus()
File "/usr/lib64/wicd/wicd-curses.py", line 1024, in setup_dbus
dbus_ifaces = dbusmanager.get_dbus_ifaces()
File "/usr/lib64/python2.6/site-packages/wicd/dbusmanager.py", line 36, in get_dbus_ifaces
return DBUS_MANAGER.get_dbus_ifaces()
File "/usr/lib64/python2.6/site-packages/wicd/dbusmanager.py", line 62, in get_dbus_ifaces
if not self._dbus_ifaces: connect_to_dbus()
File "/usr/lib64/python2.6/site-packages/wicd/dbusmanager.py", line 48, in connect_to_dbus
return DBUS_MANAGER.connect_to_dbus()
File "/usr/lib64/python2.6/site-packages/wicd/dbusmanager.py", line 79, in connect_to_dbus
proxy_obj = self._bus.get_object("org.wicd.daemon", '/org/wicd/daemon')
File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib64/python2.6/site-packages/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib64/python2.6/site-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib64/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.wicd.daemon was not provided by any .service files
Can anyone help me?

onebuck 10-10-2009 09:01 AM

Hi,

Instead of editing to qualify a post for information you should either note the change or append the information. Sometimes history information can be used to aid with the new error information.

If you re-create the '/tmp' as root and you re-boot. Do you still see the error? What about checking processes with 'ps -aux'?

You could try the new wicd package.

Alien Bob 10-10-2009 09:28 AM

When you re-create a missing /tmp, you should also give it proper attributes. Every user has to be able to write in /tmp or a lot of processes will simply not work correctly. As root:
Code:

chmod 1777 /tmp
Eric

mlpa 10-11-2009 06:07 AM

I solved the problem, when I run wicd -foe, I get a parser error, for the file /etc/wicd/wired-settings.conf, because the extra '\n' just remove the final change of line in that file and restart the deamon.


All times are GMT -5. The time now is 01:43 AM.