From owner-freebsd-questions Fri Jul 5 11:29:56 2002 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 3AED337B400 for ; Fri, 5 Jul 2002 11:29:52 -0700 (PDT) Received: from chivas.oneill.dhs.org (chivas.oneill.dhs.org [65.65.85.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9910F43E31 for ; Fri, 5 Jul 2002 11:29:51 -0700 (PDT) (envelope-from sean@seanoneill.info) Received: from v812r.seanoneill.info (dhcp1.NONROUTABLE [192.168.2.1]) by chivas.oneill.dhs.org (Postfix) with ESMTP id 7F97D7635; Fri, 5 Jul 2002 13:29:46 -0500 (CDT) Message-Id: <5.1.0.14.0.20020705131647.00abfd60@postoffice.swbell.net> X-Sender: swoneill@postoffice.swbell.net X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 05 Jul 2002 13:29:44 -0500 To: Michael Sharp , freebsd-questions@FreeBSD.ORG From: Sean O'Neill Subject: Re: Remote X Apps In-Reply-To: <20020705141340.562ac7d5.freebsd@ec.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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 At 02:13 PM 7/5/2002 -0400, Michael Sharp wrote: >What am I missing? One thing for sure, the display variable for SSH tunneled X11 sessions start at display 10 so your DISPLAY value should say: DISPLAY=localhost:10.0 Also, if you login via SSH and your DISPLAY variable isn't setup correctly (it should automagically show up as localhost:10.0) then something is either overriding its value OR ssh isn't allowing tunnelled X11 sessions - don't care what your sshd.conf file says. The Xserver on your FreeBSD machine doesn't apply to what you are trying to do. You have to have an Xserver on your Windows machine. You didn't mention that you have a X11 server package on your windows machine - so I'll assume you don't. Go get one - Cygwin (http://www.cygwin.com) has XFree86 now and it works fine. You can also use VNC for something like this. I haven't use VNC on FreeBSD in a while cuz a while back there was/is a problem with VNC and the FreeBSD VNC port maintainer (or someone) tagged the port as broken and its won't install without manual changes. That said, VNC will allow you to run X applications "locally" on the FreeBSD machine and display back the screen updates through VNC - sort of like PCAnywhere for UNIX. Works nice. Assuming you choose this path, I suggest you setup VNC to only allow loopback connections and tunnel your VNC connection(s) through SSH. -- ........................................................ ......... ..- -. .. -..- .-. ..- .-.. . ... ............ .-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ... Sean O'Neill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message