Hi Léa!
Am 15.01.20 um 12:08 schrieb Lmhelp1:
Here is the problem: as long as I copy and paste strings from the Windows system to a console (xterm) in the Linux system, it works fine. If I start, for example, "gvim foo.txt" which contains the string "foo", select "foo" with the mouse and try to paste it in a Gvim or a Notepad running on the Windows system, the string "foo" is not pasted in the Windows Gvim or Notepad. And starting from this point, I cannot copy and paste anything between the two systems. I have to close all the Windows in the Linux system, close the X2Go session and restart a new one to have copy and paste work again between the two systems. And, as soon as I open a document with Gvim in the Linux system, and try to copy and paste strings to and from it, it malfunctions again. Practically, it becomes very unhandy because I regularly need to copy and paste things that way between the two systems.
Can you help me solve that problem? Thanks and best regards. First, do you really have to close the X2Go session? I would have expected that suspending it, closing X2GoClient on Windows, and restarting it would be enough to reset the clipboard.
Second, there have been some changes to vim regarding the handling of mouse commands, I believe this started with the version shipped with Debian Stretch and got even worse in Buster. Maybe try:
:set mouse=
in gvim before trying to copy-paste things?
Third, we are currently beta-testing a new version of the NX libraries with numerous clipboard fixes. Please visit <https://wiki.x2go.org/doku.php/doc:howto:nx-libs-betatesting> and see if you can help us test the new version, so it can become a part of X2Go proper.
Kind Regards, Stefan Baur
-- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243