Strange Question: Xfree86 on Terminal Services(RDP)

Hughes, Noah
Wed Apr 9 17:15:00 GMT 2003

There is only one cygwin1.dll on the system, however after more testing I
found that X-server at 16bit color is stable and works, but at 8bit color it
still crashes.

Also I have tired engine 1-4 and I get the same results.


Noah Hughes
Systems Administrator
Engineering Computing Support Services

-----Original Message-----
From: Harold L Hunt II [] 
Sent: Wednesday, April 09, 2003 11:13 AM
Subject: Re: Strange Question: Xfree86 on Terminal Services(RDP)


Your problem is likely unrelated to RDP.

To test this hypothesis, login to the console of the Terminal Server and 
run Cygwin/XFree86.  See if you can make it crash.  I suspect that it 
will crash just as easily on console as it will through RDP.

Now, what I suspect is that you have multiple versions and copies of 
cygwin1.dll on your Terminal Server.  Lots of projects come with a copy 
of cygwin1.dll and it doesn't matter that many of them may not appear to 
be in your path.  You need to make sure that there is one copy of 
cygwin1.dll on your machine, and one copy alone.  There is more 
information about this topic here:

At the risk of being crude, I have told many people this before and it 
often results in some sort of response claiming that having multiple 
copies of cygwin1.dll on their machine shouldn't be causing problems for 
them.  I then restate what I said, they delete the extra copies, and 
everything works.  Please, if you have multiple copies of cygwin1.dll, 
take my word for it that they are the culprit.  If not, we will need 
some more information to figure out what is causing your problem.


Hughes, Noah wrote:
> We have students that logon to a Terminal Server and sometimes want to use
> unix resources.  We have been using X-Win32 and I thought I would give
> Xfree86 a try.  From my computer cygwin-Xfree86 works fine.  From the
> Terminal Server using cygwin-Xfree86 we experience no stability and many
> crashes.
> The XWinrl.log files did not have anything suspect, however, I did find a
> stack dump (below).  This happens whether I am using the Test79 Server or
> the latest Standard Xwin.exe Server.
> Exception: STATUS_ACCESS_VIOLATION at eip=0041E2D5
> eax=102DF598 ebx=B0558B00 ecx=00000001 edx=104DA0E4 esi=10008FFF
> edi=10450B8C
> ebp=0022FE18 esp=0022FDF0 program=C:\cygwin\usr\X11R6\bin\XWin-Test79.exe
> cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> 0022FE18  0041E2D5  (00000001, 00000000, 00000029, 00000000)
> 0022FE48  0041E1E8  (4020004B, 20000009, 104DA0A0, 10450A48)
> 0022FE68  0042C156  (104DA0A0, 00000010, 0022FEA8, 00408022)
> 0022FE78  00429DC3  (10450A48, 00000056, 00000000, 00000000)
> 0022FEA8  00408022  (00000002, 00000000, 615F2058, 00000001)
> 0022FEF0  0040179A  (00000004, 615F2058, 100F0328, 0022FF24)
> 0022FF40  61007408  (610D1F58, FFFFFFFE, 00000054, 610D1E7C)
> 0022FF90  610076ED  (00000000, 00000000, FFFFFFFF, 80430990)
> 0022FFB0  006FD222  (00401490, 037F0009, 0022FFF0, 77EA847C)
> 0022FFC0  0040103C  (0022E7A0, 0022F840, 7FFDF000, 0022E8C8)
> 0022FFF0  77EA847C  (00401000, 00000000, 000000C8, 00000100)
> End of stack trace
> Does anyone have an idea of how to increase the stability of
> in a Terminal Service session.
> Thanks
> ---------------------------------------------------------
> Noah Hughes
> Systems Administrator
> Engineering Computing Support Services

More information about the Cygwin-xfree mailing list