Cygwin/X and loggin on remote server

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Thu Oct 21 14:30:00 GMT 2004


On Thu, 21 Oct 2004, Jani Tiainen wrote:

> Actually this doesn't work.
> 
> I use following line (using startxwin.bat):
> 
> run xterm -ms red -fg white -bg black -e "/usr/bin/ssh -f -Y -p 22022 
> myaccount@my.ip.com xterm && exit"
> 
> But initial xterm window stays, even you can't write anything in it...

I've tried
 - from "Run As"
 - from cygwin shell
 - from local xterm

In all cases the local xterm was closed and  the remote xterm was displayed. 
Maybe ssh reports some kine error and "&& exit" is not executed. Try

run xterm -ms red -fg white -bg black -e "/usr/bin/ssh -f -Y -p 22022 myaccount@my.ip.com xterm ; exit"

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list