From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsyiI-00015r-Dl for qemu-devel@nongnu.org; Thu, 23 Oct 2008 07:50:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsyiG-00015d-Uc for qemu-devel@nongnu.org; Thu, 23 Oct 2008 07:50:50 -0400 Received: from [199.232.76.173] (port=60099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsyiG-00015a-Ox for qemu-devel@nongnu.org; Thu, 23 Oct 2008 07:50:48 -0400 Received: from mx2.redhat.com ([66.187.237.31]:38465) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsyiG-0005G8-00 for qemu-devel@nongnu.org; Thu, 23 Oct 2008 07:50:48 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id m9NBol7n017008 for ; Thu, 23 Oct 2008 07:50:47 -0400 Message-ID: <49006513.5030000@redhat.com> Date: Thu, 23 Oct 2008 13:50:43 +0200 From: Gerd Hoffmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: VNC Password References: <87skqn7gnt.fsf@alamut.mobiliz.com.tr> <20081023104755.GI30571@redhat.com> <87hc737dmk.fsf_-_@alamut.mobiliz.com.tr> In-Reply-To: <87hc737dmk.fsf_-_@alamut.mobiliz.com.tr> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Volkan YAZICI wrote: > On Thu, 23 Oct 2008, "Daniel P. Berrange" writes: >> If you want daemonized instances, and wish to use the monitor, then >> rather than using '-monitor stdio', it'd be better to have it connect >> to something like a UNIX socket, eg >> >> -monitor unix:/var/run/qemu/mysock,server > > Excuse my ignorance, but when I use above command, qemu types "QEMU > waiting for connection on: /var/run/qemu/monitor.preprod" on the command > line and hangs at that state. Is this something expected? Yes. If you don't want that, add ",nowait". >> -vnc localhost:1,password > > I used "-vnc localhost:1". While I can see qemu-system-x86 listens on > port 5901 > > $ nc 192.168.1.10 5901 > (UNKNOWN) [192.168.1.10] 5901 (?) : Connection refused Try "nc localhost:5001" instead. Qemu listens on the loopback interface only if you specify display "localhost:1". netstat should show that. cheers, Gerd