I ran into a weird font problem when I was running one particular Solaris client (CorporateTime), displaying onto the vnc server. I found the solution to the problem, so I'd like to share it here:
> >From: jensen (Freddy Jensen) > >Date: Wed Jun 26 2002 1:01pm > >Subj: Font problem with VNC + Redhat 7.x + CorporateTime > > > >I have discovered something weird: > > > >When I run the VNC Xserver on my Redhat 6.2 Linux machine > >and launch CorporateTime on my solaris machine (setting > >the DISPLAY to the VNC Xserver), then everything is fine. > > > >But if I start the VNC Xserver on a Redhat 7.x box, then > >all the menu fonts in CorporateTime become dotted squares. > > > >No other application seems to exhibit this behavior. > > > >Obviously there is a font missing somewhere. > > > >The strange thing is that if I start the normal Xserver > >on my Redhat 7.x machine, and launch CorporateTime from > >my solaris machine (with the DISPLAY set to the Redhat 7.x > >Xserver), then the fonts come out fine in the menus of > >CorporateTime. > > > >I think the conclusion is that the VNC Xserver fails to > >include a font directory in its font path that the normal > >Redhat 7.x Xserver *does* include. > > > >The mystery is solved now. > >I used 'xset -q' for both the native Xserver and for the >vnc Xserver. The default font path was set differently. > >It turns out that in Redhat 7.x, the Xserver uses the >X font server to get fonts, so the font path is "unix/:7100". > >The vnc server did not know about that and used instead the >default Linux paths: /usr/X11R6/lib/X11/fonts/.... etc. > >Apparently, the particular font that CorporateTime needed >was available on "unix/:7100" but not in the other regular >font directories. > >The fix to this problem is to prepend "unix/:7100" to the >font path when running the vnc server on Redhat 7.x. > >Freddy -- Freddy Jensen, Sr. Computer Scientist, Adobe Systems Incorporated 345 Park Avenue, San Jose, CA 95110-2704, USA, Ph: (408) 536-2869 Email: [EMAIL PROTECTED], URL: http://www.adobe.com -- _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
