[NTLUG:Discuss] X Problem - Newbie
Kyle_Davenport@compusa.com
Kyle_Davenport at compusa.com
Mon Aug 7 09:20:46 CDT 2000
Font configuration changed in RH 6.2. The font path and other options go into
/etc/X11/fs/config.
xfs is started with unix port = -1 now to prevent tcp connections to the font
server (a security decision by RedHat).
What must be happening is that xfs is unable to start. Try running it from the
command line:
/etc/rc.d/init.d/xfs start
or if that doesn't tell you what's wrong,
bash -x /etc/rc.d/init.d/xfs start
If it starts just fine, check that there is a link to xfs in the rc directory
for your runlevel, eg,
> su -
> runlevel
N 5
> ls -l /etc/rc.d/rc5.d/xfs
Kevin Brannen <kbrannen at gte.net> on 08/06/2000 10:19:10 PM
Please respond to discuss at ntlug.org
To: discuss at ntlug.org
cc: (bcc: Kyle Davenport/Is/Corporate/CompUSA)
Subject: Re: [NTLUG:Discuss] X Problem - Newbie
"James L. Skidmore" wrote:
>
> Jeff,
>
> There are some files that are created in /tmp/ (I don't remember what
> they are called, but should be fairly obvious) that you need to get rid
> of to fix the problem.
That's possible; look for files that deal with the X Font Server. But I
really don't know if this is the problem. If you normally run with the XFS,
then it probably is; if you don't, then read on...
>
> On Sun, 6 Aug 2000, Jeff Demel wrote:
>
...
> >
> > Here's the error I got:
> >
> > _FontTransSocketUNIXConnect: Can't connect: errno = 111
> > Failed to set default font path 'unix/:-1'
> > Fatal Server Error:
> > Couldn't open defualt font 'fixed'
That fontpath is telling it to use the "unix" transport for fonts (the man
page shows "tcp" for this), and if not found, check the "" machine for an XFS
on port "-1" (see the man page for "XF86Config"). That looks like a pretty
bogus value to me, unless it is some default value that has special meaning
(which is not in the man page).
My file has this in it:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/X11R6/lib/X11/fonts/URW"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
EndSection
Yours may differ, as you many not have loaded the same font RPMs as I did.
Also, I'm not running an XFS. I could also have put all these on a single
line, like:
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath
"/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/100dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,
... ,/usr/X11R6/lib/X11/fonts/100dpi"
EndSection
So I guess the bottom line question that's going to determine what you should
do is: Are you running an XFS? Take the appropriate action based on the
answer to that question.
HTH,
Kevin
More information about the Discuss
mailing list