I have a VNC session running and I'd like to share the clipboard between the two systems bidirectionally. The operation that's failing is where I take a URL from my desktop's web browser, go to my vnc session, highlight the text in the address bar, hit delete the old URL, and then CTRL-V to paste the URL from my desktop.
The part that's failing is where I delete out the old URL. For some reason highlighting the URL and deleting it using any method I can think of (backspace, delete key, right clicking and selecting "delete" from the context menu, etc) results in that text being cut to the clipboard and sent to the client computer (clobbering what I was trying to copy in the first place).
If I don't highlight and instead just hold down the backspace key until the URL is gone, the clipboard is preserved so it appears to only affect this one specific operation. I can workaround the issue (sort of) by disabling clipboard updates from the VNC server (so updates only go from clients to the server) but I want bidirectional support.
Since it happens even when deleting from the context menu it doesn't seem like key mapping. I just happen to be doing this with VNC so it may not be related but I've never had this sort of behavior with X11 or GNOME before (which I use at home on a daily basis). I've also reproduced this going between
notepad with identical results. So it doesn't seem to be a browser issue.
- VNC Server: TigerVNC 1.1
- VNC Client: RealVNC 5.2
- Server Desktop: GNOME 2.28 on RHEL 6.6
- Client Desktop: Windows 7