Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently installed qemu-kvm in Centos 6.3 x86_64.

I want to start a VM only with an iso file, so i typed:

qemu-kvm -hda file.iso -m 1024

but I only get

VNC server running on

I tried appending '-vga std' to the command, but i cant get virt-viewer to start.

How can I get qemu-kvm to automatically start virt-viewer?

share|improve this question
up vote 0 down vote accepted

qemu-kvm has no option to launch the viewer; you must do it manually:

 qemu-kvm -hda file.iso -m 1024 && virt-viewer .. 
share|improve this answer

Simply type in "virt-manager" in the shell. You should be able to connect to the local hypervisor (KVM) and have a view on the VM you just started.

You can also start the VM through virt-manager, btw.

share|improve this answer

qemu-kvm has nothing to do with virt-viewer, which is a part of libvirt. virt-viewer can actually connect to VMs started through libvirt (using virsh or virt-manager), not directly via qemu-kvm. Of course there can be workarounds, but if you want to use virt-viewer, there should be no reason not to run your VMs via libvirt.

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.