You could access the terminal remotely with SSH.
You could run an OpenSSH
server on the desktop that you would like to remotely log in to then use a client such as the OpenSSH client or, for Windows machines, Putty
If you need to see the output being printed on that specific window, you could always have the output written to a file as it is running. However, there is most likely a far more elegant solution.