Script for change background in Linux (Ubuntu) via Kace
I'm trying to change the Linux desktop background using this script:
Locally it works, but when I run it via Kace it returns this error:
(process:1194949): dconf-WARNING **: 16:39:29.696: failed to commit changes to dconf: Could not automatically start D-Bus without X11 $DISPLAY
Anyone who has done something like this for Kace or knows how to help me with this error?
Answers (1)
You need to replace the end of the command line with the location that KACE will copy the file to, so if you created an online shell script and attach your file as a dependency, put your existing command into the script and then save the script. If you go to your main scripts screen and hover over the script you created you will see the ID appear in the bottom left corner. That will give you a clue as to what directory will be created, based on the ID, which then needs to be called from your script file.