From mboxrd@z Thu Jan 1 00:00:00 1970 From: rek2 Subject: Re: Install a new guest remotely? Date: Mon, 11 Jan 2010 11:37:25 -0500 Message-ID: <4B4B53C5.4050706@binaryfreedom.info> References: <4B4B4D95.6070705@binaryfreedom.info> <8D99384881314DC3AFD921018B113057@neilhp> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from mail.binaryfreedom.info ([216.75.30.35]:33458 "EHLO libre.binaryfreedom.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751545Ab0AKQh2 (ORCPT ); Mon, 11 Jan 2010 11:37:28 -0500 Received: from localhost (localhost [127.0.0.1]) by libre.binaryfreedom.info (Postfix) with ESMTP id 3223A18F3B4 for ; Mon, 11 Jan 2010 11:36:09 -0500 (EST) Received: from libre.binaryfreedom.info ([127.0.0.1]) by localhost (libre.binaryfreedom.info [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gTh3kP-fNwn9 for ; Mon, 11 Jan 2010 11:36:09 -0500 (EST) Received: from [10.251.80.6] (unknown [132.183.4.9]) by libre.binaryfreedom.info (Postfix) with ESMTPA id BBC1E18F3AD for ; Mon, 11 Jan 2010 11:36:08 -0500 (EST) In-Reply-To: <8D99384881314DC3AFD921018B113057@neilhp> Sender: kvm-owner@vger.kernel.org List-ID: > Then use virsh vncdisplay to get the port on the server to connect > your VNC viewer. We use an SSH tunnel for the connection to ensure > security. > > Neil > ok so I must to be doing something wrong.. here is my line: virt-install --connect qemu:///system -n fedora_core12 -r 1048576 --vcpus=2 -f /var/kvm_image s_local/fedora_core12.qcow2 -s 20 -c ~/Fedora-12-x86_64-netinst.iso --os-type linux --acce lerate --vnc --noautoconsole --network=bridge:br0 --hvm then I get: Starting install... monitor socket did not show up.: Connection refused Domain installation may not have been successful. If it was, you can restart your domain by running 'virsh start fedora_core12'; otherwise, please restart your installation. ERROR monitor socket did not show up.: Connection refused Traceback (most recent call last): File "/usr/bin/virt-install", line 780, in main() File "/usr/bin/virt-install", line 678, in main start_time, guest.start_install) File "/usr/bin/virt-install", line 733, in do_install dom = install_func(conscb, progresscb, wait=(not wait)) File "/usr/lib/python2.6/dist-packages/virtinst/Guest.py", line 541, in start_install return self._do_install(consolecb, meter, removeOld, wait) File "/usr/lib/python2.6/dist-packages/virtinst/Guest.py", line 633, in _do_install self.domain = self.conn.createLinux(install_xml, 0) File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1077, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: monitor socket did not show up.: Connection refused Thanks.