From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21862 invoked by alias); 13 Feb 2013 15:37:40 -0000 Received: (qmail 21754 invoked by uid 22791); 13 Feb 2013 15:37:38 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mho-03-ewr.mailhop.org (HELO mho-01-ewr.mailhop.org) (204.13.248.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 13 Feb 2013 15:37:29 +0000 Received: from pool-173-76-49-193.bstnma.fios.verizon.net ([173.76.49.193] helo=cgf.cx) by mho-01-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1U5eOk-0000y1-SL for cygwin-xfree@cygwin.com; Wed, 13 Feb 2013 15:37:26 +0000 Received: from localhost (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id F038888038F for ; Wed, 13 Feb 2013 10:37:25 -0500 (EST) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/m7xI+jiXe5DEXHC55sgRj Date: Wed, 13 Feb 2013 15:37:00 -0000 From: Christopher Faylor To: cygwin-xfree@cygwin.com Subject: Re: X connections reset on PC sleep Message-ID: <20130213153725.GA2882@ednor.casa.cgf.cx> Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com References: <7BAAEF845FCF42B687F8A3181FD86025@ToshibaLaptop> <511BABC1.3040801@dronecode.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <511BABC1.3040801@dronecode.org.uk> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2013-02/txt/msg00034.txt.bz2 On Wed, Feb 13, 2013 at 03:05:37PM +0000, Jon TURNEY wrote: >On 12/02/2013 03:51, Ray Balogh wrote: >> Sorry, I???m sure this is a known issue, but I can???t seem to locate any >> description of the problem in the FAQ, docs, or mailing list archives. >> >> The problem is that when my PC sleeps, my X connections get reset with >> >> xterm: fatal IO error 104 (Connection reset by peer) or KillClient >> on X server ???somehost:0??? >> >> although the Cygwin/X server (Ver. 1.13.1) is still running. I???ve enabled >> logging, but I don???t see anything at all in the log file. >> >> Is there some configuration to stop Cygwin/X from doing this? It???s extremely >> inconvenient to have to recreate all my windows if I happen to step away from >> the system for a while. I???m running the X clients under a Ubuntu VM (VMware >> Player), in case that is significant. > >I'm afraid that the X protocol doesn't have any way for a running client to >detach and reconnect to a server. If one end of the connection goes to sleep, >the connection will be broken. I use (and love) this package: http://xpra.org/ which allows you to start an X server "in the background" and connect/disconnect to it. See also: http://winswitch.org/ which provides a GUI for manipulating xpra. FYI. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/