I am trying to make X11 forwarding work using the SSH Windows Client
connecting to a Solaris 8 SSH server.  I have gotten it to work once, but
the same procedure does not seem to work for another computer I am setting
it up on.  I've checked the box that says "X11 Forwarding" in the client and
restarted it.  On the server here is the pertinent config entries:

## Tunneling
        ForwardX11                      yes
        AllowX11Forwarding              yes
        AllowTcpForwarding              yes
#       AllowTcpForwardingForUsers      sjl, [EMAIL PROTECTED]
#       DenyTcpForwardingForUsers       "2[:isdigit:]*4, peelo"
#       AllowTcpForwardingForGroups     priviliged_tcp_forwarders
#       DenyTcpForwardingForGroups      coming_from_outside

Here are my variables as they are defined when I log in to the SSH server:

declare -x DISPLAY="fully.qualified.domain.name.of.ssh.server:10.0"
declare -x HOME="/export/home/jdthomas"
declare -x HOSTNAME="fully.qualified.domain.name.of.ssh.server"
declare -x HOSTTYPE="sparc"
declare -x LOGNAME="jdthomas"
declare -x MACHTYPE="sparc-sun-solaris"
declare -x MAIL="/var/mail/jdthomas"
declare -x OLDPWD="/export/home/jdthomas"
declare -x OSTYPE="solaris"
declare -x PATH="/bin:/usr/bin:/usr/local/bin:/sbin:/usr/sbin:/usr/ccs/bin"
declare -x PWD="/usr/X/bin"
declare -x SHELL="/usr/bin/bash"
declare -x SHLVL="1"
declare -x SSH2_CLIENT="192.168.37.100 2410 192.168.37.3 22"
declare -x TERM="vt100"
declare -x TZ="US/Pacific"
declare -x USER="jdthomas"

When I type xterm I receive this:

X connection to fully.qualified.domain.name.of.ssh.server:10.0 broken
(explicit kill or server shutdown).

Like I wrote before, I was able to get this to work on a client at my work
to this same server, and that is coming in through a firewall to my home.
>From a client on the same network as the server (you can see the IP
addresses above) I get the aforementioned results.  I've tried unsetting the
DISPLAY variable, but that does not seem to help.  The OS always wants to go
to whatever is defined as the DISPLAY variable - not through the SSH2
tunnel.  What am I doing wrong?

Regards,
Justin Thomas

Reply via email to