This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin/X and loggin on remote server


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]