How may I read the EXISTING output content from another terminal, like an SSH terminal?
The scenario is I ran a program in a GUI session but later on I need to read its output remotely without touching its GUI session (I know I can if I use VNC). I did a bit search in StackExchange but their stories are different.
https://unix.stackexchange.com/a/72334 gives a solution to redirecting its FUTURE output towards the remote terminal but still, the EXISTING output is missing. Any solution to this?