openssh3.9pl1/Fedora Core 3 problem with X forwarding + XView

From: Bruce Barnett (spamhater113+U050426125040_at_grymoire.com)
Date: 04/26/05


Date: 26 Apr 2005 17:18:12 GMT


I am on a Linux system (Fedora Core 3, openssh-3.9p1-8.0.1) connecting
to a Solaris system running SunOS 5.7, and OpenSSH_3.1p1). After
upgrading from FC2 to FC2, the XView applications stopped working.

My ~/.ssh/config file says:
        Host *
        ForwardX11Trusted yes

(this is also in /etc/ssh/config)

I am using ssh -Y to connect to the machine.

Now just some of the XView applications fail.
If I run
       cmdtool
I get

        XView warning: Cannot load font set '-b&h-lucida-medium-r-normal-sans-*-120-*-*-*-*-*-*' (Font package)
        XView warning: Unable to open default font set
        XView error: Cannot open connection to window server: localhost:11.0 (Server package)

and the window fails to open. if I run
        cmdtool -fn fixed
it works fine. If I run
        xterm -fn '-b&h-lucida-medium-r-normal-sans-*-120-*-*-*-*-*-*'
It works fine.

If I run
        cmdtool

on my local machine - it works fine. (I added the xview clients to see
if this would help.)

If I run
        xlsfonts | grep 'lucida-medium-r-normal-sans-[0-9]*-120'
on the remote machine, I get
        -b&h-lucida-medium-r-normal-sans-12-120-75-75-p-71-iso10646-1
        -b&h-lucida-medium-r-normal-sans-17-120-100-100-p-96-iso10646-1
        -b&h-lucida-medium-r-normal-sans-17-120-100-100-p-96-iso10646-1

So the fonts I need are there.
By the way, I was able to fix some of the problems by creating a font
named "default" which XView uses, but wasn't defined., by typing
        cd /usr/lib/X11/fonts/misc
        echo 'default -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1' >>fonts.alias
        mkfontdir

I got one application to run, but I have several others that do not.

Here is what happens (using ssh -v -Y):

solaris-server:% cmdtool
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 43585
debug1: channel 1: new [x11]
debug1: confirm x11
debug1: channel 1: FORCE input drain
XView warning: Cannot load font set '-b&h-lucida-medium-r-normal-sans-*-120-*-*-*-*-*-*' (Font package)
XView warning: Unable to open default font set
XView error: Cannot open connection to window server: localhost:11.0 (Server package)
debug1: channel 1: free: x11, nchannels 2

Can anyone offer some advice?

-- 
Sending unsolicited commercial e-mail to this account incurs a fee of
$500 per message, and acknowledges the legality of this contract.