Banshee has the ability to control its main window from the command line using commands like
$ banshee --next
However when running these commands over ssh as the same user it simply tries to launch banshee.
Is there a way to push through to the other session when logged in with an ssh session.
I'm guessing this is more of an ssh/tty thing than a banshee thing but if it can be done I'd love to know.
Edit:
export $(strings /proc/*/environ| grep DBUS_SESSION | tail -1)
seems to work in my use case. Note there is a lot of permission denied output but you can ignore that.
via: http://machine-cycle.blogspot.com/2010/12/ssh-and-dbus-sessions.html
if anyone has a cleaner fix would love to see it.
Best Answer
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:
And when I ssh in:
and it works fine :)
Hopefully someone with some dbus know-how can hop in :)