[Sussex] ps options

Frances Fleming fay at uthink.co.uk
Sat Oct 22 20:00:20 UTC 2005


I'm working through a HowTo at http://www.promptweb.co.uk/fonts/

I'm trying to troubleshoot a problem with TCM (Toolkit for Conceptual
Modeling). It's really only an ugly font issue, but I want to correct it
in order to get nicer screen shots.

The following error message pops up every time when opening a diagram
from the TCM editor, which was newly downloaded from Debian via aptitude:

*----------------------------------------------------*
| [19:40:43] Warning: Cannot open unscalable font    |
| -*-helvetica-medium-r-normal--10*, using fixed     |
| [19:40:44] Warning: Cannot open unscalable font    |
| -*-courier-medium-r-normal--10*, using fixed       |
| [19:40:45] Warning: Cannot open unscalable font    |
| -Adobe-helvetica-medium-r-normal--12*, using fixed |
*----------------------------------------------------*

Googled for the term "unscalable font" and found an article at
http://www.promptweb.co.uk/fonts/.

Excerpt:
You can tell you have a stand-alone font server running by typing ps ax
| grep xfs.

Results of running the command on my own machine:

frances at jerry:~$ ps ax | grep xfs
   84 ?        S      0:00 [xfsbufd]
   85 ?        S      0:00 [xfslogd/0]
   86 ?        S      0:00 [xfsdatad/0]
  105 ?        S      0:00 [xfssyncd]
  236 ?        S      0:00 [xfssyncd]
  237 ?        S      0:00 [xfssyncd]
  238 ?        S      0:00 [xfssyncd]
  239 ?        S      0:00 [xfssyncd]
  240 ?        S      0:00 [xfssyncd]
  241 ?        S      0:00 [xfssyncd]
 1784 pts/1    S+     0:00 grep xfs
frances at jerry:~$  

Excerpt:
You can tell if your X windows system is set up to use a stand-alone
font server by looking for a line similar to FontPath "unix/:7100" in
your XF86Config file.

Relevant section in my own /etc/X11/XF86Config-4:

Section "Files"
    FontPath    "unix/:7100"            # local font server
    # if the local font server has problems, we can fall back on these
    FontPath    "/usr/lib/X11/fonts/misc"
    FontPath    "/usr/lib/X11/fonts/cyrillic"
    FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/Type1"
    FontPath    "/usr/lib/X11/fonts/CID"
    FontPath    "/usr/lib/X11/fonts/Speedo"
    FontPath    "/usr/lib/X11/fonts/100dpi"
    FontPath    "/usr/lib/X11/fonts/75dpi"
EndSection


Excerpt:
Before you can configure X-windows to use your stand-alone font server,
you will need to check what port xfs is listening to. By default, xfs
will listen to port 7100. The enhanced xfs-xtt (available for woody/
sarge) generally listens to port 7110. You can check by typing ps -ax |
grep xfs.

Results of running the command on my own machine:

frances at jerry:~$ ps -ax | grep xfs
Warning: bad syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
   84 ?        S      0:00 [xfsbufd]
   85 ?        S      0:00 [xfslogd/0]
   86 ?        S      0:00 [xfsdatad/0]
  105 ?        S      0:00 [xfssyncd]
  236 ?        S      0:00 [xfssyncd]
  237 ?        S      0:00 [xfssyncd]
  238 ?        S      0:00 [xfssyncd]
  239 ?        S      0:00 [xfssyncd]
  240 ?        S      0:00 [xfssyncd]
  241 ?        S      0:00 [xfssyncd]
 1870 pts/1    S+     0:00 grep xfs
frances at jerry:~$

I'm supposed to get a result like this:

5639 ?        S      0:00 /usr/bin/X11/xfs -daemon
or
258 ?        S      0:00 /usr/bin/X11/xfs-xtt -daemon -user nobody -port
7110

I went to the suggested faqs URL, which redirects to
http://procps.sourceforge.net/faq.html, but it didn't help. I ran ps
--help and man ps, and tried some of the options, but so far I haven't
found the right combination. Can anyone help please?




More information about the Sussex mailing list