You would think installing via yum would handle dependencies, but perhaps fonts are not managed like dependencies..... Anyway, I installed tightvnc to test out its IPv6 support. Installed ok (after I erased regular vnc). But when I tried to start it, I got 5 warnings about: Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring (then the same message for Speedo, Type1, 75dpi, and 100dpi). Then a fatel server error about: could not open default fount 'fixed' So I looked in the repos (curtesy of yumex) and did find a few 75dpi a 100dpi fonts, but there seemed to be a lot of these two. I installed a ocuple of them and tried again. Got the same errors. So how do I fix this one?
On Tue, 2008-08-12 at 14:53 -0400, Robert Moskowitz wrote:> You would think installing via yum would handle dependencies, but > perhaps fonts are not managed like dependencies.....Well, they can be, but not unless the packager does so. -- Ignacio Vazquez-Abrams <ivazqueznet at gmail.com> PLEASE don't CC me; I'm already subscribed -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20080812/2780d709/attachment-0005.sig>
Ignacio Vazquez-Abrams wrote:> On Tue, 2008-08-12 at 14:53 -0400, Robert Moskowitz wrote: > >> You would think installing via yum would handle dependencies, but >> perhaps fonts are not managed like dependencies..... >> > > Well, they can be, but not unless the packager does so.The challenge now is what to install to get them.....
On Tue, Aug 12, 2008 at 14:53, Robert Moskowitz <rgm at htt-consult.com> wrote:> Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring (then > the same message for Speedo, Type1, 75dpi, and 100dpi). > Then a fatel server error about: could not open default fount 'fixed'>From the path, I'm assuming you are using CentOS 4, since on CentOS 5the fonts are located under /usr/share/X11/fonts instead. On an installation of CentOS 4 I have, all the files under that directory belong to the "fonts-xorg-base" package, so you might try starting with that one. Looking at fonts.alias inside misc, I believe the name "fixed" is going to be aliased to a font in that directory, so this should fix your problem. If that still does not fix your problem, then try installing "fonts-xorg-100dpi" and "fonts-xorg-75dpi" as well. HTH, Filipe
Filipe Brandenburger wrote:> On Tue, Aug 12, 2008 at 14:53, Robert Moskowitz <rgm at htt-consult.com> wrote: > >> Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring (then >> the same message for Speedo, Type1, 75dpi, and 100dpi). >> Then a fatel server error about: could not open default fount 'fixed' >> > > >From the path, I'm assuming you are using CentOS 4, since on CentOS 5 > the fonts are located under /usr/share/X11/fonts instead. >No. This is Centos 5! So perhaps there is an issue with tightVNC????> On an installation of CentOS 4 I have, all the files under that > directory belong to the "fonts-xorg-base" package, so you might try > starting with that one. Looking at fonts.alias inside misc, I believe > the name "fixed" is going to be aliased to a font in that directory, > so this should fix your problem. > > If that still does not fix your problem, then try installing > "fonts-xorg-100dpi" and "fonts-xorg-75dpi" as well.For Centos 5, there are a number of fonts-xorg-100dpi, a '14' a '15' and I don't recall what else I found with the help of yumex.
Robert Moskowitz wrote:> You would think installing via yum would handle dependencies, but > perhaps fonts are not managed like dependencies..... > > Anyway, I installed tightvnc to test out its IPv6 support. > > Installed ok (after I erased regular vnc). But when I tried to start > it, I got 5 warnings about: > > Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring > (then the same message for Speedo, Type1, 75dpi, and 100dpi). > > Then a fatel server error about: could not open default fount 'fixed' > > So I looked in the repos (curtesy of yumex) and did find a few 75dpi a > 100dpi fonts, but there seemed to be a lot of these two. I installed a > ocuple of them and tried again. Got the same errors. > > So how do I fix this one? > >Perhaps vnc can't talk to the xfs daemon - IPv6 or firewall related? -- Toby Bluhm Alltech Medical Systems America, Inc.
Toby Bluhm wrote:> Robert Moskowitz wrote: >> You would think installing via yum would handle dependencies, but >> perhaps fonts are not managed like dependencies..... >> >> Anyway, I installed tightvnc to test out its IPv6 support. >> >> Installed ok (after I erased regular vnc). But when I tried to start >> it, I got 5 warnings about: >> >> Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring >> (then the same message for Speedo, Type1, 75dpi, and 100dpi). >> >> Then a fatel server error about: could not open default fount 'fixed' >> >> So I looked in the repos (curtesy of yumex) and did find a few 75dpi >> a 100dpi fonts, but there seemed to be a lot of these two. I >> installed a ocuple of them and tried again. Got the same errors. >> >> So how do I fix this one? >> >> > > > Perhaps vnc can't talk to the xfs daemon - IPv6 or firewall related?Perhaps. What ports does xfs use? Why does it work for vncserver (on IPv4 only of course)? But I stopped both iptables and ip6tables and the same error messages. And installing OpenOffice did not 'fix' things. Perhaps setting symlinks may be needed.
Getting back to this. Progress. Fonts 'fixed', but... Rob Lockhart wrote:> On Wed, Aug 13, 2008 at 12:14 PM, Toby Bluhm <tkb at midwestinstruments.com> wrote: > >> Robert Moskowitz wrote: >> >>> Toby Bluhm wrote: >>> >>>> Robert Moskowitz wrote: >>>> >>>>> You would think installing via yum would handle dependencies, but >>>>> perhaps fonts are not managed like dependencies..... >>>>> >>>>> Anyway, I installed tightvnc to test out its IPv6 support. >>>>> >>>>> Installed ok (after I erased regular vnc). But when I tried to start it, >>>>> I got 5 warnings about: >>>>> >>>>> Font directory '/usr/X11R6/lib/X11/fonts/misc' not found - ignoring >>>>> (then the same message for Speedo, Type1, 75dpi, and 100dpi). >>>>> >>>>> Then a fatel server error about: could not open default fount 'fixed' >>>>> >>>>> So I looked in the repos (curtesy of yumex) and did find a few 75dpi a >>>>> 100dpi fonts, but there seemed to be a lot of these two. I installed a >>>>> ocuple of them and tried again. Got the same errors. >>>>> >>>>> So how do I fix this one? >>>>> >>>>> >>> But I stopped both iptables and ip6tables and the same error messages. >>> >>> And installing OpenOffice did not 'fix' things. Perhaps setting symlinks >>> may be needed. >>> >>> >>> >> I remember playing games with Matlab to get it to find it's own fonts. I >> think it went something like: >> >> mkdir <fontdir> >> cp fonts* <fontdir> >> mkfontdir <fontdir> >> Add <fontdir> to /etc/X11/fs/config >> >> Like you say, maybe just a link to /usr/share/X11/fonts/misc would do the >> trick. >> >> Perhaps a vnc/X startup script somewhere is hardcoded? >> > > Robert, I noticed the same thing, so what I did is the following: > > cd /usr/X11R6/; mkdir lib; cd lib; ln -s /usr/share/X11 . > > Now try it. Seems like the repository from which I got TightVNC has > issues in directory compatibility.... but at least I got it working. > > I didn't have a misc fonts directory, and my $HOME/.vnc/xtartup has: > #!/bin/sh > > # Red Hat Linux VNC session startup script > exec /etc/X11/xinit/xinitrc > > If that still doesn't work, I'll post the /etc/init.d/vncserver script > that works for me (possibly from an older install of tightvnc - 1.2.9 > I believe). >Now I get: vncserver: The USER environment variable is not set.> If there's a more elegant solution, someone please let us know! :-)