I've ssh-ed into a Debian computer from a Ubuntu computer (via an intermediate computer) and have problems getting cut-n-paste to work. Neither can I select text and insert that using middle-click. There's no fancy cut-n-paste between computers, just copy text from one remote X client application to another remote X client application (or even the same X client application)
What I see is that when I paste in a remote X client application the content of the last cut/copy from a LOCAL X client application is inserted, as if cut/copy from remote X client application doesn't matter.
How do I get this to work properly?