Paul Holzer �crivait:
> I am running CMUCL 19a on Fedora 2. I have installed the extra packages,
> giving me clm and clx. I have compiled and loaded the sample motif
> program motif-example.lisp. This loads clm and clx libraries
> successfully. When I try to run the test function, I get following messages:
> Invoking debugger...
> Connection failure to X11.0 server display 0: No protocol specified
> [Condition of type XLIB:CONNECTION-FAILURE]
> (XLIB::X-ERROR XLIB:CONNECTIION-FAILURE :MAJOR-VERSION 11
> :MINOR-VERSION ...]
this is probably a problem with CLX rather than with the motifd (CMUCL's
Motif support uses CLX as well as the platform's Motif libraries). I
expect that you will see the same error if you say
(require :clx)
(ext:open-clx-display)
It is possible that Fedora have switched to a new format for
authorization cookies (likely XDM-AUTHORIZATION-1 instead of
MIT-MAGIC-COOKIE-1); the output of "xauth list" should tell you. CMUCL's
CLX does not know how to handle this new format, so won't be able to
connect to your display.
If this is indeed the problem, a temporary workaround would be to
authorize all connections to your display from localhost:
xhost +localhost