Hi,<br><br>the xclearcase bug is based on how /etc/X11/Xressources is sourced. NX handles Xressources as a directory (maybe this is default by mosts Linux distributions, in Ubuntu it is). But Centos / RedHatEnterprise uses a file as Xressources which is needed for xclearcase. For this you have to patch you nxnode (/usr/bin/nxnode)<br>
<br>--- freenx-0.7.4.orig/nxnode    2009-02-25 16:17:28.000000000 +0100<br>+++ freenx-0.7.4/nxnode 2008-10-22 13:29:54.236040000 +0200<br>@@ -331,6 +331,8 @@<br>        echo "Xft.dpi: 96" | DISPLAY=:$display xrdb -merge >>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1<br>
        [ -d /etc/X11/Xresources ] && xrdb -display :$display -merge /etc/X11/Xresources/* >>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1<br><br>+       [ -f /etc/X11/Xresources ] && xrdb -display :$display -merge /etc/X11/Xresources >>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1<br>
+<br>        #<br>        # Startup the application<br>        #<br><br>Hopefully I have time to release my freenx packages for Centos / RHEL next week where this is one of the bugs fixed.<br><br>Cheers,<br>Florian<br><br>
<div class="gmail_quote">2009/6/12 Camilo Mesias <span dir="ltr"><<a href="mailto:camilo@mesias.co.uk">camilo@mesias.co.uk</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi<br>
<br>
I've consulted the knowledge base but not found a solution.<br>
<br>
I have a legacy app that runs fine over VNC yet doesn't when using FreeNX.<br>
<br>
The server is CentOs and the client is Windows.<br>
<br>
The error message when the app doesn't run is:<br>
<br>
 Error: Unable to create a text drawing font set.<br>
<br>
I have used xtrace to see what requests go to and from the X-server<br>
when the app starts and there seems to be a problem when the client is<br>
requesting font information. Over VNC I see this:<br>
<br>
000:<:046b: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:046b:96: Reply to ListFonts:  names={<br>
s='-misc-fixed-medium-r-semicondensed--0-0-75-75-c-60-iso8859-1'};<br>
000:<:046c: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:046c:96: Reply to ListFonts:  names={<br>
s='-misc-fixed-medium-r-semicondensed--0-0-75-75-c-60-iso8859-1'};<br>
000:<:046d: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:046d:96: Reply to ListFonts:  names={<br>
s='-misc-fixed-medium-r-semicondensed--0-0-75-75-c-60-iso8859-1'};<br>
000:<:046e: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:046e:96: Reply to ListFonts:  names={<br>
s='-misc-fixed-medium-r-semicondensed--0-0-75-75-c-60-iso8859-1'};<br>
000:<:046f: 68: Request(50): ListFontsWithInfo max-names=0x0064<br>
pattern='-misc-fixed-medium-r-semicondensed--0-0-75-75-c-60-iso8859-1'<br>
000:>:046f:296: Reply to ListFontsWithInfo:<br>
min-bounds={left-side-bearing=0 right-side-bearing=0 character-width=6<br>
ascent=-1 descent=-10 attributes=0x0000};<br>
max-bounds={left-side-bearing=2 right-side-bearing=<br>
[further output snipped]<br>
<br>
There are lots of ListFonts requests that generally are replied with a<br>
found name, followed by some ListFontsWithInfo that are replied with<br>
details.<br>
<br>
On FreeNX I get this:<br>
<br>
000:<:03ae: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:03ae:32: Reply to ListFonts:  names=;<br>
000:<:03af: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:03af:32: Reply to ListFonts:  names=;<br>
000:<:03b0: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:03b0:32: Reply to ListFonts:  names=;<br>
000:<:03b1: 44: Request(49): ListFonts max-names=0x0001<br>
pattern='-*-*-*-*-*-*-0-*-*-*-*-0-ISO8859-1'<br>
000:>:03b1:32: Reply to ListFonts:  names=;<br>
000:<:03b2: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:03b2:32: Reply to ListFonts:  names=;<br>
000:<:03b3: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:03b3:32: Reply to ListFonts:  names=;<br>
000:<:03b4: 68: Request(49): ListFonts max-names=0x0001<br>
pattern='-Misc-Fixed-Medium-R-SemiCondensed--0-0-75-75-C-60-ISO8859-1'<br>
000:>:03b4:32: Reply to ListFonts:  names=;<br>
000:<:03b5: 44: Request(49): ListFonts max-names=0x0001<br>
pattern='-*-*-*-*-*-*-0-*-*-*-*-0-ISO8859-1'<br>
000:>:03b5:32: Reply to ListFonts:  names=;<br>
[further output snipped]<br>
<br>
In other words, the client is asking for fonts and the response is<br>
always nothing. It doesn't get as far as asking for ListFontsWithInfo.<br>
<br>
Other legacy apps work since I installed the legacy fonts in Windows<br>
as described here:<br>
<br>
<a href="http://www.nomachine.com/download-client-windows.php" target="_blank">http://www.nomachine.com/download-client-windows.php</a><br>
<br>
but this app refuses to work. I notice that the requests made are for<br>
uppercased query strings (eg. Misc) whereas responses come as lower<br>
case (eg. misc).<br>
<br>
I'm not sure how to proceed to get the legacy app to work, but it's<br>
mainstream for my user base, so people will continue to use VNC while<br>
FreeNX can't work with the app :( Has anyone got any ideas to work<br>
around or fix the problem?<br>
<br>
Thanks in advance,<br>
<br>
-Cam<br>
________________________________________________________________<br>
     Were you helped on this list with your FreeNX problem?<br>
    Then please write up the solution in the FreeNX Wiki/FAQ:<br>
<br>
<a href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ" target="_blank">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a><br>
<br>
         Don't forget to check the NX Knowledge Base:<br>
                 <a href="http://www.nomachine.com/kb/" target="_blank">http://www.nomachine.com/kb/</a><br>
<br>
________________________________________________________________<br>
       FreeNX-kNX mailing list --- <a href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a><br>
      <a href="https://mail.kde.org/mailman/listinfo/freenx-knx" target="_blank">https://mail.kde.org/mailman/listinfo/freenx-knx</a><br>
________________________________________________________________<br>
</blockquote></div><br>