This question is similar to this one
Fastest method of screen capturing
but for linux/X11.
To be more specific, i need a method to capture the pixel
What you can do with a tricky hack in your local network is using the X remote capability open your X listen port and then using env var to set the export to X listen port then using XscreenCapture