1820076 Members
3200 Online
109608 Solutions
New Discussion юеВ

X Font Server

 
SOLVED
Go to solution
Kenneth_18
Frequent Advisor

X Font Server

How can I check and configure the x font server on a particular host to accept connections from differrent X servers accross the lan.

Thanks in advance for any help and hints.
3 REPLIES 3
Wodisch_1
Honored Contributor
Solution

Re: X Font Server

Hi,

well, the only real test would be to try to connect form those stations to it... for there could be a firewall in between them, denying access!
But if that's not the case, you could try a simple TELNET to the font server station, using port 7000 (or 7100, if it's a Solaris system).
You won't get an answer - but as long as you don't get the message that you "could not connect" (or "connection refused") it should be alright.

The *real* test would include adding that font server to the font path:
xlsfonts|wc -l # count before
xset +fp tcp/11.22.33.44:7000 # your font server's IP address instead of 11.22.33.44
xlsfonts|wc -l # shoul dbe much bigger now
xset -fp tcp/11.22.33.44:7000 # get rid of it

Just my $0.02,
Wodisch
Sridhar Bhaskarla
Honored Contributor

Re: X Font Server

Hi Ken,

Use this procedure to set up your HP sysetm as an X font server.

1. Make sure RUN_X_FONT_SERVER=1 appears in /etc/rc.config.d/xfs. Also add CONFIG_FILE_NAME=/etc/X11/fs/config
2. Stop xfs if it is running
/sbin/init.d/xfs stop
3. Go to /etc/X11/fs/ directory. Edit 'config' file. Search for the line that starts with catalog. Append the string /usr/dt/config/xfonts/C/ (trailing / indicates the directory) to the end of the line
4. Start the fontserver with the command
/sbin/init.d/xfs start

Use xset and xlsfonts on the client side to verify the connections as described by Wodish.

-Sri


You may be disappointed if you fail, but you are doomed if you don't try
Steve Steel
Honored Contributor

Re: X Font Server

Hi


Try this simple solution to the problem .
It involves configuring and
running a font-server on the system which is running CDE and forcing the fontserver into the font-path.

To do this
1 - The font server needs to be configured to include the CDE fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the "catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable:
"RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and restart it.

2 - Force CDE to add the font-server to the X-Server font-path by editing the Xsetup file. (NOTE: This steps REQUIRES the IP address of the CDE session server. You can get
this by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to
/etc/dt/config/Xsetup

EDIT: /etc/dt/config/Xsetup

Add the following line to
/etc/dt/config/Xsetup
replacing "IPADDRESS" with the IP address of the server as returned from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null


Then any CDE login to the server automatically logs in the fontserver and you do not need to alter your PCs or Xterms

steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)