delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
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 |
Message-ID: | <41154E0F.C0D8915F@dessent.net> |
Date: | Sat, 07 Aug 2004 14:47:59 -0700 |
From: | Brian Dessent <brian AT dessent DOT net> |
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: | <loom DOT 20040807T035049-115 AT post DOT gmane DOT org> <41150C47 DOT 6030900 AT alltel DOT net> <loom DOT 20040807T232016-729 AT post DOT gmane DOT org> |
X-IsSubscribed: | yes |
Reply-To: | cygwin AT cygwin DOT com |
peter waltman wrote: > yeah. pretty much. I've set the "ForwardX11 yes" in the sshd_config file on > the server I log into and I've also set it in the ssh_config with the client I'm > using to log into it. > > piano{pwaltman}51: ssh -X grad107m > pwaltman AT grad107m's password: > Last login: Fri Aug 6 19:16:42 2004 from lin04.eecs.tufts.edu > > pwaltman AT GRAD107M ~ > $ echo $DISPLAY > 127.0.0.1:0 It could be that if DISPLAY is set before you run ssh -X then ssh won't change it. Try unsetting DISPLAY first. Also, make sure there's nothing in your profile/bashrc stuff on the remote host that messes with DISPLAY. > if $?REMOTEHOST > export DISPLAY=$REMOTEHOST:0.0 If you do this your X session is no longer tunneled through SSH, and thus not secure. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |