From owner-freebsd-questions Fri May 31 13:21:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ghostwheel.tribble.net (ghostwheel.tribble.net [198.49.247.103]) by hub.freebsd.org (Postfix) with ESMTP id B964137B400 for ; Fri, 31 May 2002 13:21:40 -0700 (PDT) Received: from ghostwheel.tribble.net (gder@localhost.tribble.net [127.0.0.1]) by ghostwheel.tribble.net (8.12.2/8.12.2) with ESMTP id g4VKLdJ3024950; Fri, 31 May 2002 14:21:39 -0600 (MDT) (envelope-from gder@ghostwheel.tribble.net) Received: (from gder@localhost) by ghostwheel.tribble.net (8.12.2/8.12.2/Submit) id g4VKLc9w024949; Fri, 31 May 2002 14:21:38 -0600 (MDT) Date: Fri, 31 May 2002 14:21:38 -0600 From: G-der To: tim peters Cc: freebsd-questions@freebsd.org Subject: Re: X11 forwarding through sshd Message-ID: <20020531142138.A24846@gder.net> References: <20020530125453.A75831@rochester.rr.com> <20020531094829.T75376-100000@marbles.lost.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020531094829.T75376-100000@marbles.lost.net.au>; from tim@lost.net.au on Fri, May 31, 2002 at 09:54:01AM +0930 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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