Ok, bear with me, I'm pretty new to this ... I did the above; without root the file appears to run but outputs no results to terminal. If I sudo gainroot first, then I get - process 4784: arguments to dbus_connection_get_data () were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757. This is normally a bug in some applications using the D-Bus library. process 4784: arguments to dbus_connection_get_data () were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721. This is normally a bug in some applications using the D-Bus library. Aborted HTH
eval $(dbus-launch --sh-syntax) export DBUS_SESSION_BUS_ADDRESS export DBUS_SESSION_BUS_PID