I am trying to monitor my laptop (Debian 8.7) when it is being used by someone else,I want to see what at any time people are running on my system & for this I'm trying to run a terminal command via SSH which captures the screenshot which I can view later.
I am using SSH client named JUICE SSH from my Android phone to login to my laptop but unable to execute any screenshot related commands.
I have tried scrot,gnome-screenshot,import but I'm unable to get the screenshot. The error with scrot says Can't open X display. It *is* running, yeah?
I checked my sshd_config file it had X11Forwarding set to YES searching internet I read that setting it to no should make it work but it did not happened either.
echo $DISPLAY var is :0.0
Ideas please?