running a 'dcop' script from 'cron'
I'm trying to run a script that uses a 'dcop' command with 'cron'. I noticed that the script runs fine from a terminal if I'm logged in as a regular user, but will not run if I use the 'su' command. It seems that 'dcop' doesn't work at when I 'su' in a terminal. My guess is that when cron runs a command, the process belongs to root and is not associated with a terminal, and so dcop doesn't know what to talk to. Is there a way around this? Is it possible to either make cron run the program so that it belongs to the user or to make it possible to run dcop commands from root?