Apps that use D-Bus don't work over SSH

Bug #162672 reported by Endolith on 2007-11-14
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dbus (Ubuntu)
Wishlist
Unassigned

Bug Description

If you run an application remotely, such as with "ssh -X", the parts of the app that use D-Bus don't work. See:

http://ubuntuforums.org/showthread.php?p=3769645

http://ubuntuforums.org/showthread.php?t=569109

https://answers.launchpad.net/ubuntu/+question/15070

Endolith (endolith) wrote :

boutil from ubuntu forums says

export `dbus-launch`

might fix the problem. More details on this would be helpful.

Michael Nagel (nailor) on 2009-01-08
Changed in dbus:
status: New → Incomplete
Michael Nagel (nailor) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in dbus:
status: Incomplete → Invalid
Endolith (endolith) wrote :

What further information do you need?

Changed in dbus:
status: Invalid → New
Michael Nagel (nailor) wrote :

i misinterpreted your quote of boutil in the post above. sorry.

ps: check if your problem is related to bug 221363

Endolith (endolith) wrote :

I don't think that's related. This is about X forwarding, not NX.

I've since found this, which makes me think that D-Bus doesn't even work like this:

http://www.freedesktop.org/wiki/Software/DBusRemote

D-Bus is not intended to work over SSH.

This actually requires a LOT more thought than you realise. For example, let's say you are running banshee on the remote box.

Should that banshee see the attached iPods on the remote box, or on the local box?

If on the remote box, you actually don't _want_ D-Bus forwarded over ssh - you want to know about the system bus at the remote end, and maybe a session bus just for your ssh session?

If on the local box, you now have to deal with the fact the devices are on the local system - so you need something like nbd to forward them across ssh as well.

This Is Not A Simple Problem

Changed in dbus (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
status: Triaged → Won't Fix
Endolith (endolith) wrote :

"Should that banshee see the attached iPods on the remote box, or on the local box?"

Both, obviously.

Since there are already plans to fix this, I think the "Won't Fix" is inappropriate.

On Wed, 2009-07-15 at 13:59 +0000, Endolith wrote:

> Since there are already plans to fix this, I think the "Won't Fix" is
> inappropriate.
>
Nobody has any plans to fix this.

Scott
--
Scott James Remnant
<email address hidden>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers