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 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@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.
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@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.
On Tue, Aug 12, 2008 at 22:42, Robert Moskowitz rgm@htt-consult.com wrote:
No. This is Centos 5! So perhaps there is an issue with tightVNC????
Yes, you may try to create symbolic links to have the fonts on the other path. I'm not an expert on X11 here, but I don't think applications would have font paths hardcoded. It might be worth the try though. Where did you install TightVNC from? RPMforge/DAG has an RPM for it (version 1.3.9-3.el5.rf for CentOS 5).
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.
I only have xorg-x11-fonts-ISO8859-1-100dpi and xorg-x11-fonts-ISO8859-1-75dpi installed here, and I never had problems with fonts.
ISO8859-1 is a character set also known as Latin-1, it has fonts for most western alphabets.
ISO8859-14 and ISO8859-15 are character sets with special characters for (I believe) easter European countries. I believe one of those is the same as Latin-1 but with an extra Euro sign, for example. I don't think you need those, at least not to run TightVNC. Your problem is probably not there.
HTH, Filipe
Filipe Brandenburger wrote:
On Tue, Aug 12, 2008 at 22:42, Robert Moskowitz rgm@htt-consult.com wrote:
No. This is Centos 5! So perhaps there is an issue with tightVNC????
Yes, you may try to create symbolic links to have the fonts on the other path.
Just great. Now I get to figure this out... :('
I'm not an expert on X11 here, but I don't think applications would have font paths hardcoded. It might be worth the try though.
So where is the font paths coming from messed up? I note that I do not have OpenOffice installed on this system. Perhaps that might make a difference....
Where did you install TightVNC from? RPMforge/DAG has an RPM for it (version 1.3.9-3.el5.rf for CentOS 5).
Yes. That is what I have and where I got it.
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.
I only have xorg-x11-fonts-ISO8859-1-100dpi and xorg-x11-fonts-ISO8859-1-75dpi installed here, and I never had problems with fonts.
ISO8859-1 is a character set also known as Latin-1, it has fonts for most western alphabets.
ISO8859-14 and ISO8859-15 are character sets with special characters for (I believe) easter European countries. I believe one of those is the same as Latin-1 but with an extra Euro sign, for example. I don't think you need those, at least not to run TightVNC. Your problem is probably not there.
I have all of these :)
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 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.
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?
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)?
7100 I think . . .
grep xfs /etc/services xfs 7100/tcp # X font server
. . yes
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?
On Wed, Aug 13, 2008 at 12:14 PM, Toby Bluhm tkb@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).
If there's a more elegant solution, someone please let us know! :-)
-Rob
Getting back to this. Progress. Fonts 'fixed', but...
Rob Lockhart wrote:
On Wed, Aug 13, 2008 at 12:14 PM, Toby Bluhm tkb@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! :-)
Hi,
On Mon, Aug 18, 2008 at 16:42, Robert Moskowitz rgm@htt-consult.com wrote:
vncserver: The USER environment variable is not set.
So, is it set or not?
It's usually set by /etc/profile, so if it's not set, that might indicate you have an issue with your setup.
HTH, Filipe
On Mon, Aug 18, 2008 at 6:37 PM, Filipe Brandenburger filbranden@gmail.com wrote:
Hi,
On Mon, Aug 18, 2008 at 16:42, Robert Moskowitz rgm@htt-consult.com wrote:
vncserver: The USER environment variable is not set.
So, is it set or not?
It's usually set by /etc/profile, so if it's not set, that might indicate you have an issue with your setup.
Indeed, looking at my /etc/profile I see the following:
if [ -x /usr/bin/id ]; then USER="`id -un`" LOGNAME=$USER MAIL="/var/spool/mail/$USER" fi
Is there anything else needed to help Robert debug this? I have this working on CentOS 5.2 and "Xvnc -version" shows: Xvnc version TightVNC-1.3.9