Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jul 2002 13:29:44 -0500
From:      Sean O'Neill <sean@seanoneill.info>
To:        Michael Sharp <freebsd@ec.rr.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Remote X Apps
Message-ID:  <5.1.0.14.0.20020705131647.00abfd60@postoffice.swbell.net>
In-Reply-To: <20020705141340.562ac7d5.freebsd@ec.rr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.0.20020705131647.00abfd60>