delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/02/17:45:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4C801AE0.9050602@bopp.net>
Date: Thu, 02 Sep 2010 16:45:04 -0500
From: Jeremy Bopp <jeremy AT bopp DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: export DISPLAY={localWorkstationIP} in mintty
References: <29609361 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <29609361.post@talk.nabble.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 9/2/2010 4:34 PM, PaulHR wrote:
> 
> Is there anyway to get the IP address from the local workstation, running
> mintty, and putting the local workstation IP address into the export DISPLAY
> command running on a different mintty shell, running on a server e.g.
> 
> 
> export DISPLAY={localWorkstationIP}
> 
> 
> Or, is there a way to get the local workstation IP address in a mintty
> shell, to a remote server, in such a fashion that it can be used in the
> export command like above?
> 
> 
> I am trying to get my xWindows export setup automatically when I sign on.

If you're still connecting to the remote systems with SSH, you can allow
SSH to tunnel the X connection for you using the -X option to the ssh
client you use to make your connection.  The remote DISPLAY variable
then automatically points to something which does effectively what you need.

-Jeremy

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019