Hello all, thanks for listening,

I have a problem starting/working in Xfree under
cygwin.  I installed Xfree manually some time ago and
figured that it would be easier maintaining it under
the setup.exe by cygwin.  I uninstalled X and
proceeded to install it from scratch with the cygwin
utility setup.exe (selecting the base package).
Unfortunately, the new installation did not work
properly.  Unpon seeing that, I unsinstalled the
package unsing the standard setup.exe utility and
removed the /etc/X11 and the /usr/X11R6 branches (rm
-Rf) to make sure no old config files would remain. I
reinstalled the X base package with setup.exe and it
still does not work. I have tried to start X using
the startx and the startxwin.sh methods without
complete success. 
They result in different behaviours however...

1- Starting X with startxwin.sh from bash in
/dev/conin

When starting X with the command startxwin.sh I
manage to get X running with the main window with the
aquamarine4 background.  I even get the mouse shape
for to indicate the position of a new window (xterm).
 When I try to position the window (which is called
bash or unnamed), the mouse switch to the traditional
X but no xterm appears.  I can get the the twm menu
with most functionalities working (show iconmgr,
hide, move , delete, etc.) but no xterm.  I get the
mouse changing shape but no window appears.  Just in
case, I join the /tmp/Xwin.log file at the end.

2- Starting X with startx from bash in /dev/conin

Using startx command leaves me hanging for a few
second.  Then ne main window appears followed by the
clock that is specified in the .xinitrc file in ~/. 
X stop and the main window disapears with some error
messages :

waiting for X server to shut down XIO: fatal IO error
104 <Connection reset by peer> on X server ":0.0"
after 279 requests <278 known processed> with 2
events remaining.
XIO: fatal IO error 110 <Cannot send after transport
endpoint shutdown> on X server ":0.0"
after 58 requests <49 known processed> with 0 events
remaining.

(the number of requests varies from time to time)

I provide at the end the ~/.xinitrc.  The
startxwin.sh is the standard one that comes with the
package.  I have added a few lines in the ~/.xinitrc
that were working in the old manual installation of
X. I also provide information that may be useful like
the version of packages.

I would truely appreciate any help to find and solve
this problem.  Any ideas or thoughts would be most
welcome.
==================================================
Daniel Chamberland-Tremblay
==================================================

FILES :

++++++++++++++++++++++++++++++++++++++++++++++
copy of /tmp/XWin.log

ddxProcessArgument () - Initializing default screens
winInitializeDefaultScreens - w 1280 h 960
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be
set to root
winDetectSupportedEngines () - Windows NT/2000
winDetectSupportedEngines () - DirectDraw installed
winDetectSupportedEngines () - Allowing PrimaryDD
winDetectSupportedEngines () - Returning, supported
engines 0000001b
winSetEngine () - Using Shadow DirectDraw
winAdjustVideoModeShadowDD () - Using Windows display
depth of 32 bits per pixel
winAdjustForAutoHide - Original WorkArea: 0 0 932
1280
winAdjustForAutoHide - Adjusted WorkArea: 0 0 932
1280
winCreateBoundingWindowWindowed () - WindowClient w
1274 h 907 r 1274 l 0 b 907 t 0
winCreateBoundingWindowWindowed () -  Returning
winInitVisualsShadowDD () - Masks 00ff0000 0000ff00
000000ff BPRGB 8 d 32
winCreateDefColormap () - Deferring to
fbCreateDefColormap ()
winScreenInit () - returning
Could not init font path element
/usr/X11R6/lib/X11/fonts/Speedo/, removing from list!
Could not init font path element
/usr/X11R6/lib/X11/fonts/Type1/, removing from list!
Could not init font path element
/usr/X11R6/lib/X11/fonts/100dpi/, removing from list!


++++++++++++++++++++++++++++++++++++++++++++++
copy of ~/.xinitrx

#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld
Exp $ userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap.cf2
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap # merge
in defaults and keymaps if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi if [ -f $userresources ]; then
xrdb -merge $userresources
fi if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi # start some nice programs twm &
xclock -geometry 50x50-1+1 &
#xterm -geometry 80x30+494+51 -bg black -fg white &
#xterm -geometry 80x20+494-0 -bg black -fg white &
#exec xterm -geometry 80x66+0+0 -bg black -fg white
-name login
INFO :
xterm is persent in /usr/X11R6/bin/xterm
$PATH is
/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive
/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/lgc/o
rant/bin:/cygdrive/c/WINNT/system32/nls/ENGLISH:?????
????????????
Part of the cygcheck -s output :
Found: F:\unix\bin\bash.exe
Found: F:\unix\bin\cat.exe
Found: F:\unix\bin\cpp.exe
Found: F:\unix\usr\local\bin\find.exe
Found: F:\unix\bin\find.exe
Found: F:\unix\bin\gcc.exe
Found: F:\unix\bin\gdb.exe
Found: F:\unix\bin\ld.exe
Found: F:\unix\bin\ls.exe
Found: F:\unix\bin\make.exe
Found: F:\unix\bin\sh.exe    58k 2002/05/07
F:\unix\bin\cygbz2-1.dll
111k 2002/06/13 F:\unix\bin\cygcurl-2.dll
45k 2001/04/25 F:\unix\bin\cygform5.dll
35k 2002/01/09 F:\unix\bin\cygform6.dll
19k 2002/02/20 F:\unix\bin\cyggdbm.dll
17k 2001/06/28 F:\unix\bin\cyghistory4.dll
20k 2002/01/13 F:\unix\bin\cyghistory5.dll
929k 2002/06/24 F:\unix\bin\cygiconv-2.dll
22k 2001/12/13 F:\unix\bin\cygintl-1.dll
23k 2002/06/24 F:\unix\bin\cygintl-2.dll
21k 2001/06/20 F:\unix\bin\cygintl.dll
81k 2000/12/05 F:\unix\bin\cygitcl30.dll
35k 2000/12/05 F:\unix\bin\cygitk30.dll
119k 2002/02/09 F:\unix\bin\cygjpeg6b.dll
26k 2001/04/25 F:\unix\bin\cygmenu5.dll
20k 2002/01/09 F:\unix\bin\cygmenu6.dll
156k 2001/04/25 F:\unix\bin\cygncurses++5.dll
175k 2002/01/09 F:\unix\bin\cygncurses++6.dll
226k 2001/04/25 F:\unix\bin\cygncurses5.dll
202k 2002/01/09 F:\unix\bin\cygncurses6.dll
15k 2001/04/25 F:\unix\bin\cygpanel5.dll
12k 2002/01/09 F:\unix\bin\cygpanel6.dll
40k 2001/11/21 F:\unix\bin\cygpcre.dll
39k 2001/11/21 F:\unix\bin\cygpcreposix.dll
171k 2002/05/07 F:\unix\bin\cygpng10.dll
22k 2002/06/09 F:\unix\bin\cygpopt-0.dll
108k 2001/06/28 F:\unix\bin\cygreadline4.dll
121k 2002/01/13 F:\unix\bin\cygreadline5.dll
66k 2001/11/20 F:\unix\bin\cygregex.dll
390k 2000/12/05 F:\unix\bin\cygtcl80.dll
5k 2000/12/05 F:\unix\bin\cygtclpip80.dll
10k 2000/12/05 F:\unix\bin\cygtclreg80.dll
253k 2002/02/10 F:\unix\bin\cygtiff3.dll
623k 2000/12/05 F:\unix\bin\cygtk80.dll
50k 2002/03/12 F:\unix\bin\cygz.dll
874k 2002/06/24 F:\unix\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.11
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 53
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sun Jun 23 22:31:15 EDT 2002
CVS tag: cygwin-1-3-11-3
Shared id: cygwin1S3 Cygwin Package Information
Package             Version            
XFree86-base        4.2.0-1            
XFree86-bin         4.2.0-1            
XFree86-etc         4.2.0-1            
XFree86-fenc        4.2.0-2            
XFree86-fnts        4.2.0-2            
XFree86-lib         4.2.0-3            
XFree86-startup-scripts4.2.0-2            
XFree86-xserv       4.2.0-7            
_update-info-dir    00011-1            
ash                 20020131-1         
bash                2.05a-3            
bc                  1.06-1             
binutils            20011002-1         
bzip2               1.0.2-2            
clear               1.0-1              
cpio                2.4.2              
cron                3.0.1-6            
crypt               1.0-1              
ctags               5.2-1              
curl                7.9.8-1            
cvs                 1.11.0-1           
cygrunsrv           0.95-1             
cygutils            1.1.1-1            
cygwin              1.3.11-3           
diff                1.0-1              
diffutils           2.8.1-1            
fetchmail           5.9.12-1           
file                3.37-1             
fileutils           4.1-1              
findutils           4.1.7-4            
gawk                3.0.4-1            
gcc                 2.95.3-5           
gdb                 20010428-3         
gdbm                1.8.0-4            
gettext             0.11.2-2           
ghostscript         6.51-4             
grep                2.5-1              
groff               1.17.2-1           
gzip                1.3.2-1            
inetutils           1.3.2-17           
jpeg                6b-7               
less                374-1              
libbz2_1            1.0.2-2            
libiconv2           1.8-2              
libintl             0.10.38-3          
libintl1            0.10.40-1          
libintl2            0.11.2-2           
libncurses5         5.2-1              
libncurses6         5.2-8              
libpng10            1.0.13-3           
libpopt0            1.6.4-4            
libreadline4        4.1-2              
libreadline5        4.2a-1             
login               1.4-3              
lynx                2.8.4-1            
make                3.79.1-7           
man                 1.5g-2             
mktemp              1.4-1              
mutt                1.2.5i-6           
ncftp               3.1.3-1            
ncurses             5.2-8              
newlib-man          20001118-1         
patch               2.5-3              
pcre                3.7-1              
perl                5.6.1-2            
popt                1.6.4-4            
postgresql          7.2.1-2            
procmail            3.22-6             
python              2.2.1-1            
rcs                 5.7-3              
readline            4.2a-1             
regex               4.4-2              
rsync               2.5.5-1            
rxvt                2.7.2-10           
sed                 3.02-1             
sh-utils            2.0-2              
sharutils           4.2.1-2            
shutdown            1.2-2              
ssmtp               2.38.7-3           
tar                 1.13.19-1          
tcltk               20001125-1         
termcap             20020403-1         
terminfo            5.2-3              
texinfo             4.2-3              
textutils           2.0.21-1           
tiff                3.5.7-1            
time                1.7-1              
units               1.77-1             
unzip               5.50-1             
vim                 6.1-2              
w32api              1.5-1              
wget                1.8.1-1            
which               1.5-1              
whois               4.5.17-1           
zip                 2.3-2              
zlib                1.1.4-1          

Reply via email to