[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question

> Date: Mon, 23 Mar 92 08:20:41 EST
> From: William Schmidt <schmidt@cogsci.uwo.ca>
> Hi, I have been trying to install CMU_CL on an enhanced sparc2,
> and I cannot figure out how to get Hemlock to work. When I run
> "lisp -edit" I get the follwing message, and then lisp goes into
> the debug-loop. I'm sorry if this is a stupid question but what must
> I do to be able to use the graphics interface etc.?
> [...]
> Connection failure to X11.0 server unix display 0: Client is not authorized to connect to server

I've seen this sort of problem with other non-CMUCL lisp applications
running under the OpenWindows X server.  Are you using the OpenWindows
server?  Try doing an:

% xhost +

and see if it fixes the problem.  

This is just a guess, but it may be the case that OpenWindows treats
authorization for connections on unix domain sockets differently from
those on internet domain sockets.  Somebody with the CLX sources
should look at xlib:open-display to see that it opens the right kind
of socket to the server based on the state of the environment variable
DISPLAY and the arguments passed to it.