From owner-freebsd-questions Tue Feb 26 13:47:52 2002 Delivered-To: freebsd-questions@freebsd.org Received: from ra.sigterm.com (sangui.lnk.telstra.net [139.130.16.74]) by hub.freebsd.org (Postfix) with ESMTP id 5B14037B417 for ; Tue, 26 Feb 2002 13:47:48 -0800 (PST) Received: from osiris.sigterm.com ([203.47.187.211]) by ra.sigterm.com with esmtp (Exim 3.34 #1) id 16fpRb-0006kS-00; Wed, 27 Feb 2002 08:47:31 +1100 Subject: Re: X-display question From: Stuart Tanner To: Alain Fabry Cc: List FreeBSD-Questions In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.1 Date: 27 Feb 2002 09:48:18 +1200 Message-Id: <1014760099.34439.320.camel@osiris.sigterm.com> Mime-Version: 1.0 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 Alain, If you are running a VPN, when you start the X Server on Win2K tell it to query the machine running XDM (or other display manager) that you want an X session on. The VPN software should take care of routing your packets to the right location across the net for you. For example, if you are using 10.0.0.1 & 10.0.0.2 and the other side of the VPN is running 10.0.0.3 & 10.0.0.4, start your X Server with '-query 10.0.0.3(or 4)'. If that doesn't work then you need to investigate your VPN setup and firewall. On Wed, 2002-02-27 at 09:11, Alain Fabry wrote: > Following is my setup. > > FreeBSD box without monitor. Win2000 box with X-server running Xdmcp. So I get a full screen xdm session on this win2000 box -> awesome > > FreeBSD box is setup as LAN ip 10.0.0.1 and acts as gateway (natd -pppoa) to internet. I receive my internet ip address via DHCP. Win2000 box goes out to internet via 10.0.0.1. > > Now my question is the following. How can I get a xterm session from a system on the internet (actually VPN) to display on the win2000 box. > A "setenv DISPLAY "ip address of tun0" doesn't work since it will try to start the xsession on the FreeBSD box instead of the win2000 box. > Is it possible to do this with a redirect - if so, what port is used for x-term sessions? > How can I get this x-session to show up on my win2000 box? > > I hope this is clear, if not let me know and I'll try to clarify it. > Thanks in advance, > > Alain -- Stuart Tanner Philadelphia is not dull -- it just seems so because it is next to exciting Camden, New Jersey. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message