public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin-xfree@cygwin.com
Subject: Re: X connections reset on PC sleep
Date: Wed, 13 Feb 2013 15:37:00 -0000	[thread overview]
Message-ID: <20130213153725.GA2882@ednor.casa.cgf.cx> (raw)
In-Reply-To: <511BABC1.3040801@dronecode.org.uk>

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/


  reply	other threads:[~2013-02-13 15:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  3:51 Ray Balogh
2013-02-13 15:05 ` Jon TURNEY
2013-02-13 15:37   ` Christopher Faylor [this message]
2013-02-13 17:27     ` Ryan Johnson
2013-02-13 17:51       ` Christopher Faylor

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=20130213153725.GA2882@ednor.casa.cgf.cx \
    --to=cgf-use-the-mailinglist-please@cygwin.com \
    --cc=cygwin-xfree@cygwin.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).