Xvfb on AIX: problem establishing connection
Irek Szczesniak
ijs at txcorp.com
Thu May 5 09:00:39 PDT 2005
I am trying to run Xvfb (X.org v. 6.8.2) on AIX 5.2. I need to use
X.org and cannot use the native AIX X server with the framebuffer enabled.
The compilation went almost with no glitches: I had to fix one problem
only. I am impressed with the quality of the X.org, because most of
the time you have to work hard to make something compile on AIX.
Everything was compiled with native AIX tools.
When running Xvfb a problem was that Xvfb would hang. However,
changing one line in the code fixed the problem.
Now that I compiled Xvfb and I am able to run it, I have another
problem. I cannot connect to Xvfb.
I run Xvfb:
> /scratch/scratchdirs/ijs/xc/programs/Xserver >./Xvfb :100 -fp
/scratch/scratchdirs/ijs/xc/fonts/bdf/misc/ -ac
> _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will
not be created.
> _XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed,
errno = 2
> _XSERVTransMakeAllCOTSServerListeners: failed to create listener
for local
> error opening security policy file
/usr/X11R6/lib/X11/xserver/SecurityPolicy
Then I run:
> ~ >export DISPLAY=:100
> ~ >xterm
> xterm Xt error: Can't open display: :100
> ~ >
The xterm used above is the AIX xterm, it's not of X.org. xterm used
the AIX libraries:
> ~ >ldd /usr/bin/X11/xterm
> /usr/bin/X11/xterm needs:
> /usr/lib/libc.a(shr.o)
> /usr/lib/libXt.a(shr4.o)
> /usr/lib/libX11.a(shr4.o)
> /usr/lib/libXext.a(shr.o)
> /usr/lib/libcurses.a(shr.o)
> /unix
> /usr/lib/libcrypt.a(shr.o)
> /usr/lib/libSM.a(shr.o)
> /usr/lib/libICE.a(shr.o)
> /usr/lib/libXi.a(shr.o)
> /usr/lib/libpthreads.a(shr_xpg5.o)
> /usr/lib/libiconv.a(shr4.o)
> /usr/lib/libIM.a(shr.o)
> /usr/lib/libgaimisc.a(shr.o)
> /usr/lib/libgair4.a(shr.o)
> /usr/lib/libpthreads.a(shr_comm.o)
> /usr/lib/libodm.a(shr.o)
As you see the connection cannot be established. I have no knowledge
on translating DISPLAY into some communication channel between Xlib
and an X server.
I would appreciate if someone could advise me what I should do or
point me to the documentation which describes the way Xlib connects to
an X server.
Thanks for reading.
Best,
Irek
More information about the xorg
mailing list