How does one capture the result of a program that needs to attach to a running X Server? If I execute a python script from a terminal while working in X it works fine, but in this case the system will execute the script and I need to tell it to connect to a X Server. I tried popen2 but it returns 'program: cannot connect to X server' Roché