I have a computer in remote location that I prefer to use as a server. I always keep the lid closed, and it is set to always keep running while the screen is off. Because I use this server to run software. I want to take screenshots to stay up to date of my apps that are running. I am wondering if there is a way to save an image, of an active window, when X server is not running.
ps -e | grep X outputs PID: 581 for Xorg. So my Xserver is running.
Update: I am not using X11 forwarding.
Update: I need, if possible, to take a screenshot of the active window (firefox) on my remote machine. Save that screenshot on my remote machine then get it with
scp host1:/path/to/screenshot/ localhost:/destinationfile