Help: "Couldn't find per display information"

Help: "Couldn't find per display information"

Post by Richard Cogno » Wed, 31 Mar 1999 04:00:00



Hi,
The application I'm working on bombs out very frequently with the message:

Couldn't find per display information

and then calls exit(1).

This message comes from the Xt library. The application uses Motif.
Could this be an incompatibility between the version of Xt on the
machine and the version with which the Motif libs were compiled? Any
known solutions for this?

Motif version: 2.1
X libraries version: from XFree86 3.3.3.1
X server: Mach64 server from XFree86 3.3.3.1

The same application runs fine in HPUX, IRIX, AIX, WinNT (with X
devkit from eXceed).

Thanks in advance,
Richard.

--
|-------------------------------------------------------------|
| Richard Cognot           | Proceed, with fingers crossed... |
|                          |           /\^^/\                 |

|-------------------------------------------------------------|
| http://www.ensg.u-nancy.fr/~cognot                          |
|-------------------------------------------------------------|

 
 
 

Help: "Couldn't find per display information"

Post by Peter.vanHeld » Thu, 01 Apr 1999 04:00:00


Have you compile this app yourself? If so has the link order been -lXt -lXm?
If so, that could explain it. Both libXt and libXm define a VendorShell,
it's the one from libXm that's needed, so use -lXm -lXt as the link order.

Hope this helps.

Peter

: Hi,
: The application I'm working on bombs out very frequently with the message:

: Couldn't find per display information

: and then calls exit(1).

: This message comes from the Xt library. The application uses Motif.
: Could this be an incompatibility between the version of Xt on the
: machine and the version with which the Motif libs were compiled? Any
: known solutions for this?

: Motif version: 2.1
: X libraries version: from XFree86 3.3.3.1
: X server: Mach64 server from XFree86 3.3.3.1

: The same application runs fine in HPUX, IRIX, AIX, WinNT (with X
: devkit from eXceed).

: Thanks in advance,
: Richard.

: --
: |-------------------------------------------------------------|
: | Richard Cognot           | Proceed, with fingers crossed... |
: |                          |           /\^^/\                 |

: |-------------------------------------------------------------|
: | http://www.ensg.u-nancy.fr/~cognot                          |
: |-------------------------------------------------------------|

 
 
 

Help: "Couldn't find per display information"

Post by Richard Cogno » Thu, 01 Apr 1999 04:00:00


[posted and mailed]

    Peter> Have you compile this app yourself?

Yup. I'm one of the folks developping it ;-)

    Peter> If so has the link
    Peter> order been -lXt -lXm?  If so, that could explain it. Both
    Peter> libXt and libXm define a VendorShell, it's the one from
    Peter> libXm that's needed, so use -lXm -lXt as the link order.

Now that I think of it, I think we already had that particular problem
on other systems.

Here is the ldd output (trimmed of my own libraries, which are in
front of these:

        libMesaGL.so.3 => /usr/lib/libMesaGL.so.3 (0x40007000)
        libMesaGLU.so.3 => /usr/lib/libMesaGLU.so.3 (0x400ea000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x400fd000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4010a000)
        libXm.so.2 => /usr/X11R6/lib/libXm.so.2 (0x4011b000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x402a5000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x402b0000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x402f3000)
        libMrm.so.2 => /usr/X11R6/lib/libMrm.so.2 (0x4038a000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x403a6000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x403ae000)
        libXp.so.6 => /usr/X11R6/lib/libXp.so.6 (0x403c3000)
        libm.so.6 => /lib/libm.so.6 (0x403ca000)
        libstdc++.so.2.8 => /usr/lib/libstdc++.so.2.8 (0x403e3000)
        libdl.so.2 => /lib/libdl.so.2 (0x40424000)
        libc.so.6 => /lib/libc.so.6 (0x40427000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

So libXm is indeed linked before libXt. Are there any othe catches
with the above libraries? The main difference between other systems
amd linux wrt to motif is that only linux has motif 2.1 installed. All
the others have motif 1.2. Anybody knows what libXp contains?

Thanks in advance,
Richard.

--
|-------------------------------------------------------------|
| Richard Cognot           | Proceed, with fingers crossed... |
|                          |           /\^^/\                 |

|-------------------------------------------------------------|
| http://www.ensg.u-nancy.fr/~cognot                          |
|-------------------------------------------------------------|

 
 
 

1. X windows: xterm gives "couldn't find per display info"

Trying to start an X Window to my NT box running Reflection with the
following command from a telnet session :

xterm -display <pc's IP>:0

I got the error messages:

Can't open display
Error: couldn't find per display info

The telnet session itself is indeed an X-application emulating the VT100
(or VT240?) terminal, anyway, dumb 24 by 80 chars, put and paste with
mouse device not supported.

The unix box is running HP-UX, uh ... I think version 10. The IP address
is not in /etc/hosts but I am not the root user and if possible I dont
want to bother the admin. Does any one know the reason for the error or
better yet the fix?

Thanks!

2. Suse Lilo problem

3. STARTX: "No Screens Found"/"Can't find Display"

4. What means "find: cannot stat /java1.3" ?

5. sshd reports ``couldn't find display information''

6. problems making pgp

7. Couldn't display "symbol" in netscape.

8. RedHat 7.0 and SCSI Problem

9. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""

10. GETSERVBYNAME()????????????????????"""""""""""""

11. Error when starting X: "couldn't open default font 'fixed'"

12. Please Help: "Couldn't Get a Free Page" Problem!!!

13. HELP, I couldn't even "make termtest" on SunOS 4.1.3