This question already has an answer here:
I am presently viewing the desktop of a remote machine running Rasbian (raspberry pi) on my local machine running Linux Mint using RealVNC. Teamviewer also works. But I don't want to see that remote machine's entire desktop, I just want to view/forward two or three of the remote machine's open windows on my local machine's desktop, as if they were windows created by local gui processes.
IOW, remote machine has a desktop, and on that desktop are several windows running processes. My local machine also has a desktop and there are a few open windows on it, too. I want to be able to add some of the remote machine's windows to my local desktop, not the entire remote desktop. And be able to re-arrange them on my desktop just as if they were windows running on my local machine, and (he asks too much!) be able to interact with the remoted windows just like I can with the local windows. Does this makes sense?