delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 16 Nov 2006 13:24:09 -0500 |
To: | cygwin AT cygwin DOT com |
Subject: | Question on ssh to a windows machine from linux with and without a program to run |
X-Mailer: | Virtual Access Open Source http://www.virtual-access.org/ |
Message-Id: | <VA.00001492.008187f9@thesoftwaresource.com> |
Mime-Version: | 1.0 |
From: | Brian Keener <bkeener AT thesoftwaresource DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
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 |
I originally posted this in Cygwin/X but I wonder now if this is an ssh or an X issue. Acutally I know it must be some form of authority issue but not sure which security or Authority. I have a XP WIndows machine (atl-lt-5783) with Cygwin and ssh and sshd is running and I have Linux machine (atl-lt-5783-lnx with ssh and sshd running. >From the windows machine I can connect to the linux and run xterm all in the same command: ssh -X -f -l briank atl-lt-5783-lnx xterm -fg grey -bg midnightblue -cr red and after entering the password for briank on my Desktop on the XP machine I will get my xterm window for atl-lt-5783-lnx as expected. However if I try this from the Linux machine in the X interface to the Windows machine: ssh -X -f -l briank atl-lt-5783 xterm -fg grey -bg midnightblue -cr red I will ask me for a password but then I never get the xterm window. If on the other hand I do the same in two steps: ssh -X -l briank atl-lt-5783 and answer my password and get a bash shell and new prompt for atl-lt-5783 showing I am connected and then do xterm -fg grey -bg midnightblue -cr red I get my xterm window as expected. I have tried googling and also the man but I am not sure what I am looking for as far as a sympton or keyword that will get the information I need. What am I missing and is it on the linux or windows side - any thoughts. Any information and insight greatly appreciated. bk -- 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 |