qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] VNC Connectivity Problem


From: Volkan YAZICI
Subject: [Qemu-devel] VNC Connectivity Problem
Date: Tue, 06 Jan 2009 14:37:59 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux)

Hi,

Are there any subnet restrictions with the VNC service supplied by qemu?
For instance, I have two networks (192.168.4.0/8 and 192.168.2.0/8)
connected via VPN. When I try to connect the VNC server running on
192.168.2.10, vncviewer gets stucked without a response. Here are some
details:

  192.168.4.70$ nmap -p 5903 192.168.2.10
  Starting Nmap 4.53 ( http://insecure.org ) at 2009-01-06 14:29 EET
  Interesting ports on 192.168.2.10:
  PORT     STATE SERVICE
  5903/tcp open  vnc-3
  Nmap done: 1 IP address (1 host up) scanned in 2.299 seconds

  192.168.4.70$ strace vncviewer 192.168.2.10
  setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0
  brk(0x5ad000)                           = 0x5ad000
  getpeername(4, {sa_family=AF_INET, sin_port=htons(5903), 
sin_addr=inet_addr("192.168.2.10")}, [17454291721331408912]) = 0
  getsockname(4, {sa_family=AF_INET, sin_port=htons(58234), 
sin_addr=inet_addr("192.168.4.70")}, [17454291721331408912]) = 0
  select(5, [4], NULL, NULL, {0, 0})      = 0 (Timeout)
  poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0
  ioctl(3, FIONREAD, [0])                 = 0
  ioctl(3, FIONREAD, [0])                 = 0
  poll(... (Gets stuck.)

OTOH, when I try to connect to the same VNC server from a machine
located in 192.168.2.0/8, it works without a problem. Does anybody have
an idea about the problem?


Regards.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]