This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: startx hangs on WinXP, xinit doesn't
- From: "Dr.D.J.Picton" <dave at aps5 dot ph dot bham dot ac dot uk>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 24 Aug 2004 17:56:31 +0100 (BST)
- Subject: Re: startx hangs on WinXP, xinit doesn't
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: "Dr.D.J.Picton" <dave at aps5 dot ph dot bham dot ac dot uk>
> Hello, pv.
> On Mon, 16 Aug 2004 22:29:04 -0700 (PDT) p v wrote:
> [snip]
> > The only difference in the execution of the two is the
> > environment so I experimented and finally I commented
> > this portion of startx script -
> >
> > if [ x"$XAUTHORITY" = x ]; then
> > XAUTHORITY="$HOME/.Xauthority"
> > export XAUTHORITY
> > fi
> >
> > Once I commented that out I get X to start correctly
> > and the output is the same as it is with xinit on its
> > own. It's been long time since I worked with X - any
> > ideas why XAUTHORITY set makes startx to hang ?
> > thanks
> Was that really copied verbatim? If so, then there's the problem.
> For a _test_ of equality, there should be two equal signs, not one.
Not true - the syntax is correct, but the action (set XAUTHORITY to a default
value if it isn't already set to a non-null string) is inappropriate. The
Cygwin X server gets upset if XAUTHORITY doesn't point to a valid authority file
containing correct data.