Net-VNC
view release on metacpan or search on metacpan
my $vnc = Net::VNC->new({hostname => $hostname, password => $password});
$vnc->depth(24);
$vnc->login;
print $vnc->name . ": " . $vnc->width . ' x ' . $vnc->height . "\n";
my $image = $vnc->capture;
$image->save("out.png");
DESCRIPTION
Virtual Network Computing (VNC) is a desktop sharing system which uses
the RFB (Remote FrameBuffer) protocol to remotely control another
computer. This module acts as a VNC client and communicates to a VNC
server using the RFB protocol, allowing you to capture the screen of the
remote computer.
This module dies upon connection errors (with a timeout of 15 seconds)
and protocol errors.
This implementation is based largely on the RFB Protocol Specification,
<http://www.realvnc.com/docs/rfbproto.pdf>. That document has an error
lib/Net/VNC.pm view on Meta::CPAN
$vnc->depth(24);
$vnc->login;
print $vnc->name . ": " . $vnc->width . ' x ' . $vnc->height . "\n";
my $image = $vnc->capture;
$image->save("out.png");
=head1 DESCRIPTION
Virtual Network Computing (VNC) is a desktop sharing system which uses
the RFB (Remote FrameBuffer) protocol to remotely control another
computer. This module acts as a VNC client and communicates to a VNC
server using the RFB protocol, allowing you to capture the screen of
the remote computer.
This module dies upon connection errors (with a timeout of 15 seconds)
and protocol errors.
This implementation is based largely on the RFB Protocol
Specification, L<http://www.realvnc.com/docs/rfbproto.pdf>. That
( run in 0.533 second using v1.01-cache-2.11-cpan-299005ec8e3 )