From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LwGBp-0002so-Na for qemu-devel@nongnu.org; Tue, 21 Apr 2009 09:39:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LwGBk-0002ps-KH for qemu-devel@nongnu.org; Tue, 21 Apr 2009 09:39:08 -0400 Received: from [199.232.76.173] (port=54626 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LwGBk-0002pa-Aw for qemu-devel@nongnu.org; Tue, 21 Apr 2009 09:39:04 -0400 Received: from mx2.redhat.com ([66.187.237.31]:41890) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LwGBj-0004bm-SF for qemu-devel@nongnu.org; Tue, 21 Apr 2009 09:39:04 -0400 Message-ID: <49EDCC6F.1020703@redhat.com> Date: Tue, 21 Apr 2009 16:38:55 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] resetting a stale VNC connection References: <49EDC3B4.7030508@cisco.com> In-Reply-To: <49EDC3B4.7030508@cisco.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "David S. Ahern" Cc: qemu-devel@nongnu.org David S. Ahern wrote: > Is there a monitor command (or other method) to force a VNC client > connection to close? > > It looks like the vnc code does not use keepalive probes. If the > connection is left hanging the VNC server will never drop it. I have hit > this condition a couple of times when a VPN connection drops while the > vncviewer is connected to a VM. > > Specific software version at the moment is kvm-81. > Why not just enable tcp keepalives? -- error compiling committee.c: too many arguments to function