PDA

View Full Version : dbus won't allow connections



sehh
29th October 2007, 12:42 PM
I noticed that ConsoleKit wouldn't load:



# console-kit-daemon --debug --no-daemon
console-kit-daemon[18861]: DEBUG: Debugging enabled
console-kit-daemon[18861]: WARNING: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused


I also noticed that HAL wouldn't load either:



# /usr/sbin/hald --verbose=yes --daemon=no
13:34:36.683 [I] hald.c:529: hal 0.5.9
13:34:36.683 [I] hald.c:594: Will not daemonize
13:34:36.683 [I] hald_dbus.c:4807: local server is listening at unix:abstract=/var/run/hald/dbus-U1bB4MgmLP,guid=60cf715b26f7e42db41fa0004725c54c
13:34:36.684 [E] hald_dbus.c:5086: dbus_bus_get(): Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused


the socket is there:



# ls -la /var/run/dbus/system_bus_socket
srwxrwxrwx 1 root root 0 2007-10-28 12:12 /var/run/dbus/system_bus_socket


and dbus is also loaded:



# ps axwwww |grep -i dbus
3063 ? Ss 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
3066 ? S 0:00 /usr/bin/dbus-launch --exit-with-session /etc/X11/xinit/Xclients
3067 ? Ss 0:03 /bin/dbus-daemon --fork --print-pid 4 --print-address 8 --session
11650 ? S 0:00 dbus-launch --autolaunch 1bdcfd2b04f351afa1629500469c9100 --binary-syntax
11651 ? Ss 0:00 /bin/dbus-daemon --fork --print-pid 8 --print-address 10 --session


so the question is, why is dbus not allowing anything to connect to it?

PS:
i'm using Fedora 7 64bit with latest updates

Thank you.