From: John Whittaker
Subject: NEWBIE cmucl debugger question
Date: 
Message-ID: <a6miic$6ub$1@slb6.atl.mindspring.net>
Sorry for the simple question, but I cannot get the graphical debugger to 
work on my Mandrake Linux system.  I have installed Lesstif, so I thought 
the debugger would work. But I get the following when the debugger is 
invoked:

"* q
Invoking debugger...
Starting server:
   will_fork  = False
   will_trace = False
   No Inet domain socket created.
   path       = /tmp/.motif_socket-p2999
Waiting for connection.

Connection failure to X11.0 server unix display 0: Client is not authorized 
to connect to Server"



BTW, this is invoked from within emacs running ilisp.  Is there some 
environment variable I need to set?  Can anyone help me?


Thanks,

John Whittaker

From: Marco Antoniotti
Subject: Re: NEWBIE cmucl debugger question
Date: 
Message-ID: <y6c7kog4k44.fsf@octagon.mrl.nyu.edu>
John Whittaker <········@mindspring.com> writes:

> Sorry for the simple question, but I cannot get the graphical debugger to 
> work on my Mandrake Linux system.  I have installed Lesstif, so I thought 
> the debugger would work. But I get the following when the debugger is 
> invoked:
> 
> "* q
> Invoking debugger...
> Starting server:
>    will_fork  = False
>    will_trace = False
>    No Inet domain socket created.
>    path       = /tmp/.motif_socket-p2999
> Waiting for connection.
> 
> Connection failure to X11.0 server unix display 0: Client is not authorized 
> to connect to Server"
> 
> 
> 
> BTW, this is invoked from within emacs running ilisp.  Is there some 
> environment variable I need to set?  Can anyone help me?

This is nothing that has to do with CL/CMUCL/ILISP.  It is an X
windows issue. Try

	xhost + <your machine>

at the shell prompt

Cheers

-- 
Marco Antoniotti ========================================================
NYU Courant Bioinformatics Group        tel. +1 - 212 - 998 3488
719 Broadway 12th Floor                 fax  +1 - 212 - 995 4122
New York, NY 10003, USA                 http://bioinformatics.cat.nyu.edu
                    "Hello New York! We'll do what we can!"
                           Bill Murray in `Ghostbusters'.
From: Martin Cracauer
Subject: Re: NEWBIE cmucl debugger question
Date: 
Message-ID: <a6oj7s$1vms$1@counter.bik-gmbh.de>
Marco Antoniotti <·······@cs.nyu.edu> writes:


>John Whittaker <········@mindspring.com> writes:

>> Sorry for the simple question, but I cannot get the graphical debugger to 
>> work on my Mandrake Linux system.  I have installed Lesstif, so I thought 
>> the debugger would work. But I get the following when the debugger is 
>> invoked:
>> 
>> "* q
>> Invoking debugger...
>> Starting server:
>>    will_fork  = False
>>    will_trace = False
>>    No Inet domain socket created.
>>    path       = /tmp/.motif_socket-p2999
>> Waiting for connection.
>> 
>> Connection failure to X11.0 server unix display 0: Client is not authorized 
>> to connect to Server"
>> 
>> 
>> 
>> BTW, this is invoked from within emacs running ilisp.  Is there some 
>> environment variable I need to set?  Can anyone help me?

>This is nothing that has to do with CL/CMUCL/ILISP.  It is an X
>windows issue. Try

>	xhost + <your machine>

Make that localhost.

The thing here is that X11 usually does not connect over TCP to
localhost, but via a named pipe in /tmp.

The Motif daemon (which I don't use, th etty thing is fine for me) for
some reason uses TCP/IP.

On normal X11 installations, localhost is by default in xhosts, but
that fails in one of two occasions:

1)

- on some installations it may not, especially some of the more
  paranoid Linux or BSD installations may have chosen to turn it off
  by default in their prepared packages of X11

2)

- the user might have disabled TCP altogether.  This is becoming the
  Default in newest XFree releases as I understand.

Disabling TCP makes sense since everybody in their right mind uses ssh
with x11 forwarding except at home maybe, and then you only need the
named pipe.

I any case, '-nolisten tcp' passed to the X11 server will turn it off.

Martin
-- 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <········@bik-gmbh.de> http://www.bik-gmbh.de/~cracauer/
FreeBSD - where you want to go. Today. http://www.freebsd.org/
From: John Whittaker
Subject: Re: NEWBIE cmucl debugger question
Date: 
Message-ID: <a6p5pd$dug$1@slb2.atl.mindspring.net>
Thanks to all for the informative replies.  It now works!!


John Whittaker
From: Paolo Amoroso
Subject: Re: NEWBIE cmucl debugger question
Date: 
Message-ID: <hzKPPM1cUK+XE8jQv+g1BYVkVUsw@4ax.com>
On Tue, 12 Mar 2002 21:54:22 -0600, John Whittaker
<········@mindspring.com> wrote:

> Connection failure to X11.0 server unix display 0: Client is not authorized 
> to connect to Server"

Try:

  xhost + localhost


Paolo
-- 
EncyCMUCLopedia * Extensive collection of CMU Common Lisp documentation
http://www.paoloamoroso.it/ency/README
[http://cvs2.cons.org:8000/cmucl/doc/EncyCMUCLopedia/]