This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: X11 Socket question
- To: "Matthew Rochlin" <rochlin at mediaone dot net>
- Subject: RE: X11 Socket question
- From: "Suhaib Siddiqi" <ssiddiqi at inspirepharm dot com>
- Date: Wed, 21 Jun 2000 15:52:26 -0400
- Cc: "Cygwin-Xfree at Sourceware dot Cygnus. Com" <cygwin-xfree at sourceware dot cygnus dot com>
First
subscribe to cygwin-xfree mailing list
then
post a deatil question to the list....
then... I might answer.
Suhaib
I apologize for popping this at you randomly from
the net either, but I saw your posting (from last year) on the cygwin-xfree
message board. I was wondering if you ever figured out what was going
wrong (re: _X11TransSocket error listed below) since I'm getting a similar
error.
Thanks!
Matt Rochlin
errno
111
· To:
<cygwin-xfree@sourceware.cygnus.com>
· Subject:
errno 111
· From:
"Suhaib M. Siddiqi" <Ssiddiqi@InspirePharm.Com>
· Date:
Fri, 11 Jun 1999 12:09:46 -0400
· Organization:
Inspire Pharmaceuticals, Inc.
Has
any one any suggestions about the following problem.
The Xserver executable
run OK... no coredumps.
But starting an X11 application, eg. xterm and
xclock is giving errno=111
Starting an xterm gives typical
X11TransSocketINETConnect errno = 111
bash-2.02$
ps
PID TTY STIME
COMMAND
1000 -1 11:45:47
/cygnus/CYGWIN-B20/H-I586-cygwin32/bin/bash.exe
1002
-1 11:46:07 /usr/X11R6/bin/xmodmap.exe
1003
-1 11:46:08 /usr/X11R6/bin/XGGI.exe
1004 -1
11:46:07 /usr/X11R6/bin/twm.exe
1018 -1 11:58:21
/cygnus/CYGWIN-B20/H-I586-cygwin32/bin/ps.exe
bash-2.02$ cd
/usr/X11R6/bin
bash-2.02$ ./xterm -tn xterm -e
bash
_X11TransSocketINETConnect: Can't connect: errno =
111
_X11TransSocketINETConnect: Can't connect: errno =
111
_X11TransSocketINETConnect: Can't connect: errno =
111
_X11TransSocketINETConnect: Can't connect: errno =
111
_X11TransSocketINETConnect: Can't connect: errno =
111
_X11TransSocketINETConnect: Can't connect: errno = 111
./xterm Xt
error: Can't open display: :0
bash-2.02$
I am using the following
script to startup the X-server.
Suhaib
#!/bin/bash
#
export
GGI_DEBUG=255
#DIS=${1:-:0}
export DISPLAY=:0
xmodmap
/usr/X11R6/keymaps/xggimap.base &
#fvwm2 &
exec XGGI $* -xkbdb
/usr/X11R6/lib/X11/XkeysymDB
-fp
unix/:-1,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/75dpi,
\
/usr/X11R6/lib/X11/fonts/Speedo, /usr/X11R6/lib/X11/fonts/75dpi,
\
/usr/X11R6/lib/X11/fonts/misc,/usr/X11R6/lib/X11/fonts/Pex,/usr/X11R6/lib/X1
1/fonts/local,
\
/usr/X11R6/lib/X11/fonts/cyrllic -modes 1024x768 &
twm
&