I am running jobs on a remote server, using a bad connection which drops frequently. So I use tmux, to connect to the session again by re-connecting. This way, I can access my existing terminals, and any jobs that are running on the terminals, eg vim.
But if I am running a job like gvim, or any other application which opens up a different window, I dont see that window after re-connecting. But I can see the process for it still running using ps.
So, after reconnecting, how do I get that gvim window back again for usage?
echo $DISPLAY
? – aviro Feb 10 '22 at 12:04