I can't figure out .. I exported DISPLAY variable, but that don't work.
I have computer with ubuntu 11.10 on it. Computer have display. On display i am showing pictures in slideshow. So i connect via scp to computer and copy new pictures or delete some pics via cron job. I want to restart slideshow. Basically i need to run program from console in display.
Maybe i can run it via cron job ... ? Thanks.
export | grep DISPLAY declare -x DISPLAY=":0.0" gnome-terminal No protocol specified Failed to parse arguments: Cannot open display:– Guntis Jan 17 '12 at 18:06