Re: X connections reset on PC sleep

2013-02-13 Thread Jon TURNEY
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 don't think there's anything particularly cygwin-specific about this X
server behaviour.

It's not clear to me from what you write if the Ubuntu VM is on the same PC as
the cygwin X server.  If so, it might be that there is some kind of problem
with the order in which things are allowed to resume (e.g. the client program
resumes before the virtual networking path to the X server is available, or
something)

You might find using xpra or VNC to connect to an X server running on the VM,
an adequate workaround, as they allow you to disconnect and reconnect.

Alternatively you could arrange for sleeping to be suspended while the X
server is running (It seems on Win7 or later you can use powercfg
-requestsoverride to prevent sleep while a specified program is running, or
there are several simple utilities available which prevent suspend while they
are running)

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
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/



Re: X connections reset on PC sleep

2013-02-13 Thread Christopher Faylor
On Wed, Feb 13, 2013 at 03:05:37PM +, 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/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-13 Thread Jack

On 2013.02.12 09:12, Jon TURNEY wrote:
I've uploaded at [1] a patched version of libXt, which includes some  
extra debugging output, including the name of encoding which is  
causing this warning, based on a patch at [2].  (This patch isn't  
really suitable for upstreaming as it needs to be wired up to libXt's  
rather confusing error reporting and localization scheme)


This should at least allow us to discover the name of the encoding  
which is causing the warning.


[1] ftp://cygwin.com/pub/cygwinx/cygXt-6.dll
[2] http://lists.gnu.org/archive/html/help-gv/2010-07/msg4.html


Jon,

Thanks for this.  I get a different set from the Marco.

Warning: Missing charsets in String to FontSet conversion
Missing charset ISO8859-1 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-1 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-2 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-3 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-4 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-5 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset KOI8-R for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-7 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-9 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-13 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-14 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO8859-15 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset JISX0208.1983-0 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset KSC5601.1987-0 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset GB2312.1980-0 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset JISX0201.1976-0 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Missing charset ISO10646-1 for fontset  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*
Warning: Cannot convert string  
-*-times-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-bold-r-normal--16-*-*-*-*-*-*-*,-*-*-*-r-*--16-*-*-*-*-*-*-*  
to type FontSet


---
Note these are after installing the sony font.  It looks like a nearly  
complete list of charsets.  I certainly don't need most of them.  I  
wonder if there is some Windows setting to trim down the list even  
considered on the PC?


Jack

--
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/



Re: X connections reset on PC sleep

2013-02-13 Thread Ryan Johnson

On 13/02/2013 10:37 AM, Christopher Faylor wrote:

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.

Nice! I tried partiwm a long time ago and it was too buggy to use... and 
then it never changed. Good to know somebody gave it the TLC it deserved.


Ryan


--
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/



Re: X connections reset on PC sleep

2013-02-13 Thread Christopher Faylor
On Wed, Feb 13, 2013 at 12:27:02PM -0500, Ryan Johnson wrote:
On 13/02/2013 10:37 AM, Christopher Faylor wrote:
 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.

Nice! I tried partiwm a long time ago and it was too buggy to use... and 
then it never changed. Good to know somebody gave it the TLC it deserved.

I use it with pidgin, xterm, rdesktop, and occasionally firefox so it's
possible that it doesn't work well with more sophisticated apps.  But,
the developer seems pretty responsive so it seems like any reported
problems have a chanced of being fixed.  I use it to check cygwin
problems when I'm at work and my cygwin machine is at home.

One minor problem is that the support for various platforms is spotty.
I've had to build packages for OpenSUSE myself and the packages for
gentoo often lag the release by months.

Anyway, this is off-topic but I thought that I'd spread the word about
this app.  I used to use the freenx stuff but I was always tinkering
with it.  xpra, for me, just works.

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/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-13 Thread Thomas Dickey
On Wed, Feb 13, 2013 at 12:17:07PM -0500, Jack wrote:
 Note these are after installing the sony font.  It looks like a
 nearly complete list of charsets.  I certainly don't need most of
 them.  I wonder if there is some Windows setting to trim down the
 list even considered on the PC?

Probably not - the problem is in the X libraries:

http://invisible-island.net/xterm/xterm.faq.html#slow_menus

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-13 Thread Jack

On 2013.02.13 16:47, Thomas Dickey wrote:

On Wed, Feb 13, 2013 at 12:17:07PM -0500, Jack wrote:
 Note these are after installing the sony font.  It looks like a
 nearly complete list of charsets.  I certainly don't need most of
 them.  I wonder if there is some Windows setting to trim down the
 list even considered on the PC?

Probably not - the problem is in the X libraries:

http://invisible-island.net/xterm/xterm.faq.html#slow_menus


I'll play with xterm, but I've never noticed a bad delay in startup.   
Also - this seems only partly related to the xfig startup messages.   
Does anyone know offhand if xfig also uses the Athena widgets?


Jack

--
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/



Re: xfig: Warning: Missing charsets in String to FontSet conversion

2013-02-13 Thread Thomas Dickey
On Wed, Feb 13, 2013 at 05:48:39PM -0500, Jack wrote:
 On 2013.02.13 16:47, Thomas Dickey wrote:
 On Wed, Feb 13, 2013 at 12:17:07PM -0500, Jack wrote:
  Note these are after installing the sony font.  It looks like a
  nearly complete list of charsets.  I certainly don't need most of
  them.  I wonder if there is some Windows setting to trim down the
  list even considered on the PC?
 
 Probably not - the problem is in the X libraries:
 
  http://invisible-island.net/xterm/xterm.faq.html#slow_menus
 
 I'll play with xterm, but I've never noticed a bad delay in startup.
 Also - this seems only partly related to the xfig startup messages.
 Does anyone know offhand if xfig also uses the Athena widgets?

yes (according to the dependencies I see in Debian, it's one of 125
packages who do this).

xterm, as noted in the faq, uses a workaround

-- 
Thomas E. Dickey dic...@invisible-island.net
http://invisible-island.net
ftp://invisible-island.net


signature.asc
Description: Digital signature


[ANNOUNCEMENT] Updated: xterm-290-1

2013-02-13 Thread Cygwin/X
The following package has been updated for the Cygwin distribution:

*** xterm-290-1

The xterm program is a terminal emulator for the X Window System. It
provides DEC VT102 and Tektronix 4014 compatible terminals for programs
that can't use the window system directly.

This is an update to the latest upstream release.

-- 

Yaakov
Cygwin/X


CYGWIN-XFREE-ANNOUNCE UNSUBSCRIBE INFO
==

If you want to unsubscribe from the cygwin-xfree-announce mailing list,
please use the automated form at:

http://cygwin.com/lists.html#subscribe-unsubscribe

If this does not work, then look at the List-Unsubscribe:  tag in the
email header of this message.  Send email to the address specified
there.  It will be in the format:

cygwin-xfree-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

--
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/