I'd like to write a shell script in csh (or something else if
necessary) that ssh's to a remote machine, runs a X Windows
application, leaves that application running, and then gives me the
terminal back on my local machine. Best I've been able to do is:
ssh -X my_server "xApp &"
The problem is that ssh logs out immediately and kills the X11
forwarding.
I've also tried:
ssh -X my_server xApp &
but then the password prompt doesn't work properly because the next
line in the script is sent as the password.
Any suggestions?
Thanks,
Alex Gerdemann