Remote session & Font Server 

Newsgroups: comp.unix.admin
> I have a question regarding my own (Chinese) font setting and remote
> session in Solaris.
>
> I installed a Chinese xterm program (cxterm) on one of the Solaris
> box in our lab. I managed to get it going. Now I want to be able to
> share this tool with other Solaris box in our lab.
> But I even can't get it going using the "Solaris remote session".
> The error is "unable to open font "hanzigb16st". What's the
> difference between a console-X log on and remote-X session will cause that?
> Am I not using the same working environment?... This really confuse me.

The difference is which X server you are using. The X server provides the fonts to the clients. The message indicates that the cxterm asked the X server (running on a remove box) for the font 'hanzigb16st' and the X server politely indicated that it knows of no such font.

> Besides, the Chinese font directory is NFS shared across all boxes
> in our lab. But I guess it won't help. To solve this problem, seems
> that I have to install a font server, can somebody give me a brief
> step by step instruction on how to do it please?

If the font directory is available to ALL of the X servers you need only add it to the font paths of the servers. You can use the xset command to do that. If the font path is the same on all boxes you should be able to add a call to xset to your x init script to do something like:

xset +fp /wherever/the/font/is

Chuck Dillon

Remote session & Font Server 

> thanks for your help, Chuck. I managed to get another Solaris box
> going. Question, what if I need to set up the font path
> permanently. Using the apropos I found a tool called sdtfontadm to
> do it, but I want to know further where the info is written to.

/usr/openwin/server/etc/OWconfig

> One thing I forgot to mention, there's one solaris box in our lab
> that no one can have access to it. So I'm using it as a "dump
> terminal" to link back my usual server. In this case, I can do
> nothing about the X server that I'm using, does it mean that I can't
> use cxterm there? Will a font server help? Thanks!

A font server might be your only choice in this case. You would need to run the font server on one of the boxes that has the fonts and use xset (man xset) to tell the xterminal about the font server.

Man xfs, look for xfs or 'font server' at docs.sun.com and/or look it up in the ORA books I mentioned. Its been a long time since I set one up, and I only did it once, so I can't give you any specifics.

Also use http://groups.google.com/advanced_group_search as a resource for searching the usenet archives for answers before posting. You might find all you need there.

If you want specific help, after trying to work it out, I suggest you post to comp.windows.x and if you are using the CDE environment post to comp.unix.cde.

Chuck Dillon

Remote session & Font Server 

Related URLs in google_group_search

ow do I make a server a font server?
http://groups.google.com/groups?hl=en&lr=&safe=off&ic=1&th=bd066a055a12a61b,3&seekm=351BCDAE.1FB9B397%40visana.ch#p

Looking for X Font Server
http://groups.google.com/groups?hl=en&lr=&safe=off&ic=1&th=d1e779328ad3fd4a,4&seekm=6k5eev%24c7i4%40hector.sabre.com#p

X font server, comp.os.linux.x
http://groups.google.com/groups?hl=en&lr=&safe=off&ic=1&th=a2c4c2c53b315ca8,39&seekm=373A01B0.6799A50E%40soton.ac.uk#p

http://groups.google.com/groups?q=%22font+server%22&num=50&hl=en&lr=&safe=off&rnum=14&ic=1&selm=86snjf9ljn.fsf%40itz.dsl.speakeasy.net