qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: VNC Password
Date: Thu, 23 Oct 2008 13:50:43 +0200	[thread overview]
Message-ID: <49006513.5030000@redhat.com> (raw)
In-Reply-To: <87hc737dmk.fsf_-_@alamut.mobiliz.com.tr>

Volkan YAZICI wrote:
> On Thu, 23 Oct 2008, "Daniel P. Berrange" <berrange@redhat.com> 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

  reply	other threads:[~2008-10-23 11:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 10:24 [Qemu-devel] VNC Password Volkan YAZICI
2008-10-23 10:47 ` Daniel P. Berrange
2008-10-23 11:30   ` [Qemu-devel] " Volkan YAZICI
2008-10-23 11:50     ` Gerd Hoffmann [this message]
2008-10-23 12:07       ` Volkan YAZICI
2008-10-23 12:52         ` Gerd Hoffmann
2008-10-23 15:15         ` Anthony Liguori
2008-10-23 11:46 ` [Qemu-devel] " Gerd Hoffmann
2008-10-23 12:08   ` [Qemu-devel] " Volkan YAZICI
2008-10-23 12:57     ` Gerd Hoffmann
2008-10-23 15:10       ` François Revol
2008-10-23 15:45         ` Laurent Vivier
2008-10-24 11:06           ` François Revol
2008-10-24 11:20             ` Jamie Lokier
2008-10-24 11:47               ` François Revol
2008-10-24 12:02                 ` Gerd Hoffmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49006513.5030000@redhat.com \
    --to=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).