From unknown Fri May 08 13:26:22 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1633: [X2Go-Dev] Bug#1633: New clipboard issue in Libreoffice with X2Go
Reply-To: Ulrich Sibiller <ulrich.sibiller@gmail.com>, 1633@bugs.x2go.org
Resent-From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 17 Mar 2025 12:15:01 +0000
Resent-Message-ID: <handler.1633.B1633.17422136491441362@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1633
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
References: <CANVnVYLkcoG0nfM1j5kRJ2yYxX2TTiBcc3k6QuqYPLG7Q6FW5w@mail.gmail.com> <810710459.135614.1741783851926@195.98.208.36> <CANVnVYL+si4Dn5OypG3iBYgwD-uf-n=mgLmWbFj6eoTv47S0aA@mail.gmail.com> <CANVnVYJX1DNocs6252Vin_G-_W8+h4amJ2wFgmu0AV6A=BqVhA@mail.gmail.com> <1728065184.137568.1741862572763@195.98.208.36> <1081187274.137588.1741862691938@195.98.208.36> <CANVnVY+DBpxq8E8KrAdP75+YEsKGM-Eup9dADxyCnntwjz8uLw@mail.gmail.com> <1748520028.138240.1741874623478@195.98.208.36> <999247165.134927.1741773596827@195.98.208.36> <CANVnVYLD5DjxtGQpb=S_0_95eMW2=Up0z1napK6CqTBuNTTa6A@mail.gmail.com> <192506419.142362.1742212383293@195.98.208.36> <999247165.134927.1741773596827@195.98.208.36>
Received: via spool by 1633-submit@bugs.x2go.org id=B1633.17422136491441362
          (code B ref 1633); Mon, 17 Mar 2025 12:15:01 +0000
Received: (at 1633) by bugs.x2go.org; 17 Mar 2025 12:14:09 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,
	RCVD_IN_DNSWL_BLOCKED,RCVD_IN_ZEN_BLOCKED_OPENDNS,SPF_HELO_NONE,
	URIBL_BLOCKED,URIBL_DBL_BLOCKED_OPENDNS,URIBL_ZEN_BLOCKED_OPENDNS
	autolearn=ham autolearn_force=no version=3.4.4
Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 943565DA7C
	for <1633@bugs.x2go.org>; Mon, 17 Mar 2025 13:14:00 +0100 (CET)
Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-549967c72bcso4686604e87.3
        for <1633@bugs.x2go.org>; Mon, 17 Mar 2025 05:14:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1742213640; x=1742818440; darn=bugs.x2go.org;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :from:to:cc:subject:date:message-id:reply-to;
        bh=rG44LIIM9F3Rb+yLojrdGmVSysxfyI8ksy1o2J9AO2A=;
        b=h3fjhSvEcfMPJmtUmIDppMNZ92bDzyB1m3BsGdHxOFRjCqwCTnR78tmzir6DzoALnP
         0GVUIzvlWZpFJyo6cfzbOjvIYvglNw5BLm1bks46qjx1JGRFHUdWSHFEZ3A3k2WkWMk+
         7wxxIepcLj7EEOdzj8vuIbUnw2M4Oj1zXpm4rX9jSegdAszxblLk7EgOZO+3bSTKRHno
         gSro8AXr2UMeLnEtFwn+lTRNdvE0ZopLNoNtPJrWeZKycWaW03j7FFm0JIX/ytaJtcD0
         SerbX4SGROmuOuxXISO8glBcoLBRgMeKc1zEoa1z2gqPSiaxr8V0oEiCawEHh2dgdjuF
         gsJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1742213640; x=1742818440;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
        bh=rG44LIIM9F3Rb+yLojrdGmVSysxfyI8ksy1o2J9AO2A=;
        b=MB62s183bkCySMybE1CednpSLrA6thTWzCb5QZmYmK/Gy2MikQI2RXBOzAcZl4cMaD
         OjTPgFAxglUHAv3sVV3ZvE3sN7rmvGjzvPi5TCLEpRwD0pEFZPpQE8fuwlopY7GlH0PN
         xHpvkp5bmfj6nriRtbxcqJVT0GIlfx9uIiAMUrms7WywmhPQ0Q4LSTe4kfQmhdj1I3L1
         h6/+UqJbZqnPdm6yyAk04STcfCGtpH3ggLPFlr4UuR80NXJZclUQj2UeF7YRuRUdPjUE
         Nr294EGXD5hwbvH2Be3px15cbOgcNwVPsZq3CcaRRwtnR/b6QfGhdWaXjFee1s1394Ui
         aRvQ==
X-Forwarded-Encrypted: i=1; AJvYcCUmcwVG1Dl79FWw10GuFzYalCVhCHHnMAlECmQTw3zY8t8OZP5rZoZmJEF2pZ1zdVp1JE1x@bugs.x2go.org
X-Gm-Message-State: AOJu0Yz3iOli+2b5u8isc9hWoLd4NHSOly+9ASxUVgeVPjE3KcDEEEeL
	HrPe02FkeBomLVat4nd+d1dZa+l5d2y4ec3k5UgLuCFzAbP5A+USE77kBiOO9E7a94gxRK74sly
	O+P5vHXD2Tcz5wL7nXZnUMv9bldE=
X-Gm-Gg: ASbGncvE7A4Bb3tdokPmyEGTUBZ5rTanjEs3+u+Ykwjt1EApQVZEoApRVcNSz708u+b
	aE5KzESOEBla2eigfZfir4nNEIYhYODFt1dZ0sD0u3KRu5ZxJee9o1dyYb3Jp6zLfavlE61nEdD
	xAIU7MAz7C+EFbiZEky3jXzOoY
X-Google-Smtp-Source: AGHT+IFXdqWwaGMwFaND92e2/IblOQjkVRRRdF3JWkZK/SRFvHHIvaxeb7yX4c7lFm7gVEBccWLEkC/ufDOs7xNS7rI=
X-Received: by 2002:a05:6512:10d1:b0:545:3031:40aa with SMTP id
 2adb3069b0e04-549c38f209cmr4948334e87.9.1742213639087; Mon, 17 Mar 2025
 05:13:59 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <192506419.142362.1742212383293@195.98.208.36>
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Mon, 17 Mar 2025 13:13:31 +0100
X-Gm-Features: AQ5f1JqNCnVErC_6Lt-U4r15fpz-_nwLCeqwYCTxDiNdWoUbmk1WNJg4cpbLhXc
Message-ID: <CANVnVYK=JUV9-xmZPdOcme0SEFqk+jsxLEL7WJyYJQ2Eg3qk=Q@mail.gmail.com>
To: Jens Reyer <jens.reyer@leberrohstoffe.com>, 1633@bugs.x2go.org
Content-Type: multipart/alternative; boundary="00000000000014b4ee063088b9c9"

--00000000000014b4ee063088b9c9
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

I don't know the differences between the x2go repo (I have nothing to do
with this; I am developing solely on the arctica repo) and the arctica
repo. But since this is 3.5.99.27 there shouldn't be too many differences,
especially regarding clipboard. So this is ok.

The results are interesting (and match my assumptions). Now that we know
that the client to server synchronisation is the culprit we can deduce some
problem on the client side. I will scan the logfile later, maybe it will
shine some light on the issue. For now it might be interesting to know if
the server server clipboard can be pasted _on the client side_.

Uli




On Mon, Mar 17, 2025 at 12:55=E2=80=AFPM Jens Reyer <jens.reyer@leberrohsto=
ffe.com>
wrote:

> Hi
>
>
> I recompiled nx-libs (based on the current Debian 2:3.5.99.27-2 code,
> NXAGENT Version 3.5.99.27). I hope this works, tell me if I need to switc=
h
> to the Arctica code). There I enabled TEST and DEBUG and installed those
> packages.
> Attached is a session.log (Mate, with LibreCalc autostarted, where I firs=
t
> type in a cell, then do a successful ctrl+c, ctrl+v, then a failed one an=
d
> then a successful one.
>
>
> results for different clipboard settings:
>
> Clipboard bidirectional between client and server: first, and then every
> second attempt work
>
> Clipboard client to server: half of the attempts fail, no clear pattern
> which ones fail
>
> Clipboard server to client: everything works
>
> Clipboard between server and client disabled: everything works
>
>
>
>
> Thanks!
>
>
> Ulrich Sibiller <ulrich.sibiller@gmail.com> hat am 13. M=C3=A4rz 2025 um =
15:15
> geschrieben:
>
> Hi,
>
> 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.
>
> 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?
>
> Uli
>
>
> On Thu, Mar 13, 2025 at 3:03=E2=80=AFPM Jens Reyer <jens.reyer@leberrohst=
offe.com>
> wrote:
>
> I did the lightweight test on the client side, my local PC at work.
>
>
> 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.
>
>
> 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 ever=
y
> case after the first try.
>
>
> In the original tests the server's were VMs (Proxmox PVE).
>
>
>
> Tests with connection settings:
>
>
> 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.
>
>
> Then I changed the clipboard from bi-directional (German:
> "Zwischenablage-Modus: Kopieren und Einf=C3=BCgen in beide Richtungen m=
=C3=B6glich"
> to disabled ("Zwischenablage komplett deaktivieren"). The issue is NOT
> reproducible anymore.
>
> So now we've found a workaround, good :)
>
>
> Setting the keyboard from auto-detect to "Model pc105, layout de" didn't
> help.
>
>
> Are there any other settings I should test?
>
> I'll recompile nxagent later.
>
>
>
> Ulrich Sibiller <ulrich.sibiller@gmail.com> hat am 13. M=C3=A4rz 2025 um =
13:08
> geschrieben:
>
> Hi,
>
> just to be sure: have you done the lightweight test on the server side or
> the client side?
>
> 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?
>
> You don't need to compile x2goserver, just nxagent. Compiling is done lik=
e
> this:
> 1. checkout nx-libs from ArcticaProject on github
> 2. run make
>
> 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:
>
> #undef TEST -> #define TEST
> #undef DEBUG -> #define DEBUG
>
> After running make again you should find a new nxagent in
> nx-X11/programs/Xserver
>
> Uli
>
>
>
> On Thu, Mar 13, 2025 at 11:45=E2=80=AFAM Jens Reyer <jens.reyer@leberrohs=
toffe.com>
> wrote:
>
> Sorry for yet another PS:
> Yes, I may recompile a test x2goserver, if you tell me what
> changes/options you need.
>
> Jens Reyer <jens.reyer@leberrohstoffe.com> hat am 13. M=C3=A4rz 2025 um 1=
1:42
> geschrieben:
>
> I could NOT reproduce the problem with your lightweight test on Linuxmint
> 22.1 Mate:
>
> nxagent -ac :55
>
> DISPLAY=3D:55 twm
>
> DISPLAY=3D:55 soffice
>
> --> OK (except maybe one fail, but that was probably human failure)
>
>
> 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:
>
> nxagent -ac :55
>
> DISPLAY=3D:55 twm
>
> DISPLAY=3D:55 xterm
>
> In xterm: soffice
>
> --> OK
>
>
> 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.
>
>
> Ulrich Sibiller <ulrich.sibiller@gmail.com> hat am 13. M=C3=A4rz 2025 um =
10:52
> geschrieben:
>
> 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.
>
> 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?
>
> You can also do a very lightweight test locally like this:
> 1. run nxagent -ac :55
> 2. DISPLAY=3D:55 openbox (or any other WM)
> 3. DISPLAY=3D:55 soffice -> will open soffice in the nx window.
>
> Is the problem showing up then, too?
>
> Maybe we need more debugging information which would require to recompile
> nxagent on your server system.
>
>
> Uli
>
> On Wed, Mar 12, 2025 at 3:00=E2=80=AFPM Ulrich Sibiller <ulrich.sibiller@=
gmail.com>
> wrote:
>
> Sorry, x2goserver-x2goagent is only a wrapper. The real functionality sit=
s
> in the nxagent package, and that's the version I need. Alternatively you
> can run /usr/bin/x2goagent -version on the server.
>
> KDE includes a clipboard manager. What DE are you using?
>
> Does the problem also show up when you are using a very simple window
> manager like twm or fvwm2 or openbox?
>
> Uli
>
> On Wed, Mar 12, 2025 at 1:55=E2=80=AFPM Jens Reyer <jens.reyer@leberrohst=
offe.com>
> wrote:
>
> Hi,
>
> thanks for the quick answer.
>
>
> x2goagent 4.1.0.6, as provided by the distributions,
>
> so on the affected Debian Trixie/Sid Mate server:
>
> x2goserver-x2goagent 4.1.0.6-1.1+b1
>
> and on LinuxMint 22.1 Mate:
>
> x2goserver-x2goagent 4.1.0.6-1.1build1
>
>
> 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.
>
> Most systems were just set up recently by myself, and I never used or eve=
n
> heard about clipboardmanagers before. Neither clipman nor xclipboard are
> installed.
>
>
> Greets
>
> jre
>
>
> Ulrich Sibiller <ulrich.sibiller@gmail.com> hat am 12. M=C3=A4rz 2025 um =
11:13
> geschrieben:
>
> Hi,
>
>
> please let us know the version of nxagent (x2goagent) you are using. Also
> ensure that there=E2=80=99s no clipboard manager running (on both sides!)=
.
>
>
> Uli
>
> On Wed, Mar 12, 2025 at 11:11=E2=80=AFAM Jens Reyer <jens.reyer@leberrohs=
toffe.com>
> wrote:
>
> Package: x2goserver
>
> Version: 4.1.0.6-1.1+b1
>
> Severity: normal
>
>
> Hi,
>
> since an update/reinstallation copy&pasting in Libreoffice in X2Go always
> needs to be repeated, only the very first run works instantly.
>
> We found this issue only when using X2Go, but not when working directly o=
n
> the same machine.
>
> It happens only in Libreoffice (Calc and Writer), but not in e.g. Firefox
> or an editor.
>
> Starting Libreoffice in safe mode (soffice --safe-mode) does not help.
>
>
> Steps to reproduce:
>
>
> Start Libreoffice
>
> ctrl+c, ctrl+v OK
>
> ctrl+c, ctrl+v FAIL (nothing is inserted)
>
> ctrl+c, ctrl+v FAIL (nothing is inserted)
>
>
> Start Libreoffice
>
> right-click > copy, right-click > paste OK
>
> right-click > copy, right-click > paste FAIL (Libreoffice Calc asks where
> to shift the cells, but then nothing is inserted)
>
> right-click > copy, right-click > paste FAIL (Libreoffice Calc asks where
> to shift the cells, but then nothing is inserted)
>
>
> Workaround:
>
> ctrl+c, ctrl+v OK
>
> ctrl+c, ctrl+c, ctrl+v OK
>
> ctrl+c, ctrl+c, ctrl+v OK
>
>
> Tested affected servers:
>
> Debian Trixie/Sid Mate (libreoffice 4:24.8.5-2 amd64, x2goserver
> 4.1.0.6-1.1+b1)
>
> LinuxMint 22.1 Mate (libreoffice 4:24.2.7-0ubuntu0.24.04.2,
> x2goserver 4.1.0.6-1.1build1)
>
>
> Previously not affected server:
>
> LinuxMint 21.3 Mate (libreoffice 1:7.3.7-0ubuntu0.22.04.8, x2goserver
> 4.1.0.3-5)
>
>
> Tested Clients:
>
> Debian Trixie (x2goclient 4.1.2.3-3)
>
> Linuxmint 22.1 (x2goclient 4.1.2.3-1build3)
>
> Win10 (X2GoClient 4.1.2.2), with the X.org server option "do not use
> primary clipboard" both checked and unchecked
>
>
> 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 in=
fo
> or tests.
>
>
> My boss is willing to pay for a solution. Just contact me.
>
>
> Thanks in advance and thanks for all your work!
>
> Jens Reyer
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
>
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
>
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
>
>
>
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
>
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev
>

--00000000000014b4ee063088b9c9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:&quot;co=
urier new&quot;,monospace">Hi,</div><div class=3D"gmail_default" style=3D"f=
ont-family:&quot;courier new&quot;,monospace"><br></div><div class=3D"gmail=
_default" style=3D"font-family:&quot;courier new&quot;,monospace">I don&#39=
;t know the differences between the x2go repo (I have nothing to do with th=
is; I am developing solely on the arctica repo) and the arctica repo. But s=
ince this is 3.5.99.27 there shouldn&#39;t be too many differences, especia=
lly regarding clipboard. So this is ok.</div><div class=3D"gmail_default" s=
tyle=3D"font-family:&quot;courier new&quot;,monospace"><br></div><div class=
=3D"gmail_default" style=3D"font-family:&quot;courier new&quot;,monospace">=
The results are interesting (and match my assumptions). Now that we know th=
at the client to server synchronisation=C2=A0is the culprit we can deduce s=
ome problem on the client side. I will scan the logfile later, maybe it wil=
l shine some light on the issue. For now it might be interesting to know if=
 the server server clipboard can be pasted _on the client side_.</div><div =
class=3D"gmail_default" style=3D"font-family:&quot;courier new&quot;,monosp=
ace"><br></div><div class=3D"gmail_default" style=3D"font-family:&quot;cour=
ier new&quot;,monospace">Uli</div><div class=3D"gmail_default" style=3D"fon=
t-family:&quot;courier new&quot;,monospace"><br></div><div class=3D"gmail_d=
efault" style=3D"font-family:&quot;courier new&quot;,monospace"><br></div><=
div class=3D"gmail_default" style=3D"font-family:&quot;courier new&quot;,mo=
nospace"><br></div></div><br><div class=3D"gmail_quote gmail_quote_containe=
r"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, Mar 17, 2025 at 12:55=E2=
=80=AFPM Jens Reyer &lt;<a href=3D"mailto:jens.reyer@leberrohstoffe.com">je=
ns.reyer@leberrohstoffe.com</a>&gt; wrote:<br></div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex"><u></u>

   =20
<div><p>Hi<br></p><p><br></p><p>I recompiled nx-libs (based on the current =
Debian 2:3.5.99.27-2 code, NXAGENT Version 3.5.99.27). I hope this works, t=
ell me if I need to switch to the Arctica code). There I enabled TEST and D=
EBUG and installed those packages.<br>Attached is a session.log (Mate, with=
 LibreCalc autostarted, where I first type in a cell, then do a successful =
ctrl+c, ctrl+v, then a failed one and then a successful one.</p><p><br></p>=
<p>results for different clipboard settings:<br></p><p>Clipboard bidirectio=
nal between client and server: first, and then every second attempt work<br=
></p><p>Clipboard client to server: half of the attempts fail, no clear pat=
tern which ones fail<br></p><p>Clipboard server to client: everything works=
<br></p><p>Clipboard between server and client disabled: everything works<b=
r></p><p><br></p><p><br></p><p><br></p><p>Thanks!<br></p><p><br></p><blockq=
uote type=3D"cite">Ulrich Sibiller &lt;<a href=3D"mailto:ulrich.sibiller@gm=
ail.com" target=3D"_blank">ulrich.sibiller@gmail.com</a>&gt; hat am 13. M=
=C3=A4rz 2025 um 15:15 geschrieben:<br><br><div dir=3D"ltr"><div style=3D"f=
ont-family:&quot;courier new&quot;,monospace">Hi,</div><div style=3D"font-f=
amily:&quot;courier new&quot;,monospace"><br></div><div style=3D"font-famil=
y:&quot;courier new&quot;,monospace">disabling clipboard via these setting =
will effectively suppress communication between the client and the server r=
egarding clipboard. All clipboard communication will then happen between li=
breoffice and the nxagent on the server side. No remote communication invol=
ved, not slowing down anything.</div><div style=3D"font-family:&quot;courie=
r new&quot;,monospace"><br></div><div style=3D"font-family:&quot;courier ne=
w&quot;,monospace">So chances are that your communication is too slow. I _t=
hink_ playing around with the other clipboard options will show that it wor=
ks with one of the &quot;copy from X to Y&quot; options and not with the ot=
her. Can you confirm?</div><div style=3D"font-family:&quot;courier new&quot=
;,monospace"><br></div><div style=3D"font-family:&quot;courier new&quot;,mo=
nospace">Uli</div><div style=3D"font-family:&quot;courier new&quot;,monospa=
ce"><br></div></div><br><div><div dir=3D"ltr">On Thu, Mar 13, 2025 at 3:03=
=E2=80=AFPM Jens Reyer &lt;<a href=3D"mailto:jens.reyer@leberrohstoffe.com"=
 target=3D"_blank">jens.reyer@leberrohstoffe.com</a>&gt; wrote:<br></div><b=
lockquote><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 se=
ssion to localhost&#39;s IP on the Linuxmint 22.1 Mate client (so server an=
d 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 w=
hat&#39;s usually a client acted now as remote server): the issue still exi=
sts but only in about HALF of the cases, while it previously existed consis=
tently in every case after the first try.<br></p><p><br></p><p>In the origi=
nal tests the server&#39;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 h=
ad the issue while connecting to the reomote server with connection LAN (he=
re at work) and probably ADSL (from home). Now I tested the same remote ser=
ver with MODEM: the issue still exists.<br></p><p><br></p><p>Then I changed=
 the clipboard from bi-directional (German: &quot;Zwischenablage-Modus: Kop=
ieren und Einf=C3=BCgen in beide Richtungen m=C3=B6glich&quot; to disabled =
(&quot;Zwischenablage komplett deaktivieren&quot;). The issue is NOT reprod=
ucible anymore.</p><p>So now we&#39;ve found a workaround, good :)<br></p><=
p><br></p><p>Setting the keyboard from auto-detect to &quot;Model pc105, la=
yout de&quot; didn&#39;t help.<br></p><p><br></p><p>Are there any other set=
tings I should test?<br></p><p>I&#39;ll recompile nxagent later.<br></p><p>=
<br></p><p><br></p><blockquote type=3D"cite">Ulrich Sibiller &lt;<a href=3D=
"mailto:ulrich.sibiller@gmail.com" target=3D"_blank">ulrich.sibiller@gmail.=
com</a>&gt; hat am 13. M=C3=A4rz 2025 um 13:08 geschrieben:<br><br><div dir=
=3D"ltr"><div style=3D"font-family:&quot;courier new&quot;,monospace">Hi,</=
div><div style=3D"font-family:&quot;courier new&quot;,monospace"><br></div>=
<div style=3D"font-family:&quot;courier new&quot;,monospace">just to be sur=
e: have you done the lightweight test on the server side or the client side=
?</div><div style=3D"font-family:&quot;courier new&quot;,monospace"><br></d=
iv><div style=3D"font-family:&quot;courier new&quot;,monospace">Assuming yo=
u 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 connecti=
on=C2=A0settings in x2go lead to different results?</div><div style=3D"font=
-family:&quot;courier new&quot;,monospace"><br></div><div style=3D"font-fam=
ily:&quot;courier new&quot;,monospace">You=C2=A0don&#39;t need to compile x=
2goserver, just nxagent. Compiling is done like this:</div><div style=3D"fo=
nt-family:&quot;courier new&quot;,monospace">1. checkout nx-libs from Arcti=
caProject on github</div><div style=3D"font-family:&quot;courier new&quot;,=
monospace">2. run make</div><div style=3D"font-family:&quot;courier new&quo=
t;,monospace"><br></div><div style=3D"font-family:&quot;courier new&quot;,m=
onospace">If this fails=C2=A0you probably need to install more dependencies=
. If it succeeds, you need to repeat=C2=A0that after changing these lines i=
n nx-X11/programs/Xserver/hw/nxagent/Clipboard.c:</div><div style=3D"font-f=
amily:&quot;courier new&quot;,monospace"><br></div><div style=3D"font-famil=
y:&quot;courier new&quot;,monospace">#undef TEST -&gt; #define TEST</div><d=
iv style=3D"font-family:&quot;courier new&quot;,monospace">#undef DEBUG -&g=
t; #define DEBUG</div><div style=3D"font-family:&quot;courier new&quot;,mon=
ospace"><br></div><div style=3D"font-family:&quot;courier new&quot;,monospa=
ce">After running make again you should find a new nxagent in nx-X11/progra=
ms/Xserver</div><div style=3D"font-family:&quot;courier new&quot;,monospace=
"><br></div><div style=3D"font-family:&quot;courier new&quot;,monospace">Ul=
i</div><div style=3D"font-family:&quot;courier new&quot;,monospace"><br></d=
iv><div style=3D"font-family:&quot;courier new&quot;,monospace"><br></div><=
/div><br><div><div dir=3D"ltr">On Thu, Mar 13, 2025 at 11:45=E2=80=AFAM Jen=
s Reyer &lt;<a href=3D"mailto:jens.reyer@leberrohstoffe.com" target=3D"_bla=
nk">jens.reyer@leberrohstoffe.com</a>&gt; 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=3D"=
cite">Jens Reyer &lt;<a href=3D"mailto:jens.reyer@leberrohstoffe.com" targe=
t=3D"_blank">jens.reyer@leberrohstoffe.com</a>&gt; hat am 13. M=C3=A4rz 202=
5 um 11:42 geschrieben:<br><br><p>I could NOT reproduce the problem with yo=
ur lightweight test on Linuxmint 22.1 Mate:<br></p><p>nxagent -ac :55</p><p=
>DISPLAY=3D:55 twm</p><p>DISPLAY=3D:55 soffice</p><p>--&gt; OK (except mayb=
e one fail, but that was probably human failure)<br></p><p><br></p><p>For t=
he 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&#39;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=3D=
:55 twm</p><p>DISPLAY=3D:55 xterm<br></p><p>In xterm: soffice<br></p><p>--&=
gt; OK<br></p><p><br></p><p>I agree there must be something specific with n=
ewer Libreoffice versions, since I neither found this with other applicatio=
ns, nor with libreoffice 7.3.7. But as just discovered this is only an issu=
e with (remote?) X2Go sessions.<br></p><p><br></p><blockquote type=3D"cite"=
>Ulrich Sibiller &lt;<a href=3D"mailto:ulrich.sibiller@gmail.com" target=3D=
"_blank">ulrich.sibiller@gmail.com</a>&gt; hat am 13. M=C3=A4rz 2025 um 10:=
52 geschrieben:<br><br><div dir=3D"ltr"><div style=3D"font-family:&quot;cou=
rier new&quot;,monospace">Ok, thanks for the information. The=C2=A0nxagent =
is the current version,=C2=A0that&#39;s ok. Also I think we take out the cl=
ient from the equation.</div><div style=3D"font-family:&quot;courier new&qu=
ot;,monospace"><br></div><div style=3D"font-family:&quot;courier new&quot;,=
monospace">I have just tried your reproducer with LibreOffice 6.4.7.2 on Ro=
ckyLinux 8.10 in a rootless NX session without any problems. Maybe this is =
tied to newer LibreOffice versions?</div><div style=3D"font-family:&quot;co=
urier new&quot;,monospace"><br></div><div style=3D"font-family:&quot;courie=
r new&quot;,monospace">You can also do a very lightweight test locally like=
 this:</div><div style=3D"font-family:&quot;courier new&quot;,monospace">1.=
 run nxagent -ac :55</div><div style=3D"font-family:&quot;courier new&quot;=
,monospace">2. DISPLAY=3D:55 openbox (or any other WM)</div><div style=3D"f=
ont-family:&quot;courier new&quot;,monospace">3. DISPLAY=3D:55 soffice -&gt=
; will open soffice in the nx window.</div><div style=3D"font-family:&quot;=
courier new&quot;,monospace"><br></div><div style=3D"font-family:&quot;cour=
ier new&quot;,monospace">Is the problem showing up then, too?</div><div sty=
le=3D"font-family:&quot;courier new&quot;,monospace"><br></div><div style=
=3D"font-family:&quot;courier new&quot;,monospace">Maybe we need more debug=
ging information which would require to recompile nxagent on your server sy=
stem.</div><div style=3D"font-family:&quot;courier new&quot;,monospace"><br=
></div><div style=3D"font-family:&quot;courier new&quot;,monospace"><br></d=
iv><div style=3D"font-family:&quot;courier new&quot;,monospace">Uli</div></=
div><br><div><div dir=3D"ltr">On Wed, Mar 12, 2025 at 3:00=E2=80=AFPM Ulric=
h Sibiller &lt;<a href=3D"mailto:ulrich.sibiller@gmail.com" target=3D"_blan=
k">ulrich.sibiller@gmail.com</a>&gt; wrote:<br></div><blockquote><div dir=
=3D"ltr"><div style=3D"font-family:&quot;courier new&quot;,monospace">Sorry=
, x2goserver-x2goagent is only a wrapper. The real functionality sits in th=
e=C2=A0nxagent package, and that&#39;s the version I need. Alternatively yo=
u can run /usr/bin/x2goagent -version on the server.</div><div style=3D"fon=
t-family:&quot;courier new&quot;,monospace"><br></div><div style=3D"font-fa=
mily:&quot;courier new&quot;,monospace">KDE includes a clipboard manager. W=
hat DE are you using?<br><br>Does the problem also show up when you are usi=
ng a very simple window manager like twm or fvwm2 or openbox?</div><div sty=
le=3D"font-family:&quot;courier new&quot;,monospace"><br></div><div style=
=3D"font-family:&quot;courier new&quot;,monospace">Uli</div></div><br><div>=
<div dir=3D"ltr">On Wed, Mar 12, 2025 at 1:55=E2=80=AFPM Jens Reyer &lt;<a =
href=3D"mailto:jens.reyer@leberrohstoffe.com" target=3D"_blank">jens.reyer@=
leberrohstoffe.com</a>&gt; 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, a=
s 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 LinuxM=
int 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&#39;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 eve=
n 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><blo=
ckquote type=3D"cite">Ulrich Sibiller &lt;<a href=3D"mailto:ulrich.sibiller=
@gmail.com" target=3D"_blank">ulrich.sibiller@gmail.com</a>&gt; hat am 12. =
M=C3=A4rz 2025 um 11:13 geschrieben:<br><br><div dir=3D"ltr"><div style=3D"=
font-family:&quot;courier new&quot;,monospace"><p style=3D"margin:0cm 0cm 0=
.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style=3D"color=
:rgb(31,73,125);font-family:Consolas;font-size:small"><span style=3D"font-s=
ize:11pt">Hi,</span></span></p><p style=3D"margin:0cm 0cm 0.0001pt;font-siz=
e:11pt;font-family:Calibri,sans-serif"><span style=3D"color:rgb(31,73,125);=
font-family:Consolas;font-size:small"><span style=3D"font-size:11pt"><br></=
span></span></p><p style=3D"margin:0cm 0cm 0.0001pt;font-size:11pt;font-fam=
ily:Calibri,sans-serif">please<span style=3D"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=E2=80=99s no clipboard manager runni=
ng (on both sides!).</span></p><p style=3D"margin:0cm 0cm 0.0001pt;font-siz=
e:11pt;font-family:Calibri,sans-serif"><span style=3D"font-size:11pt;color:=
rgb(31,73,125);font-family:Consolas"><br></span></p><p style=3D"margin:0cm =
0cm 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style=3D"=
font-size:11pt;color:rgb(31,73,125);font-family:Consolas">Uli</span></p></d=
iv></div><br><div><div dir=3D"ltr">On Wed, Mar 12, 2025 at 11:11=E2=80=AFAM=
 Jens Reyer &lt;<a href=3D"mailto:jens.reyer@leberrohstoffe.com" target=3D"=
_blank">jens.reyer@leberrohstoffe.com</a>&gt; wrote:<br></div><blockquote><=
u></u><div><p>Package: x2goserver<br></p><p>Version: 4.1.0.6-1.1+b1</p><p>S=
everity: normal<br></p><p><br></p><p>Hi,</p><p>since an update/reinstallati=
on copy&amp;pasting in Libreoffice in X2Go always needs to be repeated, onl=
y the very first run works instantly.</p><p>We found this issue only when u=
sing X2Go, but not when working directly on the same machine.</p><p>It happ=
ens only in Libreoffice (Calc and Writer), but not in e.g. Firefox or an ed=
itor.</p><p>Starting Libreoffice in safe mode (soffice --safe-mode) does no=
t help.</p><p><br></p><p>Steps to reproduce:</p><p><br></p><p>Start Libreof=
fice</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 &gt; copy, right-click &gt; paste OK</p=
><p>right-click &gt; copy, right-click &gt; paste FAIL (Libreoffice Calc as=
ks where to shift the cells, but then nothing is inserted)<br></p><p>right-=
click &gt; copy, right-click &gt; paste FAIL (Libreoffice Calc asks where t=
o shift the cells, but then nothing is inserted)<br></p><p><br></p><p>Worka=
round:</p><p>ctrl+c, ctrl+v OK</p><p>ctrl+c, ctrl+c, ctrl+v OK<br></p><p>ct=
rl+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, x2=
goserver=C2=A04.1.0.6-1.1build1)</p><p><br></p><p>Previously not affected s=
erver:</p><p>LinuxMint 21.3 Mate (libreoffice 1:7.3.7-0ubuntu0.22.04.8, x2g=
oserver 4.1.0.3-5)</p><p><br></p><p>Tested Clients:</p><p>Debian Trixie (x2=
goclient 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 &quot;do not use =
primary clipboard&quot; both checked and unchecked</p><p><br></p><p>I repor=
ted 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> x2g=
o-dev mailing list<br> <a href=3D"mailto:x2go-dev@lists.x2go.org" target=3D=
"_blank">x2go-dev@lists.x2go.org</a><br> <a href=3D"https://lists.x2go.org/=
listinfo/x2go-dev" target=3D"_blank">https://lists.x2go.org/listinfo/x2go-d=
ev</a><br></blockquote></div></blockquote></div>___________________________=
____________________<br> x2go-dev mailing list<br> <a href=3D"mailto:x2go-d=
ev@lists.x2go.org" target=3D"_blank">x2go-dev@lists.x2go.org</a><br> <a hre=
f=3D"https://lists.x2go.org/listinfo/x2go-dev" target=3D"_blank">https://li=
sts.x2go.org/listinfo/x2go-dev</a><br></blockquote></div>__________________=
_____________________________<br> x2go-dev mailing list<br> <a href=3D"mail=
to:x2go-dev@lists.x2go.org" target=3D"_blank">x2go-dev@lists.x2go.org</a><b=
r> <a href=3D"https://lists.x2go.org/listinfo/x2go-dev" target=3D"_blank">h=
ttps://lists.x2go.org/listinfo/x2go-dev</a><br></blockquote></div></blockqu=
ote></blockquote><br>=C2=A0</div>__________________________________________=
_____<br> x2go-dev mailing list<br> <a href=3D"mailto:x2go-dev@lists.x2go.o=
rg" target=3D"_blank">x2go-dev@lists.x2go.org</a><br> <a href=3D"https://li=
sts.x2go.org/listinfo/x2go-dev" target=3D"_blank">https://lists.x2go.org/li=
stinfo/x2go-dev</a><br></blockquote></div></blockquote></div></blockquote><=
/div></blockquote></div>
 _______________________________________________<br>
x2go-dev mailing list<br>
<a href=3D"mailto:x2go-dev@lists.x2go.org" target=3D"_blank">x2go-dev@lists=
.x2go.org</a><br>
<a href=3D"https://lists.x2go.org/listinfo/x2go-dev" rel=3D"noreferrer" tar=
get=3D"_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br>
</blockquote></div>

--00000000000014b4ee063088b9c9--
