From owner-freebsd-questions@FreeBSD.ORG Sun Jan 15 19:27:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E039916A41F for ; Sun, 15 Jan 2006 19:27:48 +0000 (GMT) (envelope-from ken@abbott.allenmyland.com) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DD5343D45 for ; Sun, 15 Jan 2006 19:27:48 +0000 (GMT) (envelope-from ken@abbott.allenmyland.com) Received: from abbott.allenmyland.com ([68.81.206.140]) by comcast.net (rwcrmhc11) with ESMTP id <2006011519274701300da0rie>; Sun, 15 Jan 2006 19:27:47 +0000 Received: by abbott.allenmyland.com (Postfix, from userid 1001) id 2592217024; Sun, 15 Jan 2006 14:27:47 -0500 (EST) Date: Sun, 15 Jan 2006 14:27:47 -0500 From: Ken Stevenson To: Aaron Dalton Message-ID: <20060115192747.GA32153@abbott.allenmyland.com> Mail-Followup-To: Aaron Dalton , freebsd-questions@freebsd.org References: <43CA8534.4010306@daltons.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43CA8534.4010306@daltons.ca> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Problems with X11 Forwarding X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2006 19:27:49 -0000 On Sun, Jan 15, 2006 at 10:24:04AM -0700, Aaron Dalton wrote: > I thought this might be the best place to post the question. I am > running FreeBSD5.4-RELEASE. For the sake of argument, let's say I am > trying to get the port editors/fte running on my Windows box via an SSH > tunnel. I am running WindowsXP, cygwin's X11 server, and PUTTY. As far > as I can tell from all my Googling, this should actually be quite simple: > > - openssh is setup on FreeBSD with X11Forwarding=yes > - I start the cygwin X-server (XWin -ac -multiwindow) > - Putty is configured to forward X11 sessions > - I connect via Putty > - running '$ fte' from the FreeBSD command line should supposedly open > everything up now on my Windows box, but it does not. > > From what I understand, when I connect now via Putty the env variable > DISPLAY should be set. But it is not (which is the error fte gives me > when I try to run it). If I try to manually set the DISPLAY variable (I > tried localhost:0, localhost:0.0, ip:0, ip:0.0) it still doesn't work. > editors/fte is fully installed (with X11libs and all that) but I wonder > if there is more I need installed on the FreeBSD end to make things work. > > I really appreciate your time and any assistance you can render. > I'm new to FreeBSD, so I may be off base, but I use vncserver on my FreeBSD box when I need an X session. Then I just setup Putty to forward port 5900 to 127.0.0.0:5901, make an ssh connection to my FreeBSD server, run UltraVNC on my Windows box and connect to localhost. -- Ken Stevenson Allen-Myland Inc.