On Thu, Sep 05, 2002 at 09:35:37PM +0200, Ole Sebastian Stein wrote:
> <[EMAIL PROTECTED]> writes:
> 
> > Try this on the server:
> > 
> >    netstat -anp | grep ":7100 "
> 
> (Not all processes could be identified, non-owned process info
>  will not be shown, you would have to be root to see it all.)
> tcp        0      0 0.0.0.0:7100            0.0.0.0:*               LISTEN      -    
> 
> > If it doesn't return anything, then your font server isn't
> > configured properly.

I have a working xfs on Debian Woody, and if I run
netstat -anp | grep ":7100 " as a normal user, I get the same output
as above.

However when run as root, which I think is the way to do it, then the
output is:

tcp        0      0 0.0.0.0:7100            0.0.0.0:* LISTEN 353/xfs

So, try it again, as root this time.

> > I don't know how it is configured on Debian, but on redhat, it is in
> > the /etc/X11/fs/config file, there is a line in there that controls
> > whether it will listen to remote requests.

It's the same in Debian.

> My /etc/X11/fs/config
> 
> # font server configuration file
> # $Xorg: config.cpp,v 1.3 2000/08/17 19:54:19 cpqbld Exp $
> 
> # allow a maximum of 10 clients to connect to this font server
> client-limit = 10
> # when a font server reaches its limit, start up a new one
> clone-self = on
> # log messages to /var/log/xfs.log (if syslog is not used)
> error-file = /var/log/xfs.log
> # log errors using syslog
> use-syslog = on
> # turn off TCP port listening (Unix domain connections are still permitted)
> #no-listen = tcp

> # paths to search for fonts
> catalogue = 
>/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/cyrillic/,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1/,/usr/lib/X11/fonts/CID,/usr/lib/X11/fonts/Speedo/,/usr/lib/X11/fonts/100dpi/,/usr/lib/X11/fonts/75dpi/
> # in decipoints
> default-point-size = 120
> # x1,y1,x2,y2,...
> default-resolutions = 100,100,75,75
> 
> # font cache control, specified in kB
> cache-hi-mark = 2048
> cache-low-mark = 1433
> cache-balance = 70

Your /etc/X11/fs/config is pratically identicall to mine.

> > On Mandrake, it is controlled in the init script that starts
> > xfs.

That would be very unlike the Debian way. /etc/init.d/xfs is only for
start, stop or reload settings.

> Did not seem like there were any things to confifure in /etc/init.d/xfs
> 
> Still, it doesnt work (since I havent done anything new) :(

You have restarted the daemon since you uncommented the

no-listen = tcp 

line, have you?

-- 

Hans Ekbrand

Attachment: msg07876/pgp00000.pgp
Description: PGP signature

Reply via email to