On Sun, 22 Aug 2004, Ariel Millennium Thornton wrote: > 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
> Was that really copied verbatim? If so, then there's the problem. man test man sh man bash Bourne shell 'test' and Korn shell 'test' use a single '=' sign. > For a _test_ of equality, there should be two equal signs, not one. One > equal sign is an assignment, not a test. What that "if" is testing is > whether the assignment succeeds or not, not whether there really is an > XAUTHORITY or not, and odds are that's what's wrong. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net