Hey,
Its my first post here and i hope its in the right place.
I came from debian and windows so FreeBSD is a bit of a puzzle on some parts.
I am looking for a way to take screenshots of my VNC hosts from a script.
Previously i used VNCsnapshot for this, yes i know that pice of software is from 2004... but still it did what i needed it to do.
I was wondering if there is another tool that can do the same.
What i need it to do is as follows: i have a script (posted below) and it should take screenshots and move on to the next client. One thing is, this box is headless so everything needs to be done from the cli.
Can anyone help me with this?
My OS is Freenas 11.3U4.1 - FreeBSD 11.4-RELEASE-p3 Jail
Its my first post here and i hope its in the right place.
I came from debian and windows so FreeBSD is a bit of a puzzle on some parts.
I am looking for a way to take screenshots of my VNC hosts from a script.
Previously i used VNCsnapshot for this, yes i know that pice of software is from 2004... but still it did what i needed it to do.
I was wondering if there is another tool that can do the same.
What i need it to do is as follows: i have a script (posted below) and it should take screenshots and move on to the next client. One thing is, this box is headless so everything needs to be done from the cli.
Code:
#!/bin/sh
awk '{print $1}' < ../Lists/vnc-ip.txt | while read ip; do
echo "Running: $ip"
timeout 5s vncsnapshot "$ip" "../VNC/$ip.jpg"
done
Can anyone help me with this?
My OS is Freenas 11.3U4.1 - FreeBSD 11.4-RELEASE-p3 Jail