How to remotely control Banshee via SSH?

My guess is you're using DISPLAY to just dump the session to the X server, but what you need to do is pop up the right dbus channel.

This is a bit of a pain, but I have it working (just to show what's going on, this is not a good solution):

This is run locally:

tag@loki:~$ env | grep dbus
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbusxa7L6dRCEH,guid=f7056d1d174a3f5b7c680b9c0000006c

And when I ssh in:

tag@loki:~$ export DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-xa7L6dRCEH,guid=f7056d1d174a3f5b7c680b9c0000006c
tag@loki:~$ banshee --next

and it works fine :)

Hopefully someone with some dbus know-how can hop in :)