This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Errors: "Duplicate invocation" and can't find dll's
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 6 Jul 2005 11:32:18 -0400 (EDT)
- Subject: Re: Errors: "Duplicate invocation" and can't find dll's
- References: <42CBF440.90208@student.uq.edu.au>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: cygwin-xfree at cygwin dot com
On Thu, 7 Jul 2005, Angus Veitch wrote:
> I have just installed the X components of Cygwin and am hoping to
> eventually connect with XDMCP to my Linux machine. But I'm having some
> serious teething problems.
>
> First, XWin seems to be having difficulty finding the dlls. If I run
> "XWin -query [computer name]" I First I get an error message saying that
> it can't find cygwin1.dll. If I copy that dll file from the cygwin\bin\
> directory into C:\cygwin\usr\X11R6\bin, the error message changes to
> another dll. If I copy that dll to the X11R6\bin directory, it moves
> onto yet another one that it can't find.
NO, NO, NO! Please don't do that. Remove the DLLs you copied and instead
add C:\cygwin\bin to your PATH.
> If I run "startxwin.bat" instead, I don't get the dll error.
That's because startxwin.bat adds C:\cygwin\bin to the PATH.
> But when I try to run startx, I get:
>
> > winCheckDisplayNumber - Cygwin/X is already running on display 0
> >
> > Fatal server error:
> > InitOutput - Duplicate invocation on display number: 0. Exiting.
And what's cryptic about that message? You've already run X on display 0
-- use display 1 if you want another instance.
> If I try "startxdmcp.bat", I get a similar result:
>
> > mkdir: Cannot create /tmp/.X11-unix with root ownership
> > winCheckDisplayNumber - Cygwin/X is already running on display 0
> >
> > Fatal server error:
> > InitOutput - Duplicate invocation on display number: 0. Exiting.
Ditto.
> The supposed cause of this error is that I am running two sessions of
> XWin, but that is simply not the case. I get the same results if I add
> :1 to the batch files.
Is someone else running X on that machine? Are you using terminal
services?
> Any suggestions?
Hmm, what does "ps -W | grep -i xwin" show?
> PS.
> This may be relevant: When I installed Cygwin/X, selected all of the X
> components, rather than just the ones that are automatically selected by
> the x-org base package or whatever it was called. Is this bad?
Shouldn't be. Please see the Cygwin problem reporting guidelines at
<http://cygwin.com/problems.html> for the right way of reporting your
installation information (particularly the part about attaching the output
of "cygcheck -svr").
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT