Comment 31 for bug 501486

Robert Dyer (psybers) wrote :

When you try to run any X program, it needs to know the DISPLAY. If you are running from a cron, this is not set. For *me*, this needs to be set to DISPLAY=:0 so I do:

killall docky ; DISPLAY=:0 docky