Archive

Posts Tagged ‘X’

Using remote X font server

May 3rd, 2009 bayu No comments

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) :

  1. open /etc/rc.config.d/xfs , set RUN_X_FONT_SERVER=1.
  2. Execute ”/sbin/init.d/xfs start”

on X server side (my laptop is using OpenSUSE linux) :

  1. Log on as user that going to run the application remotely.
  2. Execute ”xset +fp tcp/<hp-ux_hostname>:7000” .
  3. Execute ”xset fp rehash” .
  4. Execute ”xset -q”.
  5. Do a remote log on, secure tunnel might helps much if you have a firewall issue.
  6. Set DISPLAY variable if needed – “export DISPLAY=x.x.x.x:0.0″
  7. Run the X application remotely.

Credits: http://forums12.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1212545170579+28353475&threadId=224569

Categories: hp ux Tags: , , , , ,

Switch to our mobile site