Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LKBCK-0007LS-1D for qemu-devel@nongnu.org; Tue, 06 Jan 2009 07:38:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LKBCI-0007Kp-Aj for qemu-devel@nongnu.org; Tue, 06 Jan 2009 07:38:15 -0500 Received: from [199.232.76.173] (port=59586 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LKBCI-0007Km-4d for qemu-devel@nongnu.org; Tue, 06 Jan 2009 07:38:14 -0500 Received: from mail.ttmail.com ([88.255.235.9]:14099 helo=mail2.ttmail.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LKBCH-0003O7-OZ for qemu-devel@nongnu.org; Tue, 06 Jan 2009 07:38:13 -0500 From: Volkan YAZICI Date: Tue, 06 Jan 2009 14:37:59 +0200 Message-ID: <87zli4d2zc.fsf@alamut.mobiliz.com.tr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] VNC Connectivity Problem 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 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.