Bash script to find available display sever
Hi there,
Whenever I login to a server via ssh -X, I want that all 5 minutes a script displays a graph.
The script shows the image via display (imagemagick). But what I'm not sure of is how to redirect the display output to my remote screen when this script is executed as a cron job. I can use display -display server but I don't know how to determine server via the script.
Thanks,
Ralf
|