Subject: Re: Xlib connection refused by server
To: Fujie Zhang <fzhang@nmsu.edu>
From: Dan McMahill <mcmahill@mtl.mit.edu>
List: netbsd-help
Date: 04/06/1998 17:46:01
In message <35294BFB.582DB475@nmsu.edu>, Fujie Zhang writes:
>i have some hard time to get xsession going. the error message in ".xsession-errors" is:
>Xlib: connection to ":0.0" refused by server
>Xlib: Client is not authorized to connect to server
>Error: can't open display: :0
>
>what do these mean? how to fix them? pls help.

means somehow your display server is not allowing the clients listed in .xsession
to connect.  Make a file

/etc/X0.hosts

and list
localhost

in it.

permissions should be something like:

-rw-rw-r--  1 root  wheel  55 Mar 24 11:43 /etc/X0.hosts

that should do it.  iuf not, I don't know.

dan