Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KsyyQ-0008Ih-Ft for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:07:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KsyyP-0008HC-3m for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:07:29 -0400 Received: from [199.232.76.173] (port=43465 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KsyyO-0008H2-Bz for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:07:28 -0400 Received: from mail.ttmail.com ([88.255.235.9]:53685 helo=mail2.ttmail.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KsyyN-0001cP-Vs for qemu-devel@nongnu.org; Thu, 23 Oct 2008 08:07:28 -0400 References: <87skqn7gnt.fsf@alamut.mobiliz.com.tr> <20081023104755.GI30571@redhat.com> <87hc737dmk.fsf_-_@alamut.mobiliz.com.tr> <49006513.5030000@redhat.com> From: Volkan YAZICI Date: Thu, 23 Oct 2008 15:07:21 +0300 In-Reply-To: <49006513.5030000@redhat.com> (Gerd Hoffmann's message of "Thu\, 23 Oct 2008 13\:50\:43 +0200") Message-ID: <873ain7bwm.fsf_-_@alamut.mobiliz.com.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: VNC Password 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 On Thu, 23 Oct 2008, Gerd Hoffmann writes: > 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". This time it complains with an interesting error message: # rlwrap /usr/local/sbin/qemu-preprod qemu: could not open monitor device 'unix:/var/run/qemu/preprod.monitor,nowait' # ls -l /var/run/qemu/preprod.monitor -rw-r--r-- 1 root root 0 2008-10-23 14:56 /var/run/qemu/preprod.monitor BTW, how can I connect to the monitor session -- if I can get it right at last -- that will be pointed by /var/run/qemu/preprod.monitor? > Try "nc localhost:5001" instead. Qemu listens on the loopback interface > only if you specify display "localhost:1". netstat should show that. Umm... Actually, no. I can see it listens on 5901. Regards.