Does somebody knows how to clone/connect to a running xorg server to see in soft real time what is the monitor/display showing (The display is a couple of miles away but I can reach it throw TCP/IP)? I have a small script to get a screenshot but is a bit limited.
#!/bin/bash
REMOTE_USER=root
IP=$1
IMAGE_FILE=/tmp/host_${IP}_`date +"%Y%m%d-%H:%M:%S"`.png
ssh root@$IP 'xwd -d :0 -root | gzip' | gunzip | convert - $IMAGE_FILE
I thought that it would be nice to see what the display is showing in soft real time, if possible of course. :)
Thanks in advance,
Humber