A fair number of users come to 6by9.net searching for “linux remote clipboard”. I find this interesting, as I’ve never had a use for such a thing. I do not know your use case, but I think it’s possible you’re not considering some of the more powerful options available. There are a couple remote clipboard software packages for you to consider, although you may end up having to pay a license fee. You may also be going about the solution in the wrong manner, so I’ll suggest some alternatives.