qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Sam <batmanustc@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Why got no response of vnc?
Date: Fri, 25 Aug 2017 10:21:31 +0200	[thread overview]
Message-ID: <ebe4b0f3-9b50-2fc8-6238-d40f32d6e0b3@redhat.com> (raw)
In-Reply-To: <CAOE=1Z0trKFwm__wTKHSTAUSt+r9SBjCwft3tA=i5vJaixuX8w@mail.gmail.com>

On 25.08.2017 08:31, Sam wrote:
> Hi all,
> 
> I'm starting vm using:
> 
> kvm]$ sudo /usr/local/bin/qemu-system-x86_64 -m 256 -hda test.qcow2 -cdrom
>> CentOS-7-x86_64-DVD-1503-01.iso -boot d
>> VNC server running on '127.0.0.1:5900'
> 
> then I start vnc client in another PC to connect 10.253.23.24:11800 and
> 10.253.23.24:5900, I got time out, why?

Do you have a firewall running on the host system? It might be blocking
the VNC connection - in that case you could use port forwarding of ssh
(the -L parameter for example), or try to reconfigure your firewall on
the host.

 Thomas


PS: Don't forget to specify --enable-kvm in case you want to use
hardware virtualization.

  parent reply	other threads:[~2017-08-25  8:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-25  6:31 [Qemu-devel] Why got no response of vnc? Sam
2017-08-25  6:45 ` Sam
2017-08-25  7:38   ` Sam
2017-08-25  7:41     ` Sam
2017-08-25  8:21 ` Thomas Huth [this message]
2017-08-25 10:07   ` Sam
2017-08-27  5:31 ` Philipp Hahn

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=ebe4b0f3-9b50-2fc8-6238-d40f32d6e0b3@redhat.com \
    --to=thuth@redhat.com \
    --cc=batmanustc@gmail.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).