/build/static/layout/Breadcrumb_cap_w.png

Script for change background in Linux (Ubuntu) via Kace

I'm trying to change the Linux desktop background using this script:

0OAQIECBAgQIAAAQIERlNgswXB0WzSbxEgQIAAAQIECBAgQIBACgiCaaEiQIAAAQIECBAgQIBACQFBsMSYNUmAAAECBAgQIECAAIEUEATTQkWAAAECBAgQIECAAIESAoJgiTFrkgABAgQIECBAgAABAikgCKaFigABAgQIECBAgAABAiUEBMESY9YkAQIECBAgQIAAAQIEUkAQTAsVAQIECBAgQIAAAQIESggIgiXGrEkCBAgQIECAAAECBAikgCCYFioCBAgQIECAAAECBAiUEBAES4xZkwQIECBAgAABAgQIEEgBQTAtVAQIECBAgAABAgQIECghIAiWGLMmCRAgQIAAAQIECBAgkAKCYFqoCBAgQIAAAQIECBAgUEJAECwxZk0SIECAAAECBAgQIEAgBQTBtFARIECAAAECBAgQIECghIAgWGLMmiRAgAABAgQIECBAgEAKCIJpoSJAgAABAgQIECBAgEAJAUGwxJg1SYAAAQIECBAgQIAAgRQQBNNCRYAAAQIECBAgQIAAgRICgmCJMWuSAAECBAgQIECAAAECKSAIpoWKAAECBAgQIECAAAECJQQEwRJj1iQBAgQIECBAgAABAgRSQBBMCxUBAgQIECBAgAABAgRKCAiCJcasSQIECBAgQIAAAQIECKSAIJgWKgIECBAgQIAAAQIECJQQEARLjFmTBAgQIECAAAECBAgQSAFBMC1UBAgQIECAAAECBAgQKCEgCJYYsyYJECBAgAABAgQIECCQAoJgWqgIECBAgAABAgQIECBQQkAQLDFmTRIgQIAAAQIECBAgQCAFBMG0UBEgQIAAAQIECBAgQKCEgCBYYsyaJECAAAECBAgQIECAQAoIgmmhIkCAAAECBAgQIECAQAkBQbDEmDVJgAABAgQIECBAgACBFBAE00JFgAABAgQIECBAgACBEgKCYIkxa5IAAQIECBAgQIAAAQIpIAimhYoAAQIECBAgQIAAAQIlBATBEmPWJAECBAgQIECAAAECBFJAEEwLFQECBAgQIECAAAECBEoICIIlxqxJAgQIECBAgAABAgQIpIAgmBYqAgQIECBAgAABAgQIlBAQBEuMWZMECBAgQIAAAQIECBBIAUEwLVQECBAgQIAAAQIECBAoISAIlhizJgkQIECAAAECBAgQIJACgmBaqAgQIECAAAECBAgQIFBCQBAsMWZNEiBAgAABAgQIECBAIAUEwbRQESBAgAABAgQIECBAoISAIFhizJokQIAAAQIECBAgQIBACgiCaaEiQIAAAQIECBAgQIBACQFBsMSYNUmAAAECBAgQIECAAIEUEATTQkWAAAECBAgQIECAAIESAoJgiTFrkgABAgQIECBAgAABAikgCKaFigABAgQIECBAgAABAiUEBMESY9YkAQIECBAgQIAAAQIEUkAQTAsVAQIECBAgQIAAAQIESggIgiXGrEkCBAgQIECAAAECBAikgCCYFioCBAgQIECAAAECBAiUEBAES4xZkwQIECBAgAABAgQIEEgBQTAtVAQIECBAgAABAgQIECghIAiWGLMmCRAgQIAAAQIECBAgkAKCYFqoCBAgQIAAAQIECBAgUEJAECwxZk0SIECAAAECBAgQIEAgBQTBtFARIECAAAECBAgQIECghIAgWGLMmiRAgAABAgQIECBAgEAKCIJpoSJAgAABAgQIECBAgEAJAUGwxJg1SYAAAQIECBAgQIAAgRQQBNNCRYAAAQIECBAgQIAAgRICgmCJMWuSAAECBAgQIECAAAECKSAIpoWKAAECBAgQIECAAAECJQQEwRJj1iQBAgQIECBAgAABAgRSQBBMCxUBAgQIECBAgAABAgRKCAiCJcasSQIECBAgQIAAAQIECKSAIJgWKgIECBAgQIAAAQIECJQQEARLjFmTBAgQIECAAAECBAgQSAFBMC1UBAgQIECAAAECBAgQKCEgCJYYsyYJECBAgAABAgQIECCQAoJgWqgIECBAgAABAgQIECBQQkAQLDFmTRIgQIAAAQIECBAgQCAFBMG0UBEgQIAAAQIECBAgQKCEgCBYYsyaJECAAAECBAgQIECAQAoIgmmhIkCAAAECBAgQIECAQAkBQbDEmDVJgAABAgQIECBAgACBFBAE00JFgAABAgQIECBAgACBEgKCYIkxa5IAAQIECBAgQIAAAQIpIAimhYoAAQIECBAgQIAAAQIlBATBEmPWJAECBAgQIECAAAECBFJAEEwLFQECBAgQIECAAAECBEoICIIlxqxJAgQIECBAgAABAgQIpIAgmBYqAgQIECBAgAABAgQIlBAQBEuMWZMECBAgQIAAAQIECBBIAUEwLVQECBAgQIAAAQIECBAoISAIlhizJgkQIECAAAECBAgQIJACgmBaqAgQIECAAAECBAgQIFBCQBAsMWZNEiBAgAABAgQIECBAIAUEwbRQESBAgAABAgQIECBAoISAIFhizJokQIAAAQIECBAgQIBACgiCaaEiQIAAAQIECBAgQIBACQFBsMSYNUmAAAECBAgQIECAAIEUEATTQkWAAAECBAgQIECAAIESAoJgiTFrkgABAgQIECBAgAABAikgCKaFigABAgQIECBAgAABAiUEBMESY9YkAQIECBAgQIAAAQIEUkAQTAsVAQIECBAgQIAAAQIESggIgiXGrEkCBAgQIECAAAECBAikgCCYFioCBAgQIECAAAECBAiUEBAES4xZkwQIECBAgAABAgQIEEgBQTAtVAQIECBAgAABAgQIECghIAiWGLMmCRAgQIAAAQIECBAgkAKCYFqoCBAgQIAAAQIECBAgUEJAECwxZk0SIECAAAECBAgQIEAgBQTBtFARIECAAAECBAgQIECghIAgWGLMmiRAgAABAgQIECBAgEAKCIJpoSJAgAABAgQIECBAgEAJgf8BCXbw+NT70uwAAAAASUVORK5CYII=

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?


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Hobbsy 2 years ago
Red Belt
0

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.

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ