Using remote X font server
When using an X application remotely, sometimes the application needs specific fonts that are not available on our X server. Some of them might still work with a different fonts. Unluckily, one of mine doesn’t
I found some messages when I use remote X server on an application :
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Unable to load any usable fontset
ovw: Xt Warning: Missing charsets in String to FontSet conversion
ovw: Xt Warning: Cannot convert string “-*-helvetica-medium-r-*-120-*” to type FontSet
The solution is to use the font server in which the application is installed
on apllication side (in this example is an hp-ux server) :
- open /etc/rc.config.d/xfs , set RUN_X_FONT_SERVER=1.
- Execute ”/sbin/init.d/xfs start”
on X server side (my laptop is using OpenSUSE linux) :
- Log on as user that going to run the application remotely.
- Execute ”xset +fp tcp/<hp-ux_hostname>:7000” .
- Execute ”xset fp rehash” .
- Execute ”xset -q”.
- Do a remote log on, secure tunnel might helps much if you have a firewall issue.
- Set DISPLAY variable if needed – “export DISPLAY=x.x.x.x:0.0″
- Run the X application remotely.