This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
xfree and .Xauth
- From: Thor Anders Aarhaug <taarhaug at nuts dot edu>
- To: cygwin-xfree at cygwin dot com
- Date: 26 Mar 2002 00:52:02 +0100
- Subject: xfree and .Xauth
- Newsgroups: gmane.os.cygwin.xfree
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