On 08/26/13 07:16, Pierre Ossman wrote: > On Mon, 26 Aug 2013 06:37:18 -0700 > devsk <funt...@yahoo.com> wrote: > >> On 08/26/13 04:42, Pierre Ossman wrote: >>>> Note >>>> that the version of Fltk used by Fedora is fltk-1.3.x-r9671, whereas the >>>> TigerVNC binaries were built against fltk-1.3.2. >>> Could be the source of the problems. >> It wouldn't explain why when I use TigerVNC binaries from sourceforge on >> both client and server, the clipboard only works in one direction >> (server to client), would it? >> > It would not, as the official builds have been found to work fine by > other people. So it's something specific to your system. > >> My problem is very peculiar. >> >> 1. Selecting any text in any server window and middle click in local >> window pastes the selected text. This works for all apps, xterm and >> konsole included. This is the desired behavior. >> 2. Selecting the text on client and middle click on server window does >> not paste the text. Instead, if I select text in gvim (gedit, emacs >> etc.), use gvim's 'copy to clipboard' function (select and press 'y'), I >> can paste it in remote gvim or remote xterm/konsole window with middle >> click. >> 3. xterm/konsole is more buggy. Not only selecting text and middle >> clicking does not copy from client to server, the 'copy' function of >> konsole to copy to clipboard and then 'paste' on remote window does not >> work either. So, I have to first copy it into a local gvim, use gvim's >> 'copy to clipboard' function and then middle click in remote konsole/xterm. >> > So in other words it is not completely broken. It might be good to know > that VNC/RFB does not have the X11 concepts of separate > primary/clipboard. So the client and server will merge the two. > > So in other words, you are experiencing the following issues: > > 1) Primary selection isn't detected from any application. > > 2) konsole do not work with either primary nor clipboard. (xterm only > has primary, so it's covered by 1)) > > I can reproduce 1) with xterm and emacs, but no other application. > E.g. gedit and firefox work fine for me. 1) is not affecting all applications as it seemed before (I have tried so many combos of viewers/servers, I don't remember now). Since you mentioned firefox, I just tried and it worked. I could copy from client to server with selection and middle click.
But 1) affects one of my favorite apps: gvim. 2) is definitely there. Thanks for looking into it. -devsk ------------------------------------------------------------------------------ Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk _______________________________________________ Tigervnc-users mailing list Tigervnc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-users