#549 Bogus XKEYSYMDB makes Motif interoperable

release
closed-fixed
Program (402)
9
2006-10-29
2006-09-25
Thorsten Haude
No

The linux prebuild does not run on SLES 9.3. NEdit
spills out a bunch of error messages and does not
accept input after the window comes up.

user@host:~/bin> nedit -V
UTF8 locale not supported.
NEdit 5.5
Sep 30, 2004

Built on: Linux, 386, GNU C
Built at: Oct 1 2004, 15:55:40
With Motif: 2.1.30 [@(#)Motif Version 2.1.30]
Running Motif: 2.1 [unknown]
Server: The XFree86 Project, Inc 40399902
Visual: 16-bit TrueColor (ID 0x22, Default)
Locale: en_US.UTF-8

Discussion

1 2 > >> (Page 1 of 2)
  • Thorsten Haude
    Thorsten Haude
    2006-09-25

    Error log

     
    Attachments
  • Thorsten Haude
    Thorsten Haude
    2006-09-25

    Logged In: YES
    user_id=119143

    Workaround: XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB nedit

     
  • Thorsten Haude
    Thorsten Haude
    2006-09-25

    Logged In: YES
    user_id=119143

    Scratch that workaround, installing the file solved the
    problem. Why SuSE thinks I need a server package to run
    clients is beyond me though.

    So is NEdit supposed to run without XKeysymDB?

     
  • Scott Tringali
    Scott Tringali
    2006-09-27

    Logged In: YES
    user_id=11321

    Run this on the system in question:

    strings /usr/X11R6/lib/libX11.so | grep XKeysymDB

    (or wherever libX11.so is)

    You should get something like this:
    /usr/lib/X11/XKeysymDB

    If that file doesn't exist on your client system (where
    nedit runs, not the X server), then that X installation is
    broken.

    > So is NEdit supposed to run without XKeysymDB?

    No. It's part of X that Motif depends on.

     
  • Thorsten Haude
    Thorsten Haude
    2006-09-27

    • status: open --> closed-invalid
     
  • Thorsten Haude
    Thorsten Haude
    2006-09-27

    Logged In: YES
    user_id=119143

    Ok, I'll file a bug report with the supplier. Do you happen
    to know an official document to rub their noses in?

     
  • Scott Tringali
    Scott Tringali
    2006-09-28

    Logged In: YES
    user_id=11321

    No document, just the X source code.

    I suspect either they're setting XKEYSYMDB to something that
    doesn't exist, which is wrong; or, they are compiling the
    default file location to something that doesn't exist, which
    is equally wrong.

    Still, we could probably code up a workaround, and, I'm not
    opposed to that if it makes user's life easier. If the bug
    is the former; look at XKEYSYMDB and if it doesn't exist,
    zero it out.

    If it's the latter, then it's a bit harder.

    I reopened it just in case we want code a workaround. Close
    if you disagree, but this seems simple enough to fix.

     
  • Scott Tringali
    Scott Tringali
    2006-09-28

    • status: closed-invalid --> open
     
  • Thorsten Haude
    Thorsten Haude
    2006-09-29

    Logged In: YES
    user_id=119143

    scott@develop:
    [No, I agree, even if I don't have an idea how to tackle this.]

    Pretty easy. Early on, before initializing any X stuff, if
    XKEYSYMDB is defined and the file doesn't exist, zero it
    out. I assume it would go along with all the other
    workarounds for broken systems (i.e., resource patching).

     
  • Scott Tringali
    Scott Tringali
    2006-09-30

    • milestone: --> release
    • labels: 355503 --> Program
    • priority: 5 --> 6
    • assigned_to: nobody --> tringali
    • summary: Linux Prebuild does not run --> Bogus XKEYSYMDB makes Motif interoperable
    • status: open --> open-accepted
     
1 2 > >> (Page 1 of 2)