Cygwin/X and loggin on remote server
Alexander Gottwald
alexander.gottwald@s1999.tu-chemnitz.de
Thu Oct 21 11:20:00 GMT 2004
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
More information about the Cygwin-xfree
mailing list