nanogui: Problem about running X appltcaions with NXLIB
Subject:
Problem about running X appltcaions with NXLIB
From:
TBri ####@####.####
Date:
14 May 2004 20:20:58 +0100
Message-Id: <200405141920.i4EJKlLe027808@mail.csie.nctu.edu.tw>
Hello,
I\'m trying to run X applications on the Nano-X server by
NXLIB (the microwindows and NXLIB sources are the latest from cvs)
But I just can\'t let it run successfully. It always complains
\"nxFlushReq: write failed: Bad file descriptor.\" No matter if
the Nano-X Server is running, the same message appears.
After some tracing job, I found out that the X applications
don\'t call the XOpenDisplay() in NXLIB. The X applications often
calls XtOpenApplication() in Xt library, but it seems to have
some checking routines in the Xt functions, so it won\'t call
XOpenDisplay maybe just because it can\'t find the real X server,
What is more interesting is: If I run the original X server and
run the X application with the nxlib-replaced libX11, the \"Bad
file descriptor\" message don\'t appear again. But of course it
still can\'t display the application successfully, and it keeps
retrying instead.
I think the problem is in the Xt functions, but I don\'t really
know how to solve it. Does anyone have any idea?
The X applcations I try to run are xterm and xclock.
Thanks!!
Brian