[TriLUG] Using remote font server (LTSP) with WordPerfect2000 for Linux?

Sinner from the Prairy sinner at escomposlinux.org
Thu Nov 21 15:05:05 EST 2002


Hi,

I have a Linux Terminal Server (http://www.ltsp.org) running on Mandrake
9.0.  The speed on very low-end clients is just great. See some captures
at http://www.ibiblio.org/sinner/dibus/qvwm.png 
http://www.ibiblio.org/sinner/dibus/qvwm2.png and
http://www.ibiblio.org/sinner/dibus/qvwm3.png 

I'm still working with sound, though. But this is a non-issue.

Now, trying to run WordPerfect2000 for Linux I get fontserver problems.
WP20004L works great on the local machine. But trying to use it from the
clients always fails.

I get the following messages:

------------------- START ----------------------
Notice: WordPerfect

No running font server was detected. I will try to start a font server
on this host and then wait for 30 seconds to allow the font server to
start up.

(...30 second wait...)

Error: WordPerfect

Unable to add FontTastic font server to the font path. The font server
is probably not installed or not running. Correct the problem and try
again.
[OK]
------------------- END ----------------------

I've reviewed the /usr/bin/worperfect file and I've found this section:

(...)
# Add FontTastic font server to the font path.
# Font server is assumed to run on the same host as the X display.
xset q | grep 'tcp/.*:7102' >/dev/null
if [ $? -ne 0 ]
then
    # Get host name, if any, from DISPLAY variable. Default to
localhost.
    host=`echo $DISPLAY | sed 's/:.*//'`
    if [ "$host" = "" ]; then host=127.0.0.1; fi
    xset fp+ tcp/$host:7102 2>/dev/null
    xset q | grep 'tcp/.*:7102' >/dev/null
    if [ $? -ne 0 ]
    then
        # Try again - fonttastic sometimes fails on the very first ever
run
        # giving a 'bad font path' error that goes away the second time.
        xset fp+ tcp/$host:7102 2>/dev/null
        xset q | grep 'tcp/.*:7102' >/dev/null
        if [ $? -ne 0 ]
        then
            # last resort - try starting a font server on this host
            if [ -f /usr/X11R6/bin/fontfs ]
            then

                $KMESSAGE -escape -timeout 30 -title "Notice: $name"
-buttons '' "No running font server was detected.\nI
 will try to start a font server on this host\nand then wait for 30
seconds to allow the\nfont server to start up." 2>/de
v/null &
                /usr/X11R6/bin/fontfs &
                sleep 30
            fi
            xset fp+ tcp/$host:7102 2>/dev/null
            xset q | grep 'tcp/.*:7102' >/dev/null
            if [ $? -ne 0 ]
            then
                $KMESSAGE -escape -title "Error: $name" -buttons '&Ok'
"Unable to add FontTastic font server to the font
path.\nThe font server is probably not installed or not
running.\nCorrect the problem and try again." 2>/dev/null
                exit 1
            fi
        fi
    fi
fi

(...)


As you see, they've assumed that XFS can be only local. But with X
Windows, the terms 'local' and 'networked' are all blurred. 

How can I make this work using the remote-that-is-local font server? 

I attended the great class on XFree by Frank Pittenger with the RHCE
study group. But I don't know how to tell it to use the LTSP-server XFS
for the font server, and display everything to the local (remote?)
display of the LTSP-client. (agh! I'm getting dizzy again!).

Thank you in advance for any hint.



Salut,
Sinner
-- 
http://www.ibiblio.org/sinner/
[MaDuiXa PoWeR] http://www.maduixa.net
Linux User # 89976     Linux Machine # 38068
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20021121/280e124f/attachment.pgp>


More information about the TriLUG mailing list