On Tue, 03 Feb 2004 15:40:28 +0100
Eric Marsden <[EMAIL PROTECTED]> wrote:

> 
> >>>>> "ms" == Marc Spitzer <[EMAIL PROTECTED]> writes:
> 
>   ms> Accepting client on Unix socket.
>   ms> Accepted client on fd 6
>   ms> Server not forking.
>   ms> greet_client:  Unable to open display.
>   ms> Bad file descriptor
> 
> it looks like the motifd isn't able to connect to your X11 display.
> This is probably due to an X11 authorization problem; the motifd is
> inheriting the environment of the lisp process.
> 
> Are you able to connect from CMUCL using
> 
>    (require :clx)
>    (ext:open-clx-display)

here is what I get:

; Loading #p"/home/marc/.cmucl.lisp".
;; Loading #p"/home/marc/.cmucl/asdf.lisp".
CMU Common Lisp 18e, running on bogomips.optonline.net
With core: /opt/cmucl/18e/bin/lisp.core
Dumped on: Tue, 2003-04-15 02:33:39-04:00 on bogomips.optonline.net
See <http://www.cons.org/cmucl/> for support information.
Loaded subsystems:
    Python 1.1, target Intel x86
    CLOS 18e (based on PCL September 16 92 PCL (f))
    Gray Streams Protocol Support
    CLX X Library MIT R5.02
    Hemlock 3.5
* 
   (require :clx)

NIL
*    (ext:open-clx-display)

#<XLIB:DISPLAY unix:0 (The XFree86 Project, Inc R40300000)>
#<XLIB:SCREEN unix:0.0 1024x768x8 PSEUDO-COLOR>

and No window poped up, but if I type (ed "file") the editor
window pops up with no problems. 

If I do not use (require :clm) I get the tty version of the
debugger and here is what I get with clm:

*   (require :clm)

; Loading #p"/opt/cmucl/18e/lib/cmucl/lib/subsystems/clm-library.x86f".

T
*  (inspect *package*)

Starting server:
   will_fork  = False
   will_trace = False
   No Inet domain socket created.
   path       = /tmp/.motif_socket-p42439
Waiting for connection.
Accepting client on Unix socket.
Accepted client on fd 6
Server not forking.
greet_client:  Unable to open display.
Bad file descriptor

Connection to server broken: Hit EOF while reading packet
Warning:  Motif server died.
Status = :SIGNALED, exit code = 6.
Invoking debugger...
Starting server:
   will_fork  = False
   will_trace = False
   No Inet domain socket created.
   path       = /tmp/.motif_socket-p42440
Waiting for connection.
Accepting client on Unix socket.
Accepted client on fd 6
Server not forking.
greet_client:  Unable to open display.
Bad file descriptor

Connection to server broken: Hit EOF while reading packet

Type-error in KERNEL::OBJECT-NOT-TYPE-ERROR-HANDLER:
   NIL is not of type TOOLKIT-INTERNALS:MOTIF-CONNECTION

Restarts:
  0: [ABORT] Return to Top-Level.

Debug  (type H for help)

(INTERFACE::START-MOTIF-INSPECTOR
 #<The COMMON-LISP-USER package, 14/21 internal, 0/9 external>)
 #<The COMMON-LISP-USER package, 14/21 internal, 0/9 external>)
Warning:  Motif server died.
Status = :SIGNALED, exit code = 6.
Source: Error finding source: 
Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM:  Source file no longer exists:
  target:interface/inspect.lisp.
0] 

any ideas?

marc

>   
> -- 
> Eric Marsden                          <URL:http://www.laas.fr/~emarsden/>
> 

Reply via email to