I am attempting to set my desktop background from the command line in ubuntu 12.04.
I am able to do this from the terminal on the actual machine as described here.
gsettings set org.gnome.desktop.background picture-uri file:///path/to/my/image.png
However when I login to the machine over ssh and run the same command, I am presented with the following error:
ben@base:~$ gsettings set org.gnome.desktop.background picture-uri file:///path/to/my/image.png
** (process:19940): WARNING **: Command line `dbus-launch --autolaunch=ca5602075c1f96df6beebf670000000b --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.
** (process:19940): WARNING **: Command line `dbus-launch --autolaunch=ca5602075c1f96df6beebf670000000b --binary-syntax --close-stderr' exited with non-zero exit status 1: Autolaunch error: X11 initialization failed.
How can I set the desktop over ssh?