LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-25-2011, 11:37 PM   #1
Shum
LQ Newbie
 
Registered: Oct 2007
Posts: 23

Rep: Reputation: 0
can't connect to dbus from another box


Hey y'all.

I want to be able to connect to the dbus session bus on my box from another box. I've done this before on previous linux installs by adding
Code:
<listen>tcp:host=0.0.0.0,all_interfaces=true,port=5550</listen>
in my dbus config file, but today this isn't working. nmap shows that port 5550 is open and the box can connect to this address from itself.

ie.
On the box where dbus-daemon is running (ip address 172.16.0.1):
Code:
dbus-monitor --address tcp:host=0.0.0.0,port=5550
dbus-monitor --address tcp:host=127.0.0.1,port=5550
dbus-monitor --address tcp:host=172.16.0.1,port=5550
all work.

But on another box on the local network:
Code:
dbus-monitor --address tcp:host=172.16.0.1,port=5550
does not work. Instead I get "Connection refused".

Any ideas?

Edit:
Fixed it.
Needed to add <allow_anonymous /> to session.conf.

Last edited by Shum; 07-26-2011 at 03:40 AM.
 
Old 07-26-2011, 09:37 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Thanks for posting your solution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Suddenly lost several binaries and wicd 'could not connect to DBus client' hyperhead Slackware 1 06-19-2011 05:25 PM
Fedora Core 9 update dbus.exception & dbus.proxies & DBus.Error.AccessDenied errors trien27 Fedora 1 12-08-2008 11:23 PM
Unable to connect to dbus. Is hp-systray running? mikieboy Linux - Hardware 0 11-24-2008 02:57 PM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 03:02 PM
Connect Red Hat box to Win XP box? VBAHole22 Linux - Newbie 6 05-09-2004 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration