On Wed, Mar 27, 2019 at 4:32 PM Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
Am 27.03.19 um 16:30 schrieb Ulrich Sibiller:
You did notice that he said he's trying to mirror a physical display,
right? Was clipboard sharing ever supported there? I don't think so ...
Sorry, I missed that. Well, I don't know if it is supported there. Must check.
How would you even keep 4 clipboards (User's client, actual X2Go
session, support person's client, shadow X2Go Session) in sync? Sounds
like a nightmare to begin with.
Well, in principle it is simple. I reality it's not. The problems are manyfold:
them somehow which - in the past - proved to go wrong sometimes.
- there are several types of clipboard (PRIMARY, CLIPBOARD,
CutBuffers). Not all platforms support all types. So you have to sync
- there are differences in the type of clipboard content that can be
handled on different platforms
- we have not yet included the INCR message type yet so the maximum
clipboard size is currently limited
- clipboard managers offten disturb the communication at some point.
Some platforms and frameworks include clipboard managers that cannot
be disabled
- bugs in X servers do not help
- debugging is difficult/complicated as always multiple
windows/clipboard owners are involved
- there's also a multi-stage protocol between nxagent and nxproxy for
clipboard transfer
- understanding the existing clipboard code is complicated.
Anyone is invited to help here!
Uli