<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Hi,</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">disabling clipboard via these setting will effectively suppress communication between the client and the server regarding clipboard. All clipboard communication will then happen between libreoffice and the nxagent on the server side. No remote communication involved, not slowing down anything.</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">So chances are that your communication is too slow. I _think_ playing around with the other clipboard options will show that it works with one of the "copy from X to Y" options and not with the other. Can you confirm?</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">Uli</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Mar 13, 2025 at 3:03 PM Jens Reyer <<a href="mailto:jens.reyer@leberrohstoffe.com">jens.reyer@leberrohstoffe.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

    
<div><p>I did the lightweight test on the client side, my local PC at work.<br></p><p><br></p><p> And indeed, if I open a Mate x2go session to localhost's IP on the Linuxmint 22.1 Mate client (so server and client are the same, just different users) I can NOT reproduce the issue.<br></p><p><br></p><p>Now I connected from another client/PC to my PC (so what's usually a client acted now as remote server): the issue still exists but only in about HALF of the cases, while it previously existed consistently in every case after the first try.<br></p><p><br></p><p>In the original tests the server's were VMs (Proxmox PVE).<br></p><p><br></p><p><br></p><p>Tests with connection settings:<br></p><p><br></p><p>Previously I had the issue while connecting to the reomote server with connection LAN (here at work) and probably ADSL (from home). Now I tested the same remote server with MODEM: the issue still exists.<br></p><p><br></p><p>Then I changed the clipboard from bi-directional (German: "Zwischenablage-Modus: Kopieren und Einfügen in beide Richtungen möglich" to disabled ("Zwischenablage komplett deaktivieren"). The issue is NOT reproducible anymore.</p><p>So now we've found a workaround, good :)<br></p><p><br></p><p>Setting the keyboard from auto-detect to "Model pc105, layout de" didn't help.<br></p><p><br></p><p>Are there any other settings I should test?<br></p><p>I'll recompile nxagent later.<br></p><p><br></p><p><br></p><blockquote type="cite">Ulrich Sibiller <<a href="mailto:ulrich.sibiller@gmail.com" target="_blank">ulrich.sibiller@gmail.com</a>> hat am 13. März 2025 um 13:08 geschrieben:<br><br><div dir="ltr"><div style="font-family:"courier new",monospace">Hi,</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">just to be sure: have you done the lightweight test on the server side or the client side?</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">Assuming you have done the test on the server side. This indicates that the problem is somehow tied to the connection. Can you please check if different connection settings in x2go lead to different results?</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">You don't need to compile x2goserver, just nxagent. Compiling is done like this:</div><div style="font-family:"courier new",monospace">1. checkout nx-libs from ArcticaProject on github</div><div style="font-family:"courier new",monospace">2. run make</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">If this fails you probably need to install more dependencies. If it succeeds, you need to repeat that after changing these lines in nx-X11/programs/Xserver/hw/nxagent/Clipboard.c:</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">#undef TEST -> #define TEST</div><div style="font-family:"courier new",monospace">#undef DEBUG -> #define DEBUG</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">After running make again you should find a new nxagent in nx-X11/programs/Xserver</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">Uli</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace"><br></div></div><br><div><div dir="ltr">On Thu, Mar 13, 2025 at 11:45 AM Jens Reyer <<a href="mailto:jens.reyer@leberrohstoffe.com" target="_blank">jens.reyer@leberrohstoffe.com</a>> wrote:<br></div><blockquote><u></u><div>Sorry for yet another PS:<br>Yes, I may recompile a test x2goserver, if you tell me what changes/options you need.<br> <br><blockquote type="cite">Jens Reyer <<a href="mailto:jens.reyer@leberrohstoffe.com" target="_blank">jens.reyer@leberrohstoffe.com</a>> hat am 13. März 2025 um 11:42 geschrieben:<br><br><p>I could NOT reproduce the problem with your lightweight test on Linuxmint 22.1 Mate:<br></p><p>nxagent -ac :55</p><p>DISPLAY=:55 twm</p><p>DISPLAY=:55 soffice</p><p>--> OK (except maybe one fail, but that was probably human failure)<br></p><p><br></p><p>For the previous non-lightweight-test in twm on the remote Debian Trixie server I started in that x2go/twm session a terminal and from there soffice, since I couldn't find a direct Libreoffice launcher. So I tried this for the lightweight test - still works:<br></p><p>nxagent -ac :55</p><p>DISPLAY=:55 twm</p><p>DISPLAY=:55 xterm<br></p><p>In xterm: soffice<br></p><p>--> OK<br></p><p><br></p><p>I agree there must be something specific with newer Libreoffice versions, since I neither found this with other applications, nor with libreoffice 7.3.7. But as just discovered this is only an issue with (remote?) X2Go sessions.<br></p><p><br></p><blockquote type="cite">Ulrich Sibiller <<a href="mailto:ulrich.sibiller@gmail.com" target="_blank">ulrich.sibiller@gmail.com</a>> hat am 13. März 2025 um 10:52 geschrieben:<br><br><div dir="ltr"><div style="font-family:"courier new",monospace">Ok, thanks for the information. The nxagent is the current version, that's ok. Also I think we take out the client from the equation.</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">I have just tried your reproducer with LibreOffice 6.4.7.2 on RockyLinux 8.10 in a rootless NX session without any problems. Maybe this is tied to newer LibreOffice versions?</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">You can also do a very lightweight test locally like this:</div><div style="font-family:"courier new",monospace">1. run nxagent -ac :55</div><div style="font-family:"courier new",monospace">2. DISPLAY=:55 openbox (or any other WM)</div><div style="font-family:"courier new",monospace">3. DISPLAY=:55 soffice -> will open soffice in the nx window.</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">Is the problem showing up then, too?</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">Maybe we need more debugging information which would require to recompile nxagent on your server system.</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">Uli</div></div><br><div><div dir="ltr">On Wed, Mar 12, 2025 at 3:00 PM Ulrich Sibiller <<a href="mailto:ulrich.sibiller@gmail.com" target="_blank">ulrich.sibiller@gmail.com</a>> wrote:<br></div><blockquote><div dir="ltr"><div style="font-family:"courier new",monospace">Sorry, x2goserver-x2goagent is only a wrapper. The real functionality sits in the nxagent package, and that's the version I need. Alternatively you can run /usr/bin/x2goagent -version on the server.</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">KDE includes a clipboard manager. What DE are you using?<br><br>Does the problem also show up when you are using a very simple window manager like twm or fvwm2 or openbox?</div><div style="font-family:"courier new",monospace"><br></div><div style="font-family:"courier new",monospace">Uli</div></div><br><div><div dir="ltr">On Wed, Mar 12, 2025 at 1:55 PM Jens Reyer <<a href="mailto:jens.reyer@leberrohstoffe.com" target="_blank">jens.reyer@leberrohstoffe.com</a>> wrote:<br></div><blockquote><u></u><div><p>Hi,</p><p>thanks for the quick answer.<br></p><p><br></p><p>x2goagent 4.1.0.6, as provided by the distributions,</p><p>so on the affected Debian Trixie/Sid Mate server:</p><p>x2goserver-x2goagent 4.1.0.6-1.1+b1</p><p>and on LinuxMint 22.1 Mate:</p><p>x2goserver-x2goagent 4.1.0.6-1.1build1<br></p><p><br></p><p>To the best of my knowledge there's no clipboard manager running on the systems, neither on the 2 tested servers nor the 3 clients.<br></p><p>Most systems were just set up recently by myself, and I never used or even heard about clipboardmanagers before. Neither clipman nor xclipboard are installed.<br></p><p><br></p><p>Greets<br></p><p>jre<br></p><p><br></p><blockquote type="cite">Ulrich Sibiller <<a href="mailto:ulrich.sibiller@gmail.com" target="_blank">ulrich.sibiller@gmail.com</a>> hat am 12. März 2025 um 11:13 geschrieben:<br><br><div dir="ltr"><div style="font-family:"courier new",monospace"><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(31,73,125);font-family:Consolas;font-size:small"><span style="font-size:11pt">Hi,</span></span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(31,73,125);font-family:Consolas;font-size:small"><span style="font-size:11pt"><br></span></span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif">please<span style="font-size:11pt;color:rgb(31,73,125);font-family:Consolas"> let us know the version of nxagent (x2goagent) you are using. Also ensure that there’s no clipboard manager running (on both sides!).</span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;color:rgb(31,73,125);font-family:Consolas"><br></span></p><p style="margin:0cm 0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:11pt;color:rgb(31,73,125);font-family:Consolas">Uli</span></p></div></div><br><div><div dir="ltr">On Wed, Mar 12, 2025 at 11:11 AM Jens Reyer <<a href="mailto:jens.reyer@leberrohstoffe.com" target="_blank">jens.reyer@leberrohstoffe.com</a>> wrote:<br></div><blockquote><u></u><div><p>Package: x2goserver<br></p><p>Version: 4.1.0.6-1.1+b1</p><p>Severity: normal<br></p><p><br></p><p>Hi,</p><p>since an update/reinstallation copy&pasting in Libreoffice in X2Go always needs to be repeated, only the very first run works instantly.</p><p>We found this issue only when using X2Go, but not when working directly on the same machine.</p><p>It happens only in Libreoffice (Calc and Writer), but not in e.g. Firefox or an editor.</p><p>Starting Libreoffice in safe mode (soffice --safe-mode) does not help.</p><p><br></p><p>Steps to reproduce:</p><p><br></p><p>Start Libreoffice</p><p>ctrl+c, ctrl+v OK</p><p>ctrl+c, ctrl+v FAIL (nothing is inserted)<br></p><p>ctrl+c, ctrl+v FAIL (nothing is inserted)<br></p><p><br></p><p>Start Libreoffice</p><p>right-click > copy, right-click > paste OK</p><p>right-click > copy, right-click > paste FAIL (Libreoffice Calc asks where to shift the cells, but then nothing is inserted)<br></p><p>right-click > copy, right-click > paste FAIL (Libreoffice Calc asks where to shift the cells, but then nothing is inserted)<br></p><p><br></p><p>Workaround:</p><p>ctrl+c, ctrl+v OK</p><p>ctrl+c, ctrl+c, ctrl+v OK<br></p><p>ctrl+c, ctrl+c, ctrl+v OK<br></p><p><br></p><p>Tested affected servers:</p><p>Debian Trixie/Sid Mate (libreoffice 4:24.8.5-2 amd64, x2goserver 4.1.0.6-1.1+b1)</p><p>LinuxMint 22.1 Mate (libreoffice 4:24.2.7-0ubuntu0.24.04.2, x2goserver 4.1.0.6-1.1build1)</p><p><br></p><p>Previously not affected server:</p><p>LinuxMint 21.3 Mate (libreoffice 1:7.3.7-0ubuntu0.22.04.8, x2goserver 4.1.0.3-5)</p><p><br></p><p>Tested Clients:</p><p>Debian Trixie (x2goclient 4.1.2.3-3)</p><p>Linuxmint 22.1 (x2goclient 4.1.2.3-1build3)</p><p>Win10 (X2GoClient 4.1.2.2), with the X.org server option "do not use primary clipboard" both checked and unchecked</p><p><br></p><p>I reported this issue only here, not with the distros or Libreoffice. Please tell me if I should otherwise or if I should provide additional info or tests.</p><p><br></p><p>My boss is willing to pay for a solution. Just contact me.<br></p><p><br></p><p>Thanks in advance and thanks for all your work!</p><p>Jens Reyer</p></div>_______________________________________________<br> x2go-dev mailing list<br> <a href="mailto:x2go-dev@lists.x2go.org" target="_blank">x2go-dev@lists.x2go.org</a><br> <a href="https://lists.x2go.org/listinfo/x2go-dev" target="_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br></blockquote></div></blockquote></div>_______________________________________________<br> x2go-dev mailing list<br> <a href="mailto:x2go-dev@lists.x2go.org" target="_blank">x2go-dev@lists.x2go.org</a><br> <a href="https://lists.x2go.org/listinfo/x2go-dev" target="_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br></blockquote></div>_______________________________________________<br> x2go-dev mailing list<br> <a href="mailto:x2go-dev@lists.x2go.org" target="_blank">x2go-dev@lists.x2go.org</a><br> <a href="https://lists.x2go.org/listinfo/x2go-dev" target="_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br></blockquote></div></blockquote></blockquote><br> </div>_______________________________________________<br> x2go-dev mailing list<br> <a href="mailto:x2go-dev@lists.x2go.org" target="_blank">x2go-dev@lists.x2go.org</a><br> <a href="https://lists.x2go.org/listinfo/x2go-dev" target="_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br></blockquote></div></blockquote></div>
 </blockquote></div>