Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have two Linux machines here, one of which is running Ubuntu and the OpenSSH-Server. This machine has a simple Python file for testing which sets the wallpaper to a certain image file which is saved on the same computer.

The second computer is running Mint. From this machine, I can SSH into the Ubuntu desktop and view the same Python file. If I try to run it over the SSH connection with the intent to change the Ubuntu machine's wallpaper, however, it gives an error:

$python Wall\ Change.py

** (process:6358): WARNING **: failed to commit changes to dconf: Error spawning command line `dbus-launch --autolaunch=3faa43ef9e80dcbe8adc0bc5000000007 --binary-syntax --close-stderr': Child process exited with code 1

I'm thinking that perhaps the python file is attempting to run on the client Mint machine instead of the intended Ubuntu machine.

If anyone has an idea as to what I should change, let me know.

share|improve this question
1  
You may need to be running a desktop session in order to change the wallpaper. When you SSH in, you just get a terminal, so there's no desktop. You might try with a -X option to ssh to use X forwarding, but I don't know if that would work. –  Thomas K Oct 14 '12 at 17:16
1  
can you post your python script? –  DrSAR Oct 24 '12 at 8:38
    
This really has nothing to do with ssh, python, or dconf. Whatever method you're using to change the wallpaper, it's expecting the same environment as your desktop environment. It could be the missing X session, or X authentication, or a dbus socket. But whatever it is, you didn't tell us what you're doing to change the wallpaper, so no one can help you. Please revise your question. –  Ken Jan 21 '13 at 23:39
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.