From owner-freebsd-questions@FreeBSD.ORG Tue Jan 17 16:22:31 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 CEAE816A41F for ; Tue, 17 Jan 2006 16:22:31 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id B462343DA1 for ; Tue, 17 Jan 2006 16:22:01 +0000 (GMT) (envelope-from freebsd-questions@m.gmane.org) Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EytZo-0001b8-D1 for freebsd-questions@freebsd.org; Tue, 17 Jan 2006 17:21:00 +0100 Received: from 70.red-83-44-12.dynamicip.rima-tde.net ([83.44.12.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jan 2006 17:20:56 +0100 Received: from matiassurdi by 70.red-83-44-12.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Jan 2006 17:20:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Matias Followup-To: gmane.os.freebsd.questions Date: Tue, 17 Jan 2006 16:17:21 +0100 Lines: 35 Message-ID: References: <43CA8534.4010306@daltons.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 70.red-83-44-12.dynamicip.rima-tde.net User-Agent: KNode/0.10 Sender: news Cc: freebsd-x11@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: Tue, 17 Jan 2006 16:22:31 -0000 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. > Remember to run on the Cygwin console the command: # xhost + (Disclaimer: This is not secure for the Cygwin machine :-P ) So anyone can connect to your X11/Xorg Server.