xfree and .Xauth

Thor Anders Aarhaug taarhaug@nuts.edu
Tue Mar 26 05:41:00 GMT 2002


hi,

probably basic stuff, but I could not figure it out:

on a new xfree install 4.2.0 I have created a .Xauthority putting the
following in startx:

dd if=/dev/urandom count=1|md5sum|cut -f1 -d/|sed -e 's/^/add :0
. /'|xauth -q 

now, since -auth is defaulted I did nothing there.

listing the xauth file gives

COMPAQ/unix:0  MIT-MAGIC-COOKIE-1  7871d50d031031fe9a28883a93ef3304

display is set to:

$ echo $DISPLAY
:0

when I try to start the xserver I get the following error messages:

$ startx
1+0 records in
1+0 records out

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


waiting for X server to begin accepting connections .
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

..
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

and so on.


any suggestion on what I'm doing wrong?

Thanks,

TA




More information about the Cygwin-xfree mailing list