dbus and ssh connection

Alexander Lehner lehner at edv-buero-lehner.de
Thu Jan 7 19:02:10 CET 2010

I now found an additional solution which also looks pretty interesting and 
also works on the FR:

root at om-gta02 ~ $ grep -v "^#" ~/.dbus/session-bus/`cat /var/lib/dbus/machine-id`-0


On Thu, 7 Jan 2010, Jose Luis Perez Diez wrote:

> El Thursday, 7 de January de 2010 13:51:55 vàreu escriure:
>> Setting the DISPLAY to :0 didn't work in my case, but the /proc trick
>> worked. I've got a Moblin 2.1 here and the /proc seems a bit different, so
>> I use the following code:
>> export `strings /proc/*/environ|grep DBUS_SESSION|tail -1`
> The culprit for diferencences is busybox grep not /proc. Your code should work
> with more implemetations of grep than mine.

More information about the devel mailing list