On Wed, 23 Jul 2003, Jay R. Ashworth wrote:
> On Wed, Jul 23, 2003 at 08:47:56PM +0200, Alf C Stockton wrote:
> > > Non of the three things you are seeing are related.
> > >
> > > 1. Your startx creates an .Xauthority for you.
> > > 2. You are seeing the error message because you appearantly don't have
> > > ipv6.
> > > 3. You need to check yourself where the start process hangs.
> > > I'd suggest you start with 'startx'.
> > > Hint: to trace a shell script you can add: 'set -x'
> > >
> > Please tell me more about 'set -x' as it does nothing for me.
> > I see no more after doing a 'set -x' than I have already emailed, maybe I am
> > using it incorrectly.
>
> To trace a shell script, you can add the line
>
> set -x
>
> *inside the script, at the top*, and the shell that runs the script will then
> tell you what it's doing. I usually use -vx -- that way I can see both what
> variables are supposed to get substituted, and what they take as values.
>
I have taken your suggestion of set -vx in my startx and I get
authdisplay=${display:-:0}
+ authdisplay=:0
mcookie=`mcookie`
mcookie
++ mcookie
+ mcookie=eabdca9c843ad050975359df8f162c69
for displayname in $authdisplay $hostname$authdisplay; do
if ! xauth list "$displayname" | grep "$displayname " >/dev/null 2>&1; then
xauth << EOF
removelist="$displayname $removelist"
fi
done
+ xauth list :0
+ grep ':0 '
+ xauth
Using authority file /home/alf/.Xauthority
Writing authority file /home/alf/.Xauthority
+ removelist=:0
+ xauth list puppypad.co.za:0
+ grep 'puppypad.co.za:0 '
+ xauth
Using authority file /home/alf/.Xauthority
Writing authority file /home/alf/.Xauthority
and now, at this point the script stops and only carries on if I enter Ctrl-C
---
Regards,
Alf Stockton www.stockton.co.za
The probability of someone watching you is proportional to the
stupidity of your action.
_______________________________________________
XFree86 mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xfree86