This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Cygwin/X and loggin on remote server
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