There are two machines A and B. From A, I did a telnet or SSH to machine B. After getting logged in to machine B, Machine A shouldget a terminal window of B. That's B should be the owner of the terminal. If it has to do something with Xterm or XServer, I am not clear in which direction should I proceed.
I don't want to use java, rather I don't know it.