From owner-freebsd-questions@FreeBSD.ORG Sun Jan 15 22:40:27 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 5CA4316A427 for ; Sun, 15 Jan 2006 22:40:27 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A55143D55 for ; Sun, 15 Jan 2006 22:40:23 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout5.cac.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id k0FMeMsK025209 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 15 Jan 2006 14:40:22 -0800 X-Auth-Received: from [192.168.0.21] (dsl254-013-145.sea1.dsl.speakeasy.net [216.254.13.145]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id k0FMeLA4019558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 15 Jan 2006 14:40:22 -0800 Message-ID: <43CACF54.10901@u.washington.edu> Date: Sun, 15 Jan 2006 14:40:20 -0800 From: Garrett Cooper User-Agent: Mail/News 1.5 (X11/20060113) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <43CA8534.4010306@daltons.ca> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' 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 22:40:27 -0000 Nikolas Britton wrote: > On 1/15/06, 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. >> >> > > If you have cygwin installed why use putty? Just fire up xterm and use > ssh -X. You could try this too: http://xlivecd.indiana.edu/ > ssh -X is deprecated in many cases I noticed, so I suggest using ssh -Y. -Garrett