Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41178871.7EA331CA@dessent.net> Date: Mon, 09 Aug 2004 07:21:37 -0700 From: Brian Dessent Organization: My own little world... MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: how can I set $REMOTEHOST ( so I can set $DISPLAY with sshd w\X11 forwarding) References: <41150C47 DOT 6030900 AT alltel DOT net> <41154E0F DOT C0D8915F AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Igor Pechtchanski wrote: > > It could be that if DISPLAY is set before you run ssh -X then ssh won't > > change it. Try unsetting DISPLAY first. > > This is wrong. "ssh -X/-Y" will not enable X11 forwarding *unless* > DISPLAY is set in the local shell. Ahh, I should read the man page more often. I knew there was some relation between setting $DISPLAY before invoking ssh -X, but I guess those neurons were crossed. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/