Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 14:21:38 -0600
From:      G-der <gder@gder.net>
To:        tim peters <tim@lost.net.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: X11 forwarding through sshd
Message-ID:  <20020531142138.A24846@gder.net>
In-Reply-To: <20020531094829.T75376-100000@marbles.lost.net.au>; from tim@lost.net.au on Fri, May 31, 2002 at 09:54:01AM %2B0930
References:  <20020530125453.A75831@rochester.rr.com> <20020531094829.T75376-100000@marbles.lost.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 31, 2002 at 09:54:01AM +0930, tim peters wrote:
> X via ssh doesn't require this flag (or even an X server to be
> running on the remote machine), as the entire session is tunneled
> through the secure shell mechanism and displayed on the local
> machine's display.
> 
> G-der: Make sure XFree86 libraries are installed on the remote
> machine and that /usr/X11R6/bin is in your $PATH when you ssh to
> it.  If that doesn't help, run ssh in verbose mose (ssh -v) and
> see if that provides any more information.

Okay, I figured out the problem with the port forwarding.  It turns out
I was missing some libraries but now that I have them installed port
forwarding seems to be working fine again.

Now when I log in (and I have tried this both from work and at home on
my local network) I get this error:

/usr/X11R6/bin/xauth: (stdin):1:  bad display name "dinkey:10.0" in
"add" command

At home I can manually set the display variable (10.0.0.2:0) and it
works just fine.  At work if I set the display variable like I always
have:

(in tcsh)  setenv DISPLAY {$REMOTE}:0

it sets the variable but is never able to open the display.  It could
have something to do with our firewall but I am going out through a
socks proxy and have not had problems with it in the past.

The curious thing though is the fact that the display variable is not
being set up properly.  It seems like something other than my .tcshrc
file is setting the display variable.  

Any more sugestions would be more than welcome, otherwise I'm sure if I
plug away long enough I'll be sure to figure it out.

Thanks in advance

Gene Dinkey
gder@gder.net

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020531142138.A24846>