From: dwex@cbnewsj.cb.att.com (david.e.wexelblat)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Should XFree86 work with fs ?
Date: 13 Jan 93 01:32:07 GMT
Distribution: fj
Organization: AT&T

Date: Tue, 12 Jan 1993 19:57:26 GMT
Message-Id: <1993Jan12.195726.7029@cbnewsj.cb.att.com>
Newsgroups: comp.windows.x.i386unix,comp.windows.x,comp.unix.sysv386

In article <C0ponn.EGC@compound.se> smith@compound.se (Bjorn Smith) writes:
> We are having problems getting XFree86 working with the font server
> supplied in the X11R5 source. The command fsinfo -server comsys:7000
> gives the following output (wich appears to be ok):
> 
>   name of server:	comsys:7000
>   version number:	2
>   vendor string:	MIT X Consortium
>   vendor release number:	5001
>   maximum request size:	16384 longwords (65536 bytes)
>   number of catalogues:	1
> 	  all
>   Number of alternate servers: 0
>   number of extensions:	0
> 
> The command fslsfonts lists all the expected fonts as well.
> 
> The servers Xconfig file contains:
> 
>   #
>   # some nice paths, to avoid conflicts with other X-servers
>   #
>   #FontPath	"/usr/X386/lib/X11/fonts/misc/"
>   FontPath	"/usr/X386/lib/X11/fonts/misc/,:comsys:7000"
> 
> When starting the X386 server I get the following message:
> 
>   XFree86 Version 1.1 / X Window System
>   (protocol Version 11, revision 0, vendor release 5000)
>   Configured drivers:
>     VGA256 (256 colour SVGA):
>         et4000, et3000, pvga1, gvga, ati, tvga8900
>   (using VT number 1)
>   VGA256: et4000 (mem: 1024k numclocks: 16)
>   VGA256:   clocks: 25 28 61 72 79 69 50 64 13 14 36  0 40 26  0 33
>   VGA256: SpeedUp mode selected (Flags=0x3f)
>   failed to set default font path '/usr/X386/lib/X11/fonts/misc/,:comsys:7000'
>   Fatal server error:
>   could not open default font 'fixed'
>   giving up.
>   xinit:  Software caused connection abort (errno 130):  unable to connect to X server
>   xinit:  No such process (errno 3):  Server error.
> 
> Removing the font server item in Xconfig makes the X386 start properly !
> What could possibly be wrong ?
> 
> Thanks in advance for any kind of help,
> --
> Bj|rn Smith	Compound Systems, phone +46 8 7923689
> UUCP:	 	{uunet,mcsun}!seunet!comsys!smith
> Domain Address:	smith@compound.se
> -- 
> Bj|rn Smith	Compound Systems, phone +46 8 7923689
> UUCP:	 	{uunet,mcsun}!seunet!comsys!smith
> Domain Address:	smith@compound.se


Well, it's a bug, but not what you think.  The X386 manual page has the wrong
syntax for specifying the font server (fixed in the next release).

Change your FontPath line to:

	FontPath	"/usr/X386/lib/X11/fonts/misc/,tcp/comsys:7000"

and everything should be fine.

For whatever reason I don't understand, the X server will die if ANY
piece of the font path is invalid.  Sigh.  This is in the MIT code
that we haven't touched.  We are looking into remedying this fact, but
haven't tracked down a good solution yet.  XFree86 1.2 will do a lot
of font path validation during parsing of the Xconfig file, but it
can't do much with font servers at that point.

--
David Wexelblat <dwex@mtgzfs3.att.com>  (908) 957-5871
AT&T Bell Laboratories, 200 Laurel Ave - 3F-428, Middletown, NJ  07748

"The meaning of life?  That's simple.  Try to be happy, try not to hurt
 other people, and hope to fall in love."  -- Mallory Keaton