Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I want to capture virtual machine screenshot. I have installed xen hypervisor and I am controlling my virtual machines using libvirt-php API. It has a function:


When I execute it output:

Warning: libvirt_domain_get_screenshot() [function.libvirt-domain-get-screenshot]: Cannot find gvnccapture binary in /opt/lampp/htdocs/xampp/myvms/vnc.php on line 9

So, I need to install gvnccapture binary. Anyone knows how to get it using apt-get or any other way?

share|improve this question

1 Answer 1

Install the gvncviewer Install gvncviewer package:

sudo apt-get update
sudo apt-get install gvncviewer
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.