<div dir="ltr">Hi;<div><br></div><div>I also got that error with CCL.</div><div><br></div><div>I did a couple of things (maybe not all of which were necessary):</div><div><ol><li><font face="monospace">Told my FC25 display manager (SDDM, notably neither GDM nor KDM) to add the following to the invocation of the X-Server "-listen tcp" (this was not required for SBCL to work - perhaps it goes via a unix domain socket rather than a TCP/network socket?), and rebooted, but no joy, so I</font></li><li><font face="monospace">disabled x11 authorization via "xhost +" (maybe Phillipe's suggestion would have worked after I did the other things in this list, but his suggestion was the first thing I tried, before all these other things, and it didn't seem to do the trick), but still no joy, so I<br></font></li><li><font face="monospace">upgraded CCL from 1.10 to 1.11, and</font></li><li><font face="monospace">installed the latest CLX into local-projects, and for good measure</font></li><li><font face="monospace">cleaned up my cache of FASLs</font></li></ol><div><div>During the process, and even testing with Xnest, I variously got "protocol version mismatch" errors, hangs in response (apparently waiting for X11), errors opening the display, and a regression from CCL where it seemed to not like :accessors in application-frame environment variables.</div><div><br></div><div>Finally, I got the following to work:<br></div><div><br></div><div><span style="color:rgb(0,0,0);font-family:monospace">lx86cl64 --eval '(ql:quickload :clx/demo)' --eval '(xlib-demo/demo</span><span style="font-family:monospace">s:demo)'</span></div><div><ol></ol></div></div></div><div><font face="monospace">Then the ql-gui worked.  I am not sure exactly which combination of things did the trick.  I can try and be more careful when I redo these fixes on my other development box.</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">-jm</font></div><div><font face="monospace"><br></font></div><div><font face="monospace"><br></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 8, 2017 at 3:44 AM, philippe.brochard <span dir="ltr"><<a href="mailto:pbrochard@common-lisp.net" target="_blank">pbrochard@common-lisp.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">John Morrison <<a href="mailto:jm@symbolic-simulation.com">jm@symbolic-simulation.com</a>> writes:<br>
<br>
> Sorry to be terse - am on tablet.  First, I am sorry but I do not use<br>
> slime, so if there is a slime-specific error, I should be of little help.<br>
> Having said that, while I used to test my McCLIM apps under both sbcl &<br>
> ccl,  I started having trouble with X11 authentication when running under<br>
> ccl, so I stopped.  Do the McCLIM demos work for you?<br>
><br>
> I will try to run this to ground tomorrow.<br>
><br>
</span>Hi,<br>
<br>
If this has not been answered already, I think you have to enable localhost access for X:<br>
<br>
xhost local:local<br>
<span class="HOEnZb"><font color="#888888"><br>
Philippe<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Nov 7, 2017 7:28 PM, "Anton Vodonosov" <<a href="mailto:avodonosov@yandex.ru">avodonosov@yandex.ru</a>> wrote:<br>
><br>
>> John, why do I get this error?<br>
>><br>
>><br>
>> Connection failure to X0.0 server  display 0:<br>
>>    [Condition of type XLIB:CONNECTION-FAILURE]<br>
>><br>
>> Restarts:<br>
>>  0: [RETRY] Retry SLIME interactive evaluation request.<br>
>>  1: [*ABORT] Return to SLIME's top level.<br>
>>  2: [ABORT-BREAK] Reset this thread<br>
>>  3: [ABORT] Kill this thread<br>
>><br>
>> Backtrace:<br>
>>   0: (XLIB::X-ERROR XLIB:CONNECTION-FAILURE :MAJOR-VERSION 0<br>
>> :MINOR-VERSION 0 :HOST "" :DISPLAY 0 :REASON "")<br>
>>   1: (XLIB::DISPLAY-CONNECT #<DISPLAY :0 ( R0)> :AUTHORIZATION-NAME<br>
>> "MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...))<br>
>>   2: (XLIB:OPEN-DISPLAY "" :DISPLAY 0 :PROTOCOL :LOCAL :AUTHORIZATION-NAME<br>
>> "MIT-MAGIC-COOKIE-1" :AUTHORIZATION-DATA #(39 59 136 212 135 94 ...))<br>
>>   3: (#<STANDARD-METHOD CLIM-CLX::INITIALIZE-CLX<br>
>> (CLIM-CLX::CLX-BASIC-PORT)> #<CLX-PORT  #x3020054F10AD>)<br>
>>   4: (#<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)><br>
>> #<CLX-PORT  #x3020054F10AD> :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0<br>
>> :SCREEN-ID ...))<br>
>>   5: (CCL::%%BEFORE-AND-AFTER-<wbr>COMBINED-METHOD-DCODE (NIL<br>
>> #<STANDARD-METHOD INITIALIZE-INSTANCE :AFTER (CLIM-CLX::CLX-PORT)> .<br>
>> 17529393327332))<br>
>>   6: (CCL::%%STANDARD-COMBINED-<wbr>METHOD-DCODE (NIL (#<STANDARD-METHOD<br>
>> INITIALIZE-INSTANCE :AFTER (CLIM:PORT)> #<STANDARD-METHOD<br>
>> INITIALIZE-INSTANCE :AFTER #>) ..) 17529393327332)<br>
>>   7: (NIL #<Unknown Arguments>)<br>
>>   8: (CCL::%MAKE-STD-INSTANCE #<STANDARD-CLASS CLIM-CLX::CLX-PORT><br>
>> (:SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID ...)))<br>
>>   9: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (STANDARD-CLASS)><br>
>> #<STANDARD-CLASS CLIM-CLX::CLX-PORT> :SERVER-PATH (:CLX :HOST ""<br>
>> :DISPLAY-ID 0 :SCREEN-ID ...))<br>
>>  10: (#<CCL::STANDARD-KERNEL-METHOD MAKE-INSTANCE (SYMBOL)><br>
>> CLIM-CLX::CLX-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID<br>
>> ...))<br>
>>  11: (CLIM:FIND-PORT :SERVER-PATH (:CLX :HOST "" :DISPLAY-ID 0 :SCREEN-ID<br>
>> ...))<br>
>>  12: (CLIM:FIND-FRAME-MANAGER)<br>
>>  13: (#<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND<br>
>> (CLIM:APPLICATION-FRAME)> #<COM.SYMSIM.OSS.QL-GUI::<wbr>QUICKLISP-GUI<br>
>> #x3020054ECB5D>)<br>
>>  14: (CCL::%%STANDARD-COMBINED-<wbr>METHOD-DCODE (#<STANDARD-METHOD<br>
>> CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)><br>
>> #<STANDARD-METHOD CLIM:RUN-FRAME-TOP-LEVEL (CLIM:APPLICATION-FRAME)>)<br>
>> 1752939332740..<br>
>>  15: (NIL #<Unknown Arguments>)<br>
>>  16: (CCL::CALL-CHECK-REGS COM.SYMSIM.OSS.QL-GUI:RUN)<br>
>>  17: (CCL::CHEAP-EVAL (COM.SYMSIM.OSS.QL-GUI:RUN))<br>
>>  18: ((:INTERNAL SWANK:INTERACTIVE-EVAL))<br>
>>  19: (SWANK::CALL-WITH-RETRY-<wbr>RESTART "Retry SLIME interactive evaluation<br>
>> request." #<COMPILED-LEXICAL-CLOSURE (:INTERNAL SWANK:INTERACTIVE-EVAL)<br>
>> #x3020054ECD7F>)<br>
>>  20: (SWANK::CALL-WITH-BUFFER-<wbr>SYNTAX NIL #<COMPILED-LEXICAL-CLOSURE<br>
>> (:INTERNAL SWANK:INTERACTIVE-EVAL) #x3020054ECDBF>)<br>
>>  21: (CCL::CALL-CHECK-REGS SWANK:INTERACTIVE-EVAL<br>
>> "(com.symsim.oss.ql-gui:run)")<br>
>>  22: (CCL::CHEAP-EVAL (SWANK:INTERACTIVE-EVAL<br>
>> "(com.symsim.oss.ql-gui:run)")<wbr>)<br>
>>  23: (SWANK:EVAL-FOR-EMACS (SWANK:INTERACTIVE-EVAL<br>
>> "(com.symsim.oss.ql-gui:run)") "COMMON-LISP-USER" 20)<br>
>>  24: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD))<br>
>>  25: (SWANK/BACKEND:CALL-WITH-<wbr>DEBUGGER-HOOK #<Compiled-function<br>
>> SWANK:SWANK-DEBUGGER-HOOK #x302001C92B5F> #<Compiled-function (:INTERNAL<br>
>> SWANK::SPAWN-WORKER-THREAD) (Non-Global)  #x302001C5A87F>)<br>
>>  26: (SWANK::CALL-WITH-BINDINGS ((*STANDARD-INPUT* .<br>
>> #<SWANK/GRAY::SLIME-INPUT-<wbr>STREAM #x3020008EE61D>) (*STANDARD-OUTPUT* .<br>
>> #<SWANK/GRAY::SLIME-OUTPUT-<wbr>STREAM #x3020008EE53D>) ..)))<br>
>> #<COMPILED-LEXICAL-CLOSU..<br>
>>  27: ((:INTERNAL SWANK::SPAWN-WORKER-THREAD))<br>
>>  28: (CCL::RUN-PROCESS-INITIAL-FORM #<PROCESS worker(40) [Active]<br>
>> #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL<br>
>> CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>))<br>
>>  29: ((:INTERNAL (CCL::%PROCESS-PRESET-INTERNAL (PROCESS))) #<PROCESS<br>
>> worker(40) [Active] #x3020054E2FCD> (#<COMPILED-LEXICAL-CLOSURE (:INTERNAL<br>
>> CCL::%PROCESS-RUN-FUNCTION) #x3020054E2D5F>))<br>
>>  30: ((:INTERNAL CCL::THREAD-MAKE-STARTUP-<wbr>FUNCTION))<br>
>><br>
>><br>
</div></div></blockquote></div><br></div>