This is the mail archive of the cygwin-xfree@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re[2]: X11R6.x libs


Suhaib,

     Thanks for getting back to me with your suggestions.  Unfortunately
modifying the hosts files does not seem to work.

     Just to be sure that my system was indeed set up correctly, last
night I downloaded X11R6.4 from ftp.x.org, applied the 3 fixes, applied
Sergey's patch, compiled/installed.  The compile wasn't perfect, but
at least X came up OK with no problems connecting to the server.

     This, plus the fact that Arlindo da Silva's X11R6.4 compile for B20.1
seems to work fine leads me to wonder if there is some sort of problem with
your compile.  Or is there some other black magic to get it to work?

     Arlindo da Silva's X11R6.4 seems to be rock solid, even on
Cygwin v1.0 (CD).  However, I can't compile ("_ctype_" link problem
with the Cygwin B20.1-compiled X11 libraries).

     If I can't get X11 running I might have to go back to B20.1, so I
greatly appreciate the time you are spending on this.

     Below are detailed responses to your e-mails.

Thanks again,

Jim Grishaw.


>  Jim,
> 
>  Could you please verify the following regarding X11R6.x problems you
>  had
>  with ReflectionX?
> 
>  1) Were the errors you reported relates to using XTERM.exe?

No, I hadn't gotten to xterm.exe yet.

> 
>  2) Or, was it one of your application you compiled with Cygwin B20.1
>  and now attempting to use on Cygwin v 1.0 CD Release?

No, Cygwin B20.1 has been completely removed.  I made sure that da Silva's
X11R6.4 for B20.1 was gone.

> 
>  3) Did adding /etc/hosts entry help?

Thanks for the suggestion but it didn't help

> 
>  I found a few socket related bugs in libX11.dll but I am not
>  really sure they were the cause of problems you reported.

Hmm... sounds suspicious.

>  I could use Xterm and all the clients from
>  cygwin-xfree-4.0-cygwin-v-1.tar.bz2 with Exceed server.  The Clients
>  work fiune for me with Cygwin v 1.0 and also Cygwin Developemnt
>  Snapshots.

Excellent

>  Xterm may give the following warnings:
> 
>  bash-2.03$ ./xterm
>  Warning: locale not supported by C library, locale unchanged
>  Warning: locale not supported by Xlib, locale set to C
>  Warning: X locale modifiers not supported, using default
>  Failed to open input method
> 
>  This is because xterm code in XFree86 4.0 has changed and it uses
>  some
>  X Input routines from XFree86 4.0.  These warnings are due to the
>  fact we still do not have XFree86 X-server.  However, these are
>  harmless
>  warnings and should not cause a crash or _X11TransSock Errno.

OK, duly noted.

> 
>  Suhaib

--------------------------------------------------------------------------


>  Can you provide more details?  I use Exceed 6.1 and the libs were
>  tested
>  before releasing them.
> 
>  This seems to X server not accepting X socket connections???

Yes.

> 
>  > waiting for X server to begin accepting connections .
> 
>  A while ago someone mailed me problems with ReflectionX and it turns
>  out that the issue was ReflectionX configuration.
> 
>  I need the X server log files.  I have no idea where ReflectionX
>  creates them because I have never used it.  You need to find it and
>  send me your
>  X-server log file.

OK, here is my Reflection X log file:

Nov 3 12:28:58: Starting server 'D:\Program Files\Reflection\rx.exe' (RX271)
Nov 3 12:28:58: Server startup command line parameters: '' (RX280)
Nov 3 12:28:58: Socket error: gethostbyname failed (RX2489)
Nov 3 12:28:58: Socket error: gethostbyname failed (RX2489)
Nov 3 12:28:58: << Executable Information >> (RX2002)
Nov 3 12:28:58: Program name:               Reflection X (LSL) for Windows NT (RX2003)
Nov 3 12:28:58: Program version:            Version 7.20 (RX2004)
Nov 3 12:28:58: Program UPI:                RMUL-0720-333333333 (RX2005)
Nov 3 12:28:58: Program creation date:      Wednesday, April 14, 1999 (RX2006)
Nov 3 12:28:59: << System and Network Information >> (RX2008)
Nov 3 12:28:59: System CPU:                 Pentium processor (RX2009)
Nov 3 12:28:59: System OS:                  Windows NT Version 4.0 (build 1381: Service Pack 3) (RX2010)
Nov 3 12:28:59: Current display driver:     mga64 Version 4.0.85 (RX2011)
Nov 3 12:28:59: Current screen resolution:  1280 x 1024 (RX2012)
Nov 3 12:28:59: Current screen pixel depth: 16 (RX2013)
Nov 3 12:28:59: Current Network stack:       WinSock 2.0 (RX2014)
Nov 3 12:28:59: Available transports:       TCP/IP     (RX2015)
Nov 3 12:28:59: Local IP address:           144.254.205.117     (RX2016)
Nov 3 12:28:59: Local DECNET node:          Not applicable (RX2017)
Nov 3 12:29:00: rxstart.exe (cf) - Client startup is initializing (RX5006)
Nov 3 12:29:30: rxstart.exe (cf) - Client startup is closing down (RX5007)

> 
>  Which application you were using?

I was running "startx".  This should be the same as
"xinit $HOME/.xinitrc -- $HOME/.xserverrc".  Both exhibit the same
behavior.

Here is my .xinitrc (deliberately kept very simple):
|#!/bin/sh
|
|##
|# Load the X resources
|xrdb -load $HOME/.Xresources
|
|##
|# Set the background bitmap
|xsetroot -bitmap /usr/local/share/backdrops/BrickWall.bm -fg firebrick -bg black
|
|twm

Here is my .xserverrc:
|#!/bin/sh
|
|//D/Program\ Files/Reflection/rx.exe

My DISPLAY variable is set to jgrishaw-nthome:0.0

> 
>  Have you TCP/IP installed? The X requires a TCP/IP insatlled and
>  localhost 127.0.0.1:0 in your /etc/hosts directory defined.  On
>  Windows Nt /etc/hosts entry are in
>  /Winnt/system32/drivers/etc/hosts, that is where
>  RefelectionX would search for /etc/hosts file, unless ReflectionX
>  folks has some weird configuration files.

Yes, TCP/IP is installed.  I have modified /etc/hosts and
/winnt/system32/etc/hosts as per your previous instructions, and still
no success.
> 
>  Regards
>  Suhaib
> 
>  I have moved this discussion to cygwin-xfree list.
> 
> 
> 
>  > -----Original Message-----
>  > From: cygwin-owner@sourceware.cygnus.com
>  > [mailto:cygwin-owner@sourceware.cygnus.com]On Behalf Of
>  > Dtcohen@aol.com
>  > Sent: Tuesday, November 02, 1999 2:10 PM
>  > To: cygwin@sourceware.cygnus.com
>  > Cc: Dtcohen@aol.com
>  > Subject: Re: X11R6.x libs
>  >
>  >
>  > Suhaib and/or other interested parties,
>  >
>  > I am having trouble with the "X11R6.4 for Cygwin v 1.0"
>  > download you
>  > mention below.  When I try to start up X-windows with
>  > Reflection X,
>  > I get the following error messages:
>  >
>  > _X11TransSocketOpen: socket() failed for local
>  > _X11TransSocketOpenCOTSClient: Unable to open socket for local
>  > _X11TransOpen: transcript open failed for local/JGRISHAW-NTHOME:0
>  >
>  > waiting for X server to begin accepting connections .
>  > _X11TransSocketOpen: socket() failed for local
>  > _X11TransSocketOpenCOTSClient: Unable to open socket for local
>  > _X11TransOpen: transcript open failed for local/jgrishaw-nthome:0
>  > .
>  > _X11TransSocketOpen: socket() failed for local
>  > _X11TransSocketOpenCOTSClient: Unable to open socket for local
>  > _X11TransOpen: transcript open failed for local/jgrishaw-nthome:0
>  > .
>  >             etc
>  >             etc
>  >             etc
>  >
>  > This used to work fine with Sergey's X11R6.4 binaries and the
>  > Cygwin B20.1 release.  Any ideas how to fix this?
>  >
>  > I am running Windows NT 4.0 SP3 and Cygwin v1.0 from the CD-ROM.
>  >
>  > Many thanks,
>  >
>  > Jim Grishaw.
>  >
>  >
>  > > I have removed X11R6.x developments tools from my URLS at
>  > > http://siddiqi.webjump.com and
>  > > http://www.geocities/ResearchTriangle/Forum6298.
>  > >
>  > > The X11R6.x developments tools are now available ONLY from
>  > > http://sourceware.cygnus.com/cygwin/xfree
>  > > (Cygwin-xfree). This is to avoid confusions ater Cygwin
>  > v 1.0 was
>  > > released.
>  > >
>  > > 3 different versions of X11 are available:
>  > > X11R6.3 from XFRee86 3.3.5 for Cygwin B20.1
>  > >
>  > > X11R6.4 for Cygwin B20.1 (derived from XFree86 3.9.16)
>  > >
>  > > X11R6.4 for Cygwin v 1.0 (Cygwin Cd Distribution) (derived from
>  > > XFree86 3.9.16 - XFree86 4.0 Developers Snapshots).
>  > >
>  > > The Cygwin-xfree URL
>  > (hhtp://sourceware.cygnus.com/cygwin/xfree) now
>  > > has a FAQ.
>  > >
>  > >
>  > > Suhaib
>  > >
>  > >
>  >

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]