Problem with Xdialog/Firefox and different Xorg versions
gwright at cendio.se
Tue Sep 9 02:50:51 PDT 2008
I have a rather strange problem that's been bothering me for a while.
Basically, I'm working on the TightVNC 1.5-xserver branch, which has Xvnc
rebased to Xorg 7.4RC rather than 6.x, and everything seems just fine.
As part of the thinclient "package", we're using Xdialog extensively for
choosing sessions etc. The whole build process is done on a very old
buildserver (Red Hat 7.3, with upgraded gcc and autotools and a few other
things) and the Xorg 7.4 dependencies for compiling the xorg-xserver are done
on the spot just prior to compiling xorg-xserver (and thus Xvnc).
Everything just works fine on most modern platforms, but trying to run the
thinclient server on Fedora Core 6 results in Xdialog not showing fonts at
all. Trying to launch Xdialog manually inside Xvnc results in a very
unhelpful error message "Floating point exception".
The Xdialog binary works fine though if I run it on the shipped X server that
came with FC6, and it also works fine on more modern distros in the Xvnc
server I have (Ubuntu 8.04 and Fedora 9 are both working as expected).
It also works fine if I statically link Xdialog to the X11 libraries and run
it inside Xvnc on FC6, but this is not a preferred solution.
On a possibly unrelated note, Firefox also has trouble executing on FC6 inside
my Xvnc server. Trying to run firefox-bin directly results in:
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadName (named color or font does not exist)'.
(Details: serial 569 error_code 15 request_code 45 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Again, this firefox-bin works fine if launched in the shipped X server.
Strangely enough, it also works fine if launched via strace inside Xvnc.
Any suggestions or pointers in the right direction would be much appreciated!
George Wright, http://www.gwright.org.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 189 bytes
Desc: This is a digitally signed message part.
More information about the xorg