D-Bus: Failed to connect to socket


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers D-Bus: Failed to connect to socket
# 1  
Old 11-14-2015
D-Bus: Failed to connect to socket

I'm trying a new distro called KaliBang. After the install I noticed this error is having problems letting multiple applications I have work:

Code:
(nm-applet:3674): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
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.
GConf Error: No D-BUS daemon running


** (nm-applet:3674): WARNING **: Failed to initialize D-Bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

Here are the current dbus packages I have installed:

Code:
# dpkg -l | grep dbus
ii  at-spi2-core                              2.5.3-2                            i386         Assistive Technology Service Provider Interface (dbus core)
ii  dbus                                      1.6.8-1+deb7u6                     i386         simple interprocess messaging system (daemon and utilities)
ii  dbus-x11                                  1.6.8-1+deb7u6                     i386         simple interprocess messaging system (X11 deps)
ii  libaudclient2:i386                        3.2.4-1                            i386         audacious dbus remote control library
ii  libdbus-1-3:i386                          1.6.8-1+deb7u6                     i386         simple interprocess messaging system (library)
ii  libdbus-glib-1-2:i386                     0.100.2-1                          i386         simple interprocess messaging system (GLib-based shared library)
ii  libdbusmenu-qt2                           0.9.0-1                            i386         Qt implementation of the DBusMenu protocol
ii  libnet-dbus-perl                          1.0.0-1+b1                         i386         Extension for the DBus bindings
ii  libqt4-dbus:i386                          4:4.8.2+dfsg-11                    i386         Qt 4 D-Bus module
ii  libqtdbus4:i386                           4:4.8.2+dfsg-11                    i386         Qt 4 D-Bus module library
ii  padbuster                                 0.3.3-1kali1                       all          Script for performing Padding Oracle attacks
ii  python-dbus                               1.1.1-1                            i386         simple interprocess messaging system (Python interface)
ii  python-dbus-dev                           1.1.1-1                            all          main loop integration development files for python-dbus
ii  qdbus                                     4:4.8.2+dfsg-11                    i386         Qt 4 D-Bus tool

I tried reinstalling X as one forum suggest worked for others. That just seem to break X for me though. The /var/run/dbus is present, but empty:

Code:
ls -la /var/run/dbus/
total 0
drwxr-xr-x  2 messagebus messagebus  40 Nov 14 01:37 .
drwxr-xr-x 12 root       root       340 Nov 14 01:37 ..

Tried a few other suggestions online, but nothing so far has worked. Any suggestions welcome.
# 2  
Old 11-16-2015
Make sure dbus is running. Part of dbus is a daemon which is started usually automatically but this might have failed in your case. I don't know how this "KaliBang" distribution handles runlevel services, in RedHat-based distributions this would be a chkconfig call. You might have to use something else, but essentially you need to start the daemon at entering the runlevel you are in somehow, prior to most everything else.

If the dbus daemon is running there should be a PID file in/var/run somewhere. The dbus will create the necessary socket file on startup.

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
# 3  
Old 02-02-2016
Thank you for the reply bakunin. I apologize for not writing back sooner. During the time between replies I actually gave up and installed Bunsen Labs distro and Kali's tools on it instead. Lately I've had problems getting anyone to comment on my threads Such as this thread from August that never got a reply:

https://www.unix.com/unix-for-dummies...onfigured.html

Its no biggie, I just get complacent when I get accustomed to waiting that long. Thank you for trying though. I will keep this in mind if I run into it again.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Fatal: Read from socket failed: Connection reset by peer [preauth]

Hello, I have recently updated my AIX machine from version 6.1.7.5 to 6.1.9.1 and i noticed that the errpt of the server is full of ssh messages like the one below: sshdprocess_id>]: fatal: Read from socket failed: Connection reset by peer Does anyone knows if this a known bug of the ssh... (15 Replies)
Discussion started by: omonoiatis9
15 Replies

2. Programming

Looping connect call for a non blocking socket

will there be any unexpected results on looping connect call for a non blocking socket to determine the connection based on error code. I am getting connection unsuccessful intermittently and so wondering whether is the timeout 500 millisec not sufficient or looping connect cause any unexpected. ... (7 Replies)
Discussion started by: satish@123
7 Replies

3. UNIX for Dummies Questions & Answers

Cannot connect to socket

solaris client report "cannot to socket(code 25)" while trying to backup on veritas netbackup 6.5.5 server (1 Reply)
Discussion started by: EUGINIAM
1 Replies

4. UNIX for Dummies Questions & Answers

fatal: Read from socket failed: Connection reset by peer

I get this error when I log in through console: "fatal: Read from socket failed: Connection reset by peer". Can you tell me what this is and why it happens, and how to stop it? Thank you. (1 Reply)
Discussion started by: iamnew2solaris
1 Replies

5. Solaris

Error message : socket failed...

Dear All, I have server with SunOS 5.10 Generic_127111-06 sun4v sparc SUNW,SPARC-Enterprise-T5120, always coming out error message like this : May 25 10:37:26 sshd: fatal: Read from socket failed: Connection reset by peer So what happend with my server..??? Best Regards Bejo :D (2 Replies)
Discussion started by: mbah_jiman
2 Replies

6. Programming

connect() socket API

Is there any relation between the connect() socket API and the TCP's Transmission Control Block. Also how does connect detect that a socket is in use i.e., EADDRINUSE (1 Reply)
Discussion started by: sunaina
1 Replies

7. UNIX for Advanced & Expert Users

connect problem for sctp socket (ipv6 socket) - Runtime fail Invalid Arguments

Hi, I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime. To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies

8. Programming

connect() function in C++ socket programming

Hello All, I have a problem using connect(...) function in C++. I am using SSH from my windows system to connect it to linux server. The program works fine if I run it directly in Linux machine but I need it to run through windows machine. The function returns -1 and so my program terminates. ... (3 Replies)
Discussion started by: smdhd3
3 Replies

9. UNIX for Advanced & Expert Users

Connect failed: No Devices Available

After installing an internal fax modem I get the message above when using the cu -l /dev/tty1A command. Any help would be most appreciated to the cu command to work again. Thanks. (3 Replies)
Discussion started by: cfaiman
3 Replies
Login or Register to Ask a Question