Run tracker reset without display - dbus error
On 21 April 2018 at 22:55, Tony Arnold <tony.arnold at manchester.ac.uk> wrote:
> I presume you have googled this? Googling 'd-bus without x11' returns a
> number of suggestions.
Thanks Tony, yes I had googled something similar but the posts I found
seemed to be bug reports rather than more general posts. However I deduced
from your suggestion that there must be some nuggets of useful information
there so looked in more detail and did find the suggested workaround of
preceding the command with
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
eval `dbus-launch --sh-syntax`
However I then intermittently got an error that it could not write to the
file ~/.cache/dbus/user which I worked around by changing the ownership on
that file to myself (from root). Whether that situation will re-occur I
don't know, the bug reports I followed about that issue did not obviously
come to any conclusion as far as I can see. However for the moment I am up
> Just a thought.
> On Sat, 2018-04-21 at 13:27 +0100, Colin Law wrote:
> Has anyone any suggestions on this?
> On 18 April 2018 at 14:22, Colin Law <clanlaw at gmail.com> wrote:
> I am using tracker  and trying to run
> tracker reset -f ~/
> However, I am running it in a situation where there is no display
> (from a node-red exec node). I get the error
> Tracker-WARNING **: Failed to load SPARQL backend: Cannot autolaunch
> D-Bus without X11 $DISPLAY
> Is there some magic I can perform to allow this to work?
>  https://wiki.gnome.org/Projects/Tracker/Documentation
> *Tony Arnold* MBCS, CITP | Senior IT Security Analyst | Directorate of IT
> Services | G64, Kilburn Building | The University of Manchester |
> Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
-------------- next part --------------
An HTML attachment was scrubbed...