Hello, Any xfsft gurus out there? If so, I list the steps I did in quick detail. Please take a look. Becuase I am stuck. Especially take note of step 8. I need xfsft, not xfstt by the way, for Star Office. 1) I had earlier installed xfs (xfsft) and mkfontdir from the xfsft tarball to /usr/X11R6/bin . I once again recopied the new xfs file to /usr/X11R6/bin just to make sure. 2) Check to make sure directory /usr/X11R6/lib/X11/fonts /encodings exists. Yes. 3) Permissions of encodings directory drwxr-xr-x 2 root root 1024 May 23 1999 encodings 4) Permissions of contents -rw-r--r-- 1 root root 5840 May 23 1999 README -rw-r--r-- 1 root root 11118 May 5 1999 adobe-dingbats.enc -rw-r--r-- 1 root root 3695 May 5 1999 adobe-standard.enc -rw-r--r-- 1 root root 8328 May 4 1999 adobe-symbol.enc -rw-r--r-- 1 root root 4255 Jan 13 1999 armscii-8.enc -rw-r--r-- 1 root root 5718 Oct 1 1998 ibm-cp437.enc -rw-r--r-- 1 root root 5567 Oct 1 1998 ibm-cp850.enc -rw-r--r-- 1 root root 5866 Oct 1 1998 ibm-cp852.enc -rw-r--r-- 1 root root 5536 Oct 2 1998 ibm-cp866.enc -rw-r--r-- 1 root root 3405 Jan 14 1999 iso8859-11.enc -rw-r--r-- 1 root root 2748 Mar 26 1999 iso8859-13.enc -rw-r--r-- 1 root root 2347 Oct 2 1998 microsoft-cp1250.enc -rw-r--r-- 1 root root 4720 Oct 2 1998 microsoft-cp1251.enc -rw-r--r-- 1 root root 1168 Jan 9 1999 microsoft-cp1252.enc -rw-r--r-- 1 root root 4231 Oct 2 1998 microsoft-cp1253.enc -rw-r--r-- 1 root root 1338 Oct 2 1998 microsoft-cp1254.enc -rw-r--r-- 1 root root 2777 Oct 2 1998 microsoft-cp1255.enc -rw-r--r-- 1 root root 2832 Oct 2 1998 microsoft-cp1256.enc -rw-r--r-- 1 root root 3245 Oct 2 1998 microsoft-cp1257.enc -rw-r--r-- 1 root root 1521 Oct 2 1998 microsoft-cp1258.enc -rw-r--r-- 1 root root 964 May 5 1999 microsoft-win3.1.enc -rw-r--r-- 1 root root 262 Oct 1 1998 mulearabic-0.enc -rw-r--r-- 1 root root 1018 Oct 2 1998 mulearabic-1.enc -rw-r--r-- 1 root root 1078 Oct 1 1998 mulearabic-2.enc -rw-r--r-- 1 root root 2160 Jan 13 1999 mulelao-1.enc -rw-r--r-- 1 root root 4058 Jan 13 1999 tcvn-0.enc -rw-r--r-- 1 root root 2139 Jan 13 1999 viscii1.1-1.enc.Z 5) Put TrueType fons in the directory /usr/X11R6/lib/X11/fonts /TrueType All files in small case. I list the contents at the bottom of this email. 6) fonts.dir and fonts.scale in directory /usr/X11R6/lib/X11/fonts /TrueType -rw-r--r-- 1 root root 12868 Feb 28 14:01 fonts.dir -rw-r--r-- 1 root root 12868 Feb 28 13:54 fonts.scale As a side note, here is how I created the two files: 1. cd /usr/X11R6/lib/X11/fonts/TrueType 2. /usr/local/bin/ttmkfdir > fonts.scale 3. mkfontdir -e /usr/X11R6/lib/X11/fonts/encodings I saw another HOW-TO that used the line ttmkfdir -m 100 -o fonts.scale Any difference? 7) create file /etc/xfs.conf with contents: #- /etc/xfs.conf - clone-self = on client-limit = 10 # the path to your TrueType fonts catalogue = /usr/X11R6/lib/X11/fonts/TrueType # how to log errors use-syslog = off error-file = /var/log/xfsft-errors.log # in decipoints default-point-size = 120 # x, y default-resolutions = 100,100,75,75 8) At this point, lets check out if xfsft works: root@host-name:/usr/home/russian > xfs -port 7101 -config /etc/xfs.conf & [1] 1332 root@host-name:/usr/home/russian > ps ax | grep xfs 1332 ? S 0:00 xfs -port 7101 -config /etc/xfs.conf 1334 ? R 0:00 grep xfs root@host-name:/usr/home/russian > /usr/X11R6/bin/fslsfonts -server localhost:7101 root@host-name:/usr/home/russian > So why would I get no response to the last command? 9) Create file /sbin/init.d/xfsft with the following contents: #! /bin/sh # # Based on "skeleton" by Copyright (c) 1995-1998 SuSE GmbH Nuremberg, Germany. # # Author: # # /sbin/init.d/xfsft # # and symbolic its link # # /sbin/xfsft # .. /etc/rc.config # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test $link = $base && START_XFSFT=yes test "$START_XFSFT" = yes || exit 0 # The echo return value for success (defined in /etc/rc.config). return=$rc_done case "$1" in start) echo -n "Starting Fontserver xfsft" sh -c "exec /usr/X11/bin/xfs -port 7101 -config /etc/xfs.conf /dev/null &" ||return=$rc_failed echo -e "$return" ;; stop) echo -n "Shutting down Fontserver xfsft " ## Stop daemon with killproc(8) and if this fails ## set echo the echo return value. killproc -TERM /usr/X11/bin/xfs || return=$rc_failed echo -e "$return" ;; *) echo "Usage: $0 {start|stop}" exit 1 ;; esac # Inform the caller not only verbosely and set an exit status. test "$return" = "$rc_done" || exit 1 exit 0 10) Create Symlinks ln -s /sbin/init.d/xfsft /sbin/init.d/rc2.d/S29xfs ln -s /sbin/init.d/xfsft /sbin/init.d/rc3.d/S29xfs ln -s /sbin/init.d/xfsft /sbin/init.d/rc2.d/K10xfs ln -s /sbin/init.d/xfsft /sbin/init.d/rc3.d/K10xfs 11) Insert the below line in /etc/rc.config START_XFSFT="yes" 12) Insert the font path FontPath "tcp/localhost:7101" below all the other font paths in /etc/XF86Config 13) Reboot When I do startx I get the error "Fatal server error: could not open default font 'fixed'". At the very bottom, I list all the files in my directory /usr/X11R6/lib/X11/fonts/TrueType Any ideas? Thanks George -rw-r--r-- 1 root root 103992 Feb 19 01:14 ariblk.ttf -r-xr-xr-x 1 root root 58800 Feb 24 14:23 cc50012m.ttf -r-xr-xr-x 1 root root 58476 Feb 24 14:23 cc50016m.ttf -r-xr-xr-x 1 root root 56064 Feb 24 14:23 cc50032m.ttf -r-xr-xr-x 1 root root 55356 Feb 24 14:23 cc50036m.ttf -r-xr-xr-x 1 root root 55124 Feb 24 14:23 dc6800n.ttf -rw-r--r-- 1 root root 1860 Feb 28 14:01 encodings.dir -rw-r--r-- 1 root root 12868 Feb 28 14:01 fonts.dir -rw-r--r-- 1 root root 12868 Feb 28 13:54 fonts.scale -r-xr-xr-x 1 root root 83332 Feb 24 14:23 gc05002t.ttf -r-xr-xr-x 1 root root 84116 Feb 24 14:23 gc05004t.ttf -r-xr-xr-x 1 root root 79380 Feb 24 14:23 gc05022t.ttf -rw-r--r-- 1 root root 62804 Feb 19 01:14 georgia.ttf -rw-r--r-- 1 root root 60268 Feb 19 01:14 georgiab.ttf -rw-r--r-- 1 root root 68172 Feb 19 01:14 georgiai.ttf -rw-r--r-- 1 root root 69552 Feb 19 01:14 georgiaz.ttf -rw-r--r-- 1 root root 126056 Feb 19 01:14 impact.ttf -r-xr-xr-x 1 root root 49400 Feb 24 14:23 lc14013t.ttf -r-xr-xr-x 1 root root 57700 Feb 24 14:23 lc21004l.ttf -r-xr-xr-x 1 root root 57464 Feb 24 14:23 lc21006l.ttf -r-xr-xr-x 1 root root 46988 Feb 24 14:23 mc04122t.ttf -rw-r--r-- 1 root root 97824 Feb 19 01:14 monotype.ttf -r-xr-xr-x 1 root root 49048 Feb 24 14:23 nc19003l.ttf -r-xr-xr-x 1 root root 50868 Feb 24 14:23 nc19004l.ttf -r-xr-xr-x 1 root root 47216 Feb 24 14:23 nc19023l.ttf -r-xr-xr-x 1 root root 48204 Feb 24 14:23 nc19024l.ttf -r-xr-xr-x 1 root root 70748 Feb 24 14:23 nc20003d.ttf -r-xr-xr-x 1 root root 65776 Feb 24 14:23 nc20004d.ttf -r-xr-xr-x 1 root root 61788 Feb 24 14:23 nc20023d.ttf -r-xr-xr-x 1 root root 61024 Feb 24 14:23 nc20024d.ttf -r-xr-xr-x 1 root root 48880 Feb 24 14:23 nc29003t.ttf -r-xr-xr-x 1 root root 49312 Feb 24 14:23 nc29004t.ttf -r-xr-xr-x 1 root root 37320 Feb 24 14:23 sc6802n.ttf -r-xr-xr-x 1 root root 65904 Feb 24 14:23 tc05002t.ttf -r-xr-xr-x 1 root root 62124 Feb 24 14:23 tc05022t.ttf -rw-r--r-- 1 root root 57428 Feb 19 01:14 trebuc.ttf -rw-r--r-- 1 root root 56576 Feb 19 01:14 trebucbd.ttf -rw-r--r-- 1 root root 55828 Feb 19 01:14 trebucbi.ttf -rw-r--r-- 1 root root 62484 Feb 19 01:14 trebucit.ttf -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, here is the full error message that I get when I comment out all my Type1 paths and leave only the TrueType path in XF86Config: _FontTransSocketINET Connect: Can't connect: err no = 111 failed to set default font path 'tcp/localhost:7101' Fatal server error: could not open default font 'fixed' Yada yada, then X connection to :0.0 (explicit kill or server shutdown). Thanks George -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Am Die, 07 Mär 2000 schrieben Sie:
Hello,
Any xfsft gurus out there? If so, I list the steps I did in quick detail. Please take a look. Becuase I am stuck. Especially take note of step 8. I need xfsft, not xfstt by the way, for Star Office.
10) Create Symlinks ln -s /sbin/init.d/xfsft /sbin/init.d/rc2.d/S29xfs ln -s /sbin/init.d/xfsft /sbin/init.d/rc3.d/S29xfs ln -s /sbin/init.d/xfsft /sbin/init.d/rc2.d/K10xfs ln -s /sbin/init.d/xfsft /sbin/init.d/rc3.d/K10xfs
Try a later start of xfs. S30xdm S75xfs And start init 3. With XDM or KDM. The rest is configured well, I think. -- MfG Waldemar Brodkorb Linux rulez! -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
When I do startx I get the error "Fatal server error: could not open default font 'fixed'". At the very bottom, I list all the files in my directory /usr/X11R6/lib/X11/fonts/TrueType
Any ideas?
I've seen that error also. I believe the Font Howto mentions some command you can use to check what your fontpath is. I'd suggest, as an experiment, that you reorder the items in XF86Config so that the unix one comes last (or at least after the unscaled ones) and then start fiddling. The likely cause, as I remember, is either a missing directory in the xfs configuration file or a directory without the fonts.dir or fonts.scale file. The default location for the xfs configuration is /usr/X11R6/lib/X11/fs/config which you can determine for yourself by typing: strings `which xfs` | grep config Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, In case anyone is following this: just to be safe, I cleaned out my directory /usr/X/usr/X11R6/lib/X11/fonts/TrueType then installed only georgian fonts and recreated the files fonts.scale, fonts.dir, encodings.dir Still getting the fixed font error. Contents of directory /usr/X11R6/lib/X11/fonts/TrueType -rw-r--r-- 1 root root 1860 Mar 8 00:05 encodings.dir -rw-r--r-- 1 root root 1398 Mar 8 00:05 fonts.dir -rw-r--r-- 1 root root 1398 Mar 8 00:04 fonts.scale -rw-r--r-- 1 root root 62804 Mar 8 00:01 georgia.ttf -rw-r--r-- 1 root root 60268 Mar 8 00:01 georgiab.ttf -rw-r--r-- 1 root root 68172 Mar 8 00:01 georgiai.ttf -rw-r--r-- 1 root root 69552 Mar 8 00:01 georgiaz.ttf Here are the contents of encodings.dir, fonts.dir, fonts.scale Contents of file /usr/X11R6/lib/X11/fonts /TrueType/fonts.dir 20 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-ascii-0 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-fcd8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-9 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-1 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-ascii-0 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-fcd8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-9 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-1 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-ascii-0 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-fcd8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-9 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-1 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-ascii-0 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-fcd8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-9 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-1 Contents of file /usr/X11R6/lib/X11/fonts /TrueType/fonts.scale 20 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-ascii-0 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-fcd8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-9 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-1 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-ascii-0 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-fcd8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-9 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-1 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-ascii-0 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-fcd8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-9 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-1 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-ascii-0 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-fcd8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-9 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-1 Contents of file /usr/X11R6/lib/X11/fonts /TrueType/encodings.dir 28 viscii1.1-1 /usr/X11R6/lib/X11/fonts/encodings/viscii1.1-1.enc.Z microsoft-cp1258 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1258.enc microsoft-cp1252 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc microsoft-cp1253 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1253.enc microsoft-cp1250 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1250.enc microsoft-cp1251 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1251.enc microsoft-cp1256 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1256.enc microsoft-cp1257 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1257.enc microsoft-cp1254 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1254.enc mulelao-1 /usr/X11R6/lib/X11/fonts/encodings/mulelao-1.enc microsoft-cp1255 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1255.enc adobe-symbol /usr/X11R6/lib/X11/fonts/encodings/adobe-symbol.enc adobe-standard /usr/X11R6/lib/X11/fonts/encodings/adobe-standard.enc microsoft-ansi /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc tis620.2529-1 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc armscii-8 /usr/X11R6/lib/X11/fonts/encodings/armscii-8.enc mulearabic-2 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-2.enc mulearabic-0 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-0.enc mulearabic-1 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-1.enc ibm-cp437 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp437.enc tcvn-0 /usr/X11R6/lib/X11/fonts/encodings/tcvn-0.enc microsoft-win3.1 /usr/X11R6/lib/X11/fonts/encodings/microsoft-win3.1.enc ibm-cp852 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp852.enc ibm-cp866 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp866.enc ibm-cp850 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp850.enc iso8859-13 /usr/X11R6/lib/X11/fonts/encodings/iso8859-13.enc adobe-dingbats /usr/X11R6/lib/X11/fonts/encodings/adobe-dingbats.enc iso8859-11 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, Tue, 07 Mar 2000, ÷Ù ÎÁÐÉÓÁÌÉ:
When I do startx I get the error "Fatal server error: could not open default font 'fixed'". At the very bottom, I list all the files in my directory /usr/X11R6/lib/X11/fonts/TrueType
Any ideas?
I've seen that error also. Yeah, it's all over Deja, but could not find a solution.
I believe the Font Howto mentions some command you can use to check what your fontpath is. I'd suggest, as an experiment, that you reorder the items in XF86Config so that the unix one comes last I even tried uncommenting every Type 1 path, leaving only the path FontPath "tcp/localhost:7101"
(or at least after the unscaled ones) and then start fiddling. The likely cause, as I remember, is either a missing directory in the xfs configuration file or a directory without the fonts.dir or fonts.scale file. The default location for the xfs configuration is
/usr/X11R6/lib/X11/fs/config
which you can determine for yourself by typing:
strings `which xfs` | grep config Here is what I got:
root@host-name:/usr/X11R6/lib/X11/fonts > strings `which xfs` | grep config /usr/X11R6/lib/X11/fs/config fatal: couldn't read config file couldn't read config file Re-reading config file couldn't parse config file usage: %s [-config config_file] [-port tcp_port] -config CONFIG: error reading configuration file "%s" CONFIG: can't open configuration file "%s" CONFIG: insufficient memory to load configuration file "%s" What does this mean? Thanks George -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
George Zeigler wrote:
Hello,
When I do startx I get the error "Fatal server error: could not open default font 'fixed'". At the very bottom, I list all the files in my directory /usr/X11R6/lib/X11/fonts/TrueType
Any ideas?
I've seen that error also. Yeah, it's all over Deja, but could not find a solution.
I believe the Font Howto mentions some command you can use to check what your fontpath is. I'd suggest, as an experiment, that you reorder the items in XF86Config so that the unix one comes last I even tried uncommenting every Type 1 path, leaving only the path FontPath "tcp/localhost:7101"
Try reversing that: comment out the tcp/localhost path and leave the rest uncommented. You should then be able to start X, but without any TrueType fonts. That will verify that the problem is entirely in the configuration for tcp/localhost:7101.
(or at least after the unscaled ones) and then start fiddling. The likely cause, as I remember, is either a missing directory in the xfs configuration file or a directory without the fonts.dir or fonts.scale file. The default location for the xfs configuration is
/usr/X11R6/lib/X11/fs/config
which you can determine for yourself by typing:
strings `which xfs` | grep config Here is what I got:
root@host-name:/usr/X11R6/lib/X11/fonts > strings `which xfs` | grep config /usr/X11R6/lib/X11/fs/config fatal: couldn't read config file couldn't read config file Re-reading config file couldn't parse config file usage: %s [-config config_file] [-port tcp_port] -config CONFIG: error reading configuration file "%s" CONFIG: can't open configuration file "%s" CONFIG: insufficient memory to load configuration file "%s"
What does this mean?
Those are all the text strings within xfs that contain the substring `config'. The apparent error messages aren't error messages as far as you're concerned; they're just strings containing `config'. The only interesting line is the first one, which tells you where the config file is. Have a look at it, and look at the xfs man page to interpret it. The trouble almost certainly lies within that file. Like the man said, ``intuitively obvious to the most casual observer'' <s>. Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, <snip>
I even tried uncommenting every Type 1 path, leaving only the path FontPath "tcp/localhost:7101"
Try reversing that: comment out the tcp/localhost path and leave the rest uncommented. You should then be able to start X, but without any TrueType fonts. That will verify that the problem is entirely in the configuration for tcp/localhost:7101. I did this, that's how I am able to startx. Something definitely is not right. I have FreeType installed. I checked. Does xfs (xfsft) need any other packages?
Anyhow, I try starting this server and listing my TrueTypes via the command prompt and it still does not work. I show below what I did. By the way, after doing this, I get the message upon shutdown: <snip> Master Resource Control: Failed services in runlevel 0: xfs
(or at least after the unscaled ones) and then start fiddling. The likely cause, as I remember, is either a missing directory in the xfs configuration file I created a config file and named it /etc/xfs.conf and here are it's contents:
#- /etc/xfs.conf - clone-self = on client-limit = 10 # the path to your TrueType fonts catalogue = /usr/X11R6/lib/X11/fonts/TrueType # how to log errors use-syslog = off error-file = /var/log/xfsft-errors.log # in decipoints default-point-size = 120 # x, y default-resolutions = 100,100,75,75
directory without the fonts.dir or fonts.scale file. I created the directory /usr/X11R6/lib/X11/fonts /TrueType and create the encodings.dir. fonts.dir, and fonts.scale files. Shown below.
-rw-r--r-- 1 root root 1860 Mar 8 00:05 encodings.dir -rw-r--r-- 1 root root 1398 Mar 8 00:05 fonts.dir -rw-r--r-- 1 root root 1398 Mar 8 00:04 fonts.scale -rw-r--r-- 1 root root 62804 Mar 8 00:01 georgia.ttf -rw-r--r-- 1 root root 60268 Mar 8 00:01 georgiab.ttf -rw-r--r-- 1 root root 68172 Mar 8 00:01 georgiai.ttf -rw-r--r-- 1 root root 69552 Mar 8 00:01 georgiaz.ttf
The default location for the xfs configuration is
/usr/X11R6/lib/X11/fs/config
Yes, but I let xfs know where the new config (/etc/xfs.conf) with root@host-name:/usr/home/russian > xfs -port 7101 -config /etc/xfs.conf & [1] 1332 then I make sure with root@host-name:/usr/home/russian > ps ax | grep xfs 1332 ? S 0:00 xfs -port 7101 -config /etc/xfs.conf 1334 ? R 0:00 grep xfs then I go to look at my fonts with root@host-name:/usr/home/russian > /usr/X11R6/bin/fslsfonts -server localhost:7101 root@host-name:/usr/home/russian > and I get nothing. Absolutely nothing. I have the FreeType lib installed too. Are there any other programs that I might need to install? This is just weird. I've tried port 7100, 7101, and 7102 in the above lines, and nothing helps. I put the contents of the files fonts.dir , fonts.scale , and encodings.dir at the bottom of this email. Thanks George Here are the contents of encodings.dir, fonts.dir, fonts.scale Contents of file /usr/X11R6/lib/X11/fonts /TrueType/fonts.dir 20 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-ascii-0 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-fcd8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-9 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-1 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-ascii-0 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-fcd8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-9 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-1 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-ascii-0 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-fcd8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-9 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-1 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-ascii-0 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-fcd8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-9 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-1 Contents of file /usr/X11R6/lib/X11/fonts /TrueType/fonts.scale 20 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-ascii-0 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-fcd8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-15 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-9 georgia.ttf -microsoft-Georgia-medium-r-normal--0-0-0-0-p-0-iso8859-1 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-ascii-0 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-fcd8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-15 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-9 georgiaz.ttf -microsoft-Georgia-bold-i-normal--0-0-0-0-p-0-iso8859-1 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-ascii-0 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-fcd8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-15 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-9 georgiai.ttf -microsoft-Georgia-medium-i-normal--0-0-0-0-p-0-iso8859-1 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-ascii-0 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-fcd8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-15 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-9 georgiab.ttf -microsoft-Georgia-bold-r-normal--0-0-0-0-p-0-iso8859-1 Contents of file /usr/X11R6/lib/X11/fonts /TrueType/encodings.dir 28 viscii1.1-1 /usr/X11R6/lib/X11/fonts/encodings/viscii1.1-1.enc.Z microsoft-cp1258 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1258.enc microsoft-cp1252 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc microsoft-cp1253 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1253.enc microsoft-cp1250 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1250.enc microsoft-cp1251 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1251.enc microsoft-cp1256 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1256.enc microsoft-cp1257 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1257.enc microsoft-cp1254 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1254.enc mulelao-1 /usr/X11R6/lib/X11/fonts/encodings/mulelao-1.enc microsoft-cp1255 /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1255.enc adobe-symbol /usr/X11R6/lib/X11/fonts/encodings/adobe-symbol.enc adobe-standard /usr/X11R6/lib/X11/fonts/encodings/adobe-standard.enc microsoft-ansi /usr/X11R6/lib/X11/fonts/encodings/microsoft-cp1252.enc tis620.2529-1 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc armscii-8 /usr/X11R6/lib/X11/fonts/encodings/armscii-8.enc mulearabic-2 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-2.enc mulearabic-0 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-0.enc mulearabic-1 /usr/X11R6/lib/X11/fonts/encodings/mulearabic-1.enc ibm-cp437 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp437.enc tcvn-0 /usr/X11R6/lib/X11/fonts/encodings/tcvn-0.enc microsoft-win3.1 /usr/X11R6/lib/X11/fonts/encodings/microsoft-win3.1.enc ibm-cp852 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp852.enc ibm-cp866 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp866.enc ibm-cp850 /usr/X11R6/lib/X11/fonts/encodings/ibm-cp850.enc iso8859-13 /usr/X11R6/lib/X11/fonts/encodings/iso8859-13.enc adobe-dingbats /usr/X11R6/lib/X11/fonts/encodings/adobe-dingbats.enc iso8859-11 /usr/X11R6/lib/X11/fonts/encodings/iso8859-11.enc -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
George Zeigler wrote:
<snip>
I even tried uncommenting every Type 1 path, leaving only the path FontPath "tcp/localhost:7101"
Try reversing that: comment out the tcp/localhost path and leave the rest uncommented. You should then be able to start X, but without any TrueType fonts. That will verify that the problem is entirely in the configuration for tcp/localhost:7101. I did this, that's how I am able to startx. Something definitely is not right. I have FreeType installed. I checked. Does xfs (xfsft) need any other packages?
Anyhow, I try starting this server and listing my TrueTypes via the command prompt and it still does not work. I show below what I did. By the way, after doing this, I get the message upon shutdown: <snip> Master Resource Control: Failed services in runlevel 0: xfs
I have a suggestion as to how you go about making the diagnosis. Probably you're starting xfs from your bootup files, which is the usual way to do it. But try killing the xfs process (find its number from ps ax | grep xfs) and then restarting it (as root), using the same startup command you normally do. Then you'll be able to see the error messages right off and also test out other things. Paul Abrahams -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello, I set system logging on for the config file for xfsft . At the console, I typed in the line:
/usr/X11R6/bin/fslsfonts -server localhost:7101
I saw this appear in /var/log/messages Mar 10 11:45:53 host-name modprobe: modprobe: Can't locate module binfmt-0000 What is it? Thanks George -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
abrahams@valinet.com
-
genz1968@mtu-net.ru
-
linux@netcologne.de