From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: More vcd info wanted Date: Mon, 30 Mar 2009 16:19:36 -0500 Message-ID: <49D13768.5020800@codemonkey.ws> References: <49D13059.5040201@tmr.com> <20090330210738.GB27104@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Bill Davidsen , KVM list To: Ryan Harper Return-path: Received: from qw-out-2122.google.com ([74.125.92.25]:46341 "EHLO qw-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752429AbZC3VTl (ORCPT ); Mon, 30 Mar 2009 17:19:41 -0400 Received: by qw-out-2122.google.com with SMTP id 8so2746974qwh.37 for ; Mon, 30 Mar 2009 14:19:39 -0700 (PDT) In-Reply-To: <20090330210738.GB27104@us.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Ryan Harper wrote: > * Bill Davidsen [2009-03-30 15:51]: > >> I am looking for detailed information or a single reproducible example of >> starting a VM using the qemu-kvm command from a script under Linux (and a >> display script on a control host, obviously). What software needs to be >> installed and running on the host, and what needs to be on the remote >> accessing display. >> >> Please: this is not a question about doing something else using some other >> method, I need to be able to drop a disk image and a few parameters into a >> KVM host and start it in such a way that there is not human intervention >> nor previous preparation such as virt-manager or similar. >> >> I run desktops and servers under KVM using both command line start and >> managers, I just keep running into documentation which tells me to use a >> "vnc specifier" without explanation of what that might look like or a >> single reproducible example of same. >> > > -vnc localhost:1 -- will display the guest VGA display on the localhost. > A remote system can do: > > vncviewer ${kvmhost}:1 > If you say -vnc localhost:1, then vncviewer ${kvmhost}:1 will certainly not work. You have to say -vnc :1, then vncviewer ${kvmhost}:1. And happiness will ensue by s/vncviewer/vinagre/. Regards, Anthony Liguori