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
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Thu, 21 Oct 2004 13:20:55 +0200 (MEST)
- Subject: Re: Cygwin/X and loggin on remote server
- References: <cl7o1r$5bi$1@sea.gmane.org>
- Reply-to: cygwin-xfree at cygwin dot com
On Thu, 21 Oct 2004, Jani Tiainen wrote:
> I've used cygwin/x to use remote wm and tools for a long time, and I use
> connection via SSH tunnel since connection between machines are not secured.
>
> Now I would like to provide more generic way to login on remote machine,
> I can do this with startxwin.bat but I want to close initial _local_
> xterm used to get login & password prompt after it has fired up
> session... How can be this done...?
start xterm like this:
xterm -e "ssh -f -Y remotehost .xsession && exit"
or (simulating xdm login)
xterm -e "ssh -f -Y remotehost /etc/X11/xdm/Xsession gnome && exit"
instead of "gnome" you can use kde, kde2 or whatever window managers
are configured on the system.
If you omit the "&& exit" the xterm will stay
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723