X Font Server configuring in Linux
No response so far, and I give it a 2nd try, as I am sure there is someone with knowledge/experience with configuring the fontservice :; The X Font Server (XFS) is the only way to provide antialiased fonts such as freetype to most X Terminals, according to the "Connecting X Terminals to Linux mini Howto" section 4.5. I have extracted the following two configuring steps, which should be done before starting the font server: 1) Enable the XFS font server to accept remote XDMCP request in the /etc/X11/fs/config file by commenting out the following line: # no-listen=tcp 2) Verify that the X Terminal and X host are broadcasting and listening on the same port. The default port used in /etc/init.d/xfs is 7100. According to the "Linux XDMCP Howto" section 2.6 p.8, etc/X11/XF86Config has to be edited by changing the line FontPath "unix/:-1" to FontPath "unix/:7100" However, I cannot find this line in XF86Config on SJDS/SLES8, only a list of fonts. Should I place this line for FontPath port in front of this font list, or does SLES8 use other config files for this setting? At last, according to the Howto, the command 'chkfontpath --list' should check out what fonts are available. As I get only the message 'command not found', I wonder if this command isn't supported on SuSE? Terje J. Hanssen
On Thu, 26 Feb 2004 20:30, Terje J. Hanssen wrote:
No response so far, and I give it a 2nd try, as I am sure there is someone with knowledge/experience with configuring the fontservice :;
The X Font Server (XFS) is the only way to provide antialiased fonts such as freetype to most X Terminals, according to the "Connecting X Terminals to Linux mini Howto" section 4.5. I have extracted the following two configuring steps, which should be done before starting the font server:
1) Enable the XFS font server to accept remote XDMCP request in the /etc/X11/fs/config file by commenting out the following line:
# no-listen=tcp
2) Verify that the X Terminal and X host are broadcasting and listening on the same port. The default port used in /etc/init.d/xfs is 7100. According to the "Linux XDMCP Howto" section 2.6 p.8, etc/X11/XF86Config has to be edited by changing the line
FontPath "unix/:-1" to FontPath "unix/:7100"
However, I cannot find this line in XF86Config on SJDS/SLES8, only a list of fonts. Should I place this line for FontPath port in front of this font list, or does SLES8 use other config files for this setting?
At last, according to the Howto, the command 'chkfontpath --list' should check out what fonts are available. As I get only the message 'command not found', I wonder if this command isn't supported on SuSE?
Terje J. Hanssen
This does not directly answer your questions, but may assist you in finding a solution. It has been quite a while since I fiddled with fonts and xfree86. For configuring fonts on SuSE I found the following does work. Although I find using KDE - Control Centre - Fonts, works just as well for setting up fonts. This relates to TrueType fonts but the principle is the same for other fonts. All commands must be run as root. 1) Change to where the fonts are. cd /usr/X11R6/lib/X11/fonts/truetype 2) Determine if there are any files been created for the scaling of the ttf's. ls -l fonts.s* 3) Remove all these files. rm fonts.s* 4) Create a new font scale file. ttmkfdir | sed s/^[0-9]*// > fonts.scale.myfonts 5) Now run SuSEconfig.fonts /sbin/conf.d/SuSEconfig.fonts 6) Run xset to reread the font paths xset fp rehash You should be able to see the fonts with xfontsel Below are some references that may help with some of your queries. Especially the first ref. http://www.tldp.org/HOWTO/FDU/index.html http://www.tldp.org/HOWTO/Font-HOWTO/index.html http://www.tldp.org/HOWTO/TT-XFree86.html -- Regards, Graham Smith ---------------------------------------------------------
Thu, 26 Feb 2004, by terje@nordland-teknikk.no:
1) Enable the XFS font server to accept remote XDMCP request in the /etc/X11/fs/config file by commenting out the following line:
# no-listen=tcp
Then you also need to use TCP instead of Unix-socket, i.e. 'FontPath "tcp/host:7100"'
FontPath "unix/:7100"
Configured like this it'll only listen localy on the XDMCP box.
However, I cannot find this line in XF86Config on SJDS/SLES8, only a list of fonts. Should I place this line for FontPath port in front of this font list, or does SLES8 use other config files for this setting?
In /etc/X11/fs/config on SUSE8.2: # To use this fontserver, add # # FontPath "unix/:7100" # # into the Section "Files" of /etc/X11/XF86config, above all other # FontPath entries. You may also remove or comment out all other # FontPath entries if you want to use all fonts via the Fontserver
At last, according to the Howto, the command 'chkfontpath --list' should check out what fonts are available. As I get only the message 'command not found', I wonder if this command isn't supported on SuSE?
pin 0.27 - package info for chkfontpath ------------------------------------------------------------------ *** no rpm named chkfontpath installed ------------------------------------------------------------------ ------------------------------------------------------------------ *** zgrep chkfontpath /var/lib/pin/ARCHIVES.gz ------------------------------------------------------------------ Looks like it's not used in SuSE. Theo -- Theo v. Werkhoven Registered Linux user# 99872 http://counter.li.org ICBM 52 13 27N , 4 29 45E. + ICQ: 277217131 SUSE 8.2 + Jabber: gurp@jabber.org Kernel k_athlon-2.4.20 + MSN: twe-msn@ferrets4me.xs4all.nl See headers for PGP/GPG info. +
participants (3)
-
Graham Smith
-
Terje J. Hanssen
-
Theo v. Werkhoven