Discussion:
[Tigervnc-users] Copy/paste is not working across vncviewer(linux sessions) and native windows applications (ex: notepad)
korada venkata ramana
2014-02-11 11:48:02 UTC
Permalink
Hi,
Did you get a chance to look into this issue? I have sent my code changes in a separate request, if that helps debugging hte issue.
 
The copy/paste issue is very random. it is owrking sometimes, but the log file shows the content is sent to clipboard.
 
Best Regards,
Venkat



On Friday, 7 February 2014 1:47 PM, korada venkata ramana <***@yahoo.co.in> wrote:

Hi Pierre,
I have tested the original vncviewer clinet with original tigervnc server (unmodified)  and found the clipboard is not working between windows to Linux (both directions).
 
With our modified server and client, it is wroking fine without any issues from linux to windows, but we are facing issues only copy/pasting content f
korada venkata ramana
2014-02-11 12:50:45 UTC
Permalink
One more observation is that some times the text is getting pasted inside linux terminal window using Ctrl+Ins, but 'paste' menu is disabled.
 
Please note that the copy paste is working fine with TigerVNC 1.0.1
This issue holds us from upgrading to latest TigerVNC. Any quick help is very helpful.
 
 
Regards,
Venkat



On Tuesday, 11 February 2014 5:18 PM, korada venkata ramana <***@yahoo.co.in> wrote:

Hi,
Did you get a chance to look into this issue? I have sent my code changes in a separate request, if that helps debugging hte issue.
 
The copy/paste issue is very random. it is owrking sometimes, but the log file shows the content is sent to clipboard.
 
Best Regards,
Venkat



On Friday, 7 February 2014 1:47 PM, korada venkata ramana <***@yahoo.co.in> wrote:

Hi Pierre,
I have tested the original vncviewer clinet with original tigervnc server (unmodified)  and found the clipboard is not working between windows to Linux (both directions).
 
With our modified server and client, it is wroking fine without any issues from linux to windows, but we are facing issues only copy/pasting content from
korada venkata ramana
2014-02-24 07:34:49 UTC
Permalink
Hi,
Did you get a chance to look into the copy/paste issue? Any clues from our code changes?
We are waiting for your help to toll-out the new tool to our users Eagerly waiting for the release)

Best Regards,
Venkat



On Tuesday, 11 February 2014 6:20 PM, korada venkata ramana <***@yahoo.co.in> wrote:

One more observation is that some times the text is getting pasted inside linux terminal window using Ctrl+Ins, but 'paste' menu is disabled.
 
Please note that the copy paste is working fine with TigerVNC 1.0.1
This issue holds us from upgrading to latest TigerVNC. Any quick help is very helpful.
 
 
Regards,
Venkat



On Tuesday, 11 February 2014 5:18 PM, korada venkata ramana <***@yahoo.co.in> wrote:

Hi,
Did you get a chance to look into this issue? I have sent my code changes in a separate request, if that helps debugging hte issue.
 
The copy/paste issue is very random. it is owrking sometimes, but the log file shows the content is sent to clipboard.
 
Best Regards,
Venkat



On Friday, 7 February 2014 1:47 PM, korada venkata ramana <***@yahoo.co.in> wrote:

Hi Pierre,
I have tested the original vncviewer clinet with original tigervnc server (unmodified)  and found the clipboard is not working between windows to Linux (both directions).
 
With our modified server and client, it is wroking fine without any issues from linux to windows, but we are facing issues
Pierre Ossman
2014-02-28 13:02:33 UTC
Permalink
On Fri, 7 Feb 2014 16:17:52 +0800 (SGT),
Post by korada venkata ramana
Hi Pierre,
I have tested the original vncviewer clinet with original tigervnc server (unmodified)  and found the clipboard is not working between windows to Linux (both directions).
 
Is this with the official builds on sourceforge? As I wrote in the
other mail, I simply cannot reproduce any issues so I have to assume it
is something in your environment that is playing tricks on you.

Is vncconfig running in the VNC session? Have you tested with a more
down scaled environment on the server to rule out any clipboard
managers? Running just xterm and vncconfig would be a good test.

--
Pierre Ossman Software Development
Cendio AB http://cendio.com
Teknikringen 8 http://twitter.com/ThinLinc
583 30 Linköping http://facebook.com/ThinLinc
Phone: +46-13-214600 http://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Pierre Ossman
2014-03-24 08:44:56 UTC
Permalink
On Thu, 20 Mar 2014 22:00:04 +0800 (SGT),
Hi,
Sorry I missed this mail.
I have done the testing again on clean installs and here are my findings.
I installed the modified vncviewer on my desktop (Windows7) and installed the original server and modified server on two different linux machines.
Copy/Paste is working between the modified client(viewer) and Original server,But 
NOT working between modified client(Viewer) and the modified server.
When you say "original server", is this the builds from Sourceforge? Or
have you made your own builds without your patch? If you haven't tested
making your own build of the clean source, then I'd say that is the next
step. The problem might be your build environment and not your patch.
I am attaching the code diffs for your review. It would be very great, if you can help me in isolating the issue.
Nothing that looks obviously wrong. The only changes that are related
diff B common/rfb/SMsgReader.cxx common/rfb/SMsgReader.cxx
31c31
< static IntParameter maxCutText("MaxCutText", "Maximum permitted length of an incoming clipboard update", 256*1024);
---
static IntParameter maxCutText("MaxCutText", "Maximum permitted length of an incoming clipboard update", 1024*1024);
diff B unix/tx/TXWindow.cxx unix/tx/TXWindow.cxx
417c417
< XGetWindowProperty(dpy, win(), ev->xselection.property, 0, 16384, True,
---
XGetWindowProperty(dpy, win(), ev->xselection.property, 0, 65536, True,
You could try applying everything except those.
When I build the source without any changes, I am seeing lot of warnings. (please see the attached output. Is there any relation to these warnings and teh copy/paste issue?
I'm afraid I don't see any warnings in that build log. What should I
search for?

Rgds
--
Pierre Ossman Software Development
Cendio AB http://cendio.com
Teknikringen 8 http://twitter.com/ThinLinc
583 30 Linköping http://facebook.com/ThinLinc
Phone: +46-13-214600 http://plus.google.com/+CendioThinLinc

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Loading...