From jens.reyer@leberrohstoffe.com  Thu Mar 13 15:03:44 2025
Received: (at 1633) by bugs.x2go.org; 13 Mar 2025 14:03:49 +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,HTML_MESSAGE,RCVD_IN_DNSWL_BLOCKED,
	RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_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 out2.mail.core1.p4.net (out2.mail.core1.p4.net [195.98.222.229])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 1432C5DA7C
	for <1633@bugs.x2go.org>; Thu, 13 Mar 2025 15:03:44 +0100 (CET)
Received: from relay1.mail.core1.p4.net (relay1.mail.core1.p4.net [195.98.222.163])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by out2.mail.core1.p4.net (Postfix) with ESMTPS id 4ZD8Nv5ghDz7vJp;
	Thu, 13 Mar 2025 15:03:43 +0100 (CET)
Received: from ares-mda1.core1.p4.net (ares-mda1.core1.p4.net [195.98.222.164])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by relay1.mail.core1.p4.net (Postfix) with ESMTPS id A8F3B1FD3F;
	Thu, 13 Mar 2025 15:03:43 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leberrohstoffe.com;
	s=s1-p4; t=1741874623; x=1744898623;
	bh=4dtoVSjyQId3IT3shGeHtlVeQb29Gybv+o7CKktTnAE=;
	h=Date:From:To:Message-ID:Subject:From;
	b=bI2Q+zbcqEqWq23vN2kbKW7IERJnfFYN1bDbNNBCTIWntVNRM9/NTwQNYBQKTb2G8
	 7dYoaUbYqF9kMZSXLKq7nE63IL8jAq02pxXM03WdXBzRHrnwscY3P+iIbKZU9fHb0s
	 q7z6CtOrBx0uhUKYobZpgfX9DejcmUfp8cqQcxG9iHF0HokCZum0ovQB3T/QamkRZz
	 zZW1E8HSHNxVbAomDoq3UzWRDCtFQLexvXrIlBIL8yExu5+sN8avPuxOGT6wl9uz+i
	 6AVw0iJeW55A9pVkyp6z4jt3MHEt0kggC44pTJIkOhp0ZMBUG3cCnrqAy9G//xh/kn
	 w3f9LAf5Qt3SQ==
Received: from 127.0.0.1 (helo=localhost.localdomain)
	by ares-mda1.core1.p4.net with esmtpsa (TLS1.0:ECDHE_RSA_AES_256_CBC_SHA1:256)
	id 1tsj9z-000bMR-Jh; Thu, 13 Mar 2025 15:03:43 +0100
Date: Thu, 13 Mar 2025 15:03:43 +0100 (CET)
From: Jens Reyer <jens.reyer@leberrohstoffe.com>
To: Ulrich Sibiller <ulrich.sibiller@gmail.com>, 1633@bugs.x2go.org
Message-ID: <1748520028.138240.1741874623478@195.98.208.36>
In-Reply-To: <CANVnVY+DBpxq8E8KrAdP75+YEsKGM-Eup9dADxyCnntwjz8uLw@mail.gmail.com>
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>
 <999247165.134927.1741773596827@195.98.208.36>
 <1728065184.137568.1741862572763@195.98.208.36>
 <1081187274.137588.1741862691938@195.98.208.36>
 <CANVnVY+DBpxq8E8KrAdP75+YEsKGM-Eup9dADxyCnntwjz8uLw@mail.gmail.com>
Subject: Re: Bug#1633: New clipboard issue in Libreoffice with X2Go
MIME-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_138239_225027884.1741874623454"
X-Priority: 3
Importance: Medium
X-Mailer: Open-Xchange Mailer v7.8.2-Rev11
X-Originating-Client: open-xchange-appsuite

------=_Part_138239_225027884.1741874623454
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 Linuxmin=
t 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 every 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 conn=
ection LAN (here at work) and probably ADSL (from home). Now I tested the s=
ame remote server with MODEM: the issue still exists.


Then I changed the clipboard from bi-directional (German: "Zwischenablage-M=
odus: Kopieren und Einf=C3=BCgen in beide Richtungen m=C3=B6glich" to disab=
led ("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 he=
lp.


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:
>=20
>     Hi,
>=20
>     just to be sure: have you done the lightweight test on the server sid=
e or the client side?
>=20
>     Assuming you have done the test on the server side. This indicates th=
at the problem is somehow tied to the connection. Can you please check if d=
ifferent connection settings in x2go lead to different results?
>=20
>     You don't need to compile x2goserver, just nxagent. Compiling is done=
 like this:
>     1. checkout nx-libs from ArcticaProject on github
>     2. run make
>=20
>     If this fails you probably need to install more dependencies. If it s=
ucceeds, you need to repeat that after changing these lines in nx-X11/progr=
ams/Xserver/hw/nxagent/Clipboard.c:
>=20
>     #undef TEST -> #define TEST
>     #undef DEBUG -> #define DEBUG
>=20
>     After running make again you should find a new nxagent in nx-X11/prog=
rams/Xserver
>=20
>     Uli
>=20
>=20
>=20
>     On Thu, Mar 13, 2025 at 11:45=E2=80=AFAM Jens Reyer <jens.reyer@leber=
rohstoffe.com mailto:jens.reyer@leberrohstoffe.com > wrote:
>=20
>         > >         Sorry for yet another PS:
> >         Yes, I may recompile a test x2goserver, if you tell me what cha=
nges/options you need.
> >=20
> >=20
> >             > > > Jens Reyer <jens.reyer@leberrohstoffe.com mailto:jens=
.reyer@leberrohstoffe.com > hat am 13. M=C3=A4rz 2025 um 11:42 geschrieben:
> > >=20
> > >=20
> > >             I could NOT reproduce the problem with your lightweight t=
est on Linuxmint 22.1 Mate:
> > >=20
> > >             nxagent -ac :55
> > >=20
> > >             DISPLAY=3D:55 twm
> > >=20
> > >             DISPLAY=3D:55 soffice
> > >=20
> > >             --> OK (except maybe one fail, but that was probably huma=
n failure)
> > >=20
> > >=20
> > >             For the previous non-lightweight-test in twm on the remot=
e Debian Trixie server I started in that x2go/twm session a terminal and fr=
om there soffice, since I couldn't find a direct Libreoffice launcher. So I=
 tried this for the lightweight test - still works:
> > >=20
> > >             nxagent -ac :55
> > >=20
> > >             DISPLAY=3D:55 twm
> > >=20
> > >             DISPLAY=3D:55 xterm
> > >=20
> > >             In xterm: soffice
> > >=20
> > >             --> OK
> > >=20
> > >=20
> > >             I agree there must be something specific with newer Libre=
office versions, since I neither found this with other applications, nor wi=
th libreoffice 7.3.7. But as just discovered this is only an issue with (re=
mote?) X2Go sessions.
> > >=20
> > >=20
> > >                 > > > > Ulrich Sibiller <ulrich.sibiller@gmail.com ma=
ilto:ulrich.sibiller@gmail.com > hat am 13. M=C3=A4rz 2025 um 10:52 geschri=
eben:
> > > >=20
> > > >                 Ok, thanks for the information. The nxagent is the =
current version, that's ok. Also I think we take out the client from the eq=
uation.
> > > >=20
> > > >                 I have just tried your reproducer with LibreOffice =
6.4.7.2 on RockyLinux 8.10 in a rootless NX session without any problems. M=
aybe this is tied to newer LibreOffice versions?
> > > >=20
> > > >                 You can also do a very lightweight test locally lik=
e this:
> > > >                 1. run nxagent -ac :55
> > > >                 2. DISPLAY=3D:55 openbox (or any other WM)
> > > >                 3. DISPLAY=3D:55 soffice -> will open soffice in th=
e nx window.
> > > >=20
> > > >                 Is the problem showing up then, too?
> > > >=20
> > > >                 Maybe we need more debugging information which woul=
d require to recompile nxagent on your server system.
> > > >=20
> > > >=20
> > > >                 Uli
> > > >=20
> > > >                 On Wed, Mar 12, 2025 at 3:00=E2=80=AFPM Ulrich Sibi=
ller <ulrich.sibiller@gmail.com mailto:ulrich.sibiller@gmail.com > wrote:
> > > >=20
> > > >                     > > > > >                     Sorry, x2goserver=
-x2goagent is only a wrapper. The real functionality sits in the nxagent pa=
ckage, and that's the version I need. Alternatively you can run /usr/bin/x2=
goagent -version on the server.
> > > > >=20
> > > > >                     KDE includes a clipboard manager. What DE are=
 you using?
> > > > >=20
> > > > >                     Does the problem also show up when you are us=
ing a very simple window manager like twm or fvwm2 or openbox?
> > > > >=20
> > > > >                     Uli
> > > > >=20
> > > > >                     On Wed, Mar 12, 2025 at 1:55=E2=80=AFPM Jens =
Reyer <jens.reyer@leberrohstoffe.com mailto:jens.reyer@leberrohstoffe.com >=
 wrote:
> > > > >=20
> > > > >                         > > > > > >=20
> > > > > >                         Hi,
> > > > > >=20
> > > > > >                         thanks for the quick answer.
> > > > > >=20
> > > > > >=20
> > > > > >                         x2goagent 4.1.0.6, as provided by the d=
istributions,
> > > > > >=20
> > > > > >                         so on the affected Debian Trixie/Sid Ma=
te server:
> > > > > >=20
> > > > > >                         x2goserver-x2goagent 4.1.0.6-1.1+b1
> > > > > >=20
> > > > > >                         and on LinuxMint 22.1 Mate:
> > > > > >=20
> > > > > >                         x2goserver-x2goagent 4.1.0.6-1.1build1
> > > > > >=20
> > > > > >=20
> > > > > >                         To the best of my knowledge there's no =
clipboard manager running on the systems, neither on the 2 tested servers n=
or the 3 clients.
> > > > > >=20
> > > > > >                         Most systems were just set up recently =
by myself, and I never used or even heard about clipboardmanagers before. N=
either clipman nor xclipboard are installed.
> > > > > >=20
> > > > > >=20
> > > > > >                         Greets
> > > > > >=20
> > > > > >                         jre
> > > > > >=20
> > > > > >=20
> > > > > >                             > > > > > > > Ulrich Sibiller <ulri=
ch.sibiller@gmail.com mailto:ulrich.sibiller@gmail.com > hat am 12. M=C3=A4=
rz 2025 um 11:13 geschrieben:
> > > > > > >=20
> > > > > > >                             Hi,
> > > > > > >=20
> > > > > > >                             please let us know the version of=
 nxagent (x2goagent) you are using. Also ensure that there=E2=80=99s no cli=
pboard manager running (on both sides!).
> > > > > > >=20
> > > > > > >                             Uli
> > > > > > >=20
> > > > > > >                             On Wed, Mar 12, 2025 at 11:11=E2=
=80=AFAM Jens Reyer <jens.reyer@leberrohstoffe.com mailto:jens.reyer@leberr=
ohstoffe.com > wrote:
> > > > > > >=20
> > > > > > >                                 > > > > > > > >=20
> > > > > > > >                                 Package: x2goserver
> > > > > > > >=20
> > > > > > > >                                 Version: 4.1.0.6-1.1+b1
> > > > > > > >=20
> > > > > > > >                                 Severity: normal
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Hi,
> > > > > > > >=20
> > > > > > > >                                 since an update/reinstallat=
ion copy&pasting in Libreoffice in X2Go always needs to be repeated, only t=
he very first run works instantly.
> > > > > > > >=20
> > > > > > > >                                 We found this issue only wh=
en using X2Go, but not when working directly on the same machine.
> > > > > > > >=20
> > > > > > > >                                 It happens only in Libreoff=
ice (Calc and Writer), but not in e.g. Firefox or an editor.
> > > > > > > >=20
> > > > > > > >                                 Starting Libreoffice in saf=
e mode (soffice --safe-mode) does not help.
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Steps to reproduce:
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Start Libreoffice
> > > > > > > >=20
> > > > > > > >                                 ctrl+c, ctrl+v OK
> > > > > > > >=20
> > > > > > > >                                 ctrl+c, ctrl+v FAIL (nothin=
g is inserted)
> > > > > > > >=20
> > > > > > > >                                 ctrl+c, ctrl+v FAIL (nothin=
g is inserted)
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Start Libreoffice
> > > > > > > >=20
> > > > > > > >                                 right-click > copy, right-c=
lick > paste OK
> > > > > > > >=20
> > > > > > > >                                 right-click > copy, right-c=
lick > paste FAIL (Libreoffice Calc asks where to shift the cells, but then=
 nothing is inserted)
> > > > > > > >=20
> > > > > > > >                                 right-click > copy, right-c=
lick > paste FAIL (Libreoffice Calc asks where to shift the cells, but then=
 nothing is inserted)
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Workaround:
> > > > > > > >=20
> > > > > > > >                                 ctrl+c, ctrl+v OK
> > > > > > > >=20
> > > > > > > >                                 ctrl+c, ctrl+c, ctrl+v OK
> > > > > > > >=20
> > > > > > > >                                 ctrl+c, ctrl+c, ctrl+v OK
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Tested affected servers:
> > > > > > > >=20
> > > > > > > >                                 Debian Trixie/Sid Mate (lib=
reoffice 4:24.8.5-2 amd64, x2goserver 4.1.0.6-1.1+b1)
> > > > > > > >=20
> > > > > > > >                                 LinuxMint 22.1 Mate (libreo=
ffice 4:24.2.7-0ubuntu0.24.04.2, x2goserver 4.1.0.6-1.1build1)
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Previously not affected ser=
ver:
> > > > > > > >=20
> > > > > > > >                                 LinuxMint 21.3 Mate (libreo=
ffice 1:7.3.7-0ubuntu0.22.04.8, x2goserver 4.1.0.3-5)
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Tested Clients:
> > > > > > > >=20
> > > > > > > >                                 Debian Trixie (x2goclient 4=
.1.2.3-3)
> > > > > > > >=20
> > > > > > > >                                 Linuxmint 22.1 (x2goclient =
4.1.2.3-1build3)
> > > > > > > >=20
> > > > > > > >                                 Win10 (X2GoClient 4.1.2.2),=
 with the X.org server option "do not use primary clipboard" both checked a=
nd unchecked
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 I reported this issue only =
here, not with the distros or Libreoffice. Please tell me if I should other=
wise or if I should provide additional info or tests.
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 My boss is willing to pay f=
or a solution. Just contact me.
> > > > > > > >=20
> > > > > > > >=20
> > > > > > > >                                 Thanks in advance and thank=
s for all your work!
> > > > > > > >=20
> > > > > > > >                                 Jens Reyer
> > > > > > > >=20
> > > > > > > >                                 ___________________________=
____________________
> > > > > > > >                                 x2go-dev mailing list
> > > > > > > >                                 x2go-dev@lists.x2go.org mai=
lto:x2go-dev@lists.x2go.org
> > > > > > > >                                 https://lists.x2go.org/list=
info/x2go-dev
> > > > > > > >=20
> > > > > > > >                             > > > > > > >=20
> > > > > > >                         > > > > > >                         _=
______________________________________________
> > > > > >                         x2go-dev mailing list
> > > > > >                         x2go-dev@lists.x2go.org mailto:x2go-dev=
@lists.x2go.org
> > > > > >                         https://lists.x2go.org/listinfo/x2go-de=
v
> > > > > >=20
> > > > > >                     > > > > >                     _____________=
__________________________________
> > > > >                     x2go-dev mailing list
> > > > >                     x2go-dev@lists.x2go.org mailto:x2go-dev@lists=
.x2go.org
> > > > >                     https://lists.x2go.org/listinfo/x2go-dev
> > > > >=20
> > > > >                 > > > >=20
> > > >             > > >=20
> > >         > >         =20
> >         _______________________________________________
> >         x2go-dev mailing list
> >         x2go-dev@lists.x2go.org mailto:x2go-dev@lists.x2go.org
> >         https://lists.x2go.org/listinfo/x2go-dev
> >=20
> >     >=20

------=_Part_138239_225027884.1741874623454
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE html>
<html><head>
    <meta charset=3D"UTF-8">
</head><body><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&#39;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&#39;=
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 i=
n every case after the first try.<br></p><p><br></p><p>In the original test=
s 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 had the i=
ssue while connecting to the reomote server with connection LAN (here at wo=
rk) 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 cli=
pboard from bi-directional (German: &#34;Zwischenablage-Modus: Kopieren und=
 Einf&#252;gen in beide Richtungen m&#246;glich&#34; to disabled (&#34;Zwis=
chenablage komplett deaktivieren&#34;). The issue is NOT reproducible anymo=
re.</p><p>So now we&#39;ve found a workaround, good :)<br></p><p><br></p><p=
>Setting the keyboard from auto-detect to &#34;Model pc105, layout de&#34; =
didn&#39;t help.<br></p><p><br></p><p>Are there any other settings 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 &#60;ulrich.sibiller@gmail.c=
om&#62; hat am 13. M&#228;rz 2025 um 13:08 geschrieben:<br><br><div dir=3D"=
ltr"><div class=3D"ox-e17ac397e8-gmail_default" style=3D"font-family: couri=
er new,monospace;">Hi,</div><div class=3D"ox-e17ac397e8-gmail_default" styl=
e=3D"font-family: courier new,monospace;"><br></div><div class=3D"ox-e17ac3=
97e8-gmail_default" style=3D"font-family: courier new,monospace;">just to b=
e sure: have you done the lightweight test on the server side or the client=
 side?</div><div class=3D"ox-e17ac397e8-gmail_default" style=3D"font-family=
: courier new,monospace;"><br></div><div class=3D"ox-e17ac397e8-gmail_defau=
lt" style=3D"font-family: courier new,monospace;">Assuming you have done th=
e test on the server side. This indicates that the problem is somehow tied =
to the connection. Can you please check if different connection&#160;settin=
gs in x2go lead to different results?</div><div class=3D"ox-e17ac397e8-gmai=
l_default" style=3D"font-family: courier new,monospace;"><br></div><div cla=
ss=3D"ox-e17ac397e8-gmail_default" style=3D"font-family: courier new,monosp=
ace;">You&#160;don&#39;t need to compile x2goserver, just nxagent. Compilin=
g is done like this:</div><div class=3D"ox-e17ac397e8-gmail_default" style=
=3D"font-family: courier new,monospace;">1. checkout nx-libs from ArcticaPr=
oject on github</div><div class=3D"ox-e17ac397e8-gmail_default" style=3D"fo=
nt-family: courier new,monospace;">2. run make</div><div class=3D"ox-e17ac3=
97e8-gmail_default" style=3D"font-family: courier new,monospace;"><br></div=
><div class=3D"ox-e17ac397e8-gmail_default" style=3D"font-family: courier n=
ew,monospace;">If this fails&#160;you probably need to install more depende=
ncies. If it succeeds, you need to repeat&#160;that after changing these li=
nes in nx-X11/programs/Xserver/hw/nxagent/Clipboard.c:</div><div class=3D"o=
x-e17ac397e8-gmail_default" style=3D"font-family: courier new,monospace;"><=
br></div><div class=3D"ox-e17ac397e8-gmail_default" style=3D"font-family: c=
ourier new,monospace;">#undef TEST -&#62; #define TEST</div><div class=3D"o=
x-e17ac397e8-gmail_default" style=3D"font-family: courier new,monospace;">#=
undef DEBUG -&#62; #define DEBUG</div><div class=3D"ox-e17ac397e8-gmail_def=
ault" style=3D"font-family: courier new,monospace;"><br></div><div class=3D=
"ox-e17ac397e8-gmail_default" style=3D"font-family: courier new,monospace;"=
>After running make again you should find a new nxagent in nx-X11/programs/=
Xserver</div><div class=3D"ox-e17ac397e8-gmail_default" style=3D"font-famil=
y: courier new,monospace;"><br></div><div class=3D"ox-e17ac397e8-gmail_defa=
ult" style=3D"font-family: courier new,monospace;">Uli</div><div class=3D"o=
x-e17ac397e8-gmail_default" style=3D"font-family: courier new,monospace;"><=
br></div><div class=3D"ox-e17ac397e8-gmail_default" style=3D"font-family: c=
ourier new,monospace;"><br></div></div><br><div class=3D"ox-e17ac397e8-gmai=
l_quote"><div dir=3D"ltr" class=3D"ox-e17ac397e8-gmail_attr">On Thu, Mar 13=
, 2025 at 11:45=E2=80=AFAM Jens Reyer &#60;<a href=3D"mailto:jens.reyer@leb=
errohstoffe.com" target=3D"_blank">jens.reyer@leberrohstoffe.com</a>&#62; w=
rote:<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 ne=
ed.<br> <br><blockquote type=3D"cite">Jens Reyer &#60;<a href=3D"mailto:jen=
s.reyer@leberrohstoffe.com" target=3D"_blank">jens.reyer@leberrohstoffe.com=
</a>&#62; hat am 13. M&#228;rz 2025 um 11:42 geschrieben:<br><br><p>I could=
 NOT reproduce the problem with your lightweight test on Linuxmint 22.1 Mat=
e:<br></p><p>nxagent -ac :55</p><p>DISPLAY=3D:55 twm</p><p>DISPLAY=3D:55 so=
ffice</p><p>--&#62; 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 ter=
minal and from there soffice, since I couldn&#39;t find a direct Libreoffic=
e 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>--&#62; OK<br></p><p><br></p><p>I agree the=
re must be something specific with newer Libreoffice versions, since I neit=
her 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=3D"cite">Ulrich Sibiller &#60;<a href=3D"mailto=
:ulrich.sibiller@gmail.com" target=3D"_blank">ulrich.sibiller@gmail.com</a>=
&#62; hat am 13. M&#228;rz 2025 um 10:52 geschrieben:<br><br><div dir=3D"lt=
r"><div style=3D"font-family: 'courier new',monospace;">Ok, thanks for the =
information. The&#160;nxagent is the current version,&#160;that&#39;s ok. A=
lso I think we take out the client from the equation.</div><div style=3D"fo=
nt-family: 'courier new',monospace;"><br></div><div style=3D"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=3D"font-f=
amily: 'courier new',monospace;"><br></div><div style=3D"font-family: 'cour=
ier new',monospace;">You can also do a very lightweight test locally like t=
his:</div><div style=3D"font-family: 'courier new',monospace;">1. run nxage=
nt -ac :55</div><div style=3D"font-family: 'courier new',monospace;">2. DIS=
PLAY=3D:55 openbox (or any other WM)</div><div style=3D"font-family: 'couri=
er new',monospace;">3. DISPLAY=3D:55 soffice -&#62; will open soffice in th=
e nx window.</div><div style=3D"font-family: 'courier new',monospace;"><br>=
</div><div style=3D"font-family: 'courier new',monospace;">Is the problem s=
howing up then, too?</div><div style=3D"font-family: 'courier new',monospac=
e;"><br></div><div style=3D"font-family: 'courier new',monospace;">Maybe we=
 need more debugging information which would require to recompile nxagent o=
n your server system.</div><div style=3D"font-family: 'courier new',monospa=
ce;"><br></div><div style=3D"font-family: 'courier new',monospace;"><br></d=
iv><div style=3D"font-family: 'courier new',monospace;">Uli</div></div><br>=
<div><div dir=3D"ltr">On Wed, Mar 12, 2025 at 3:00=E2=80=AFPM Ulrich Sibill=
er &#60;<a href=3D"mailto:ulrich.sibiller@gmail.com" target=3D"_blank">ulri=
ch.sibiller@gmail.com</a>&#62; wrote:<br></div><blockquote><div dir=3D"ltr"=
><div style=3D"font-family: 'courier new',monospace;">Sorry, x2goserver-x2g=
oagent is only a wrapper. The real functionality sits in the&#160;nxagent p=
ackage, and that&#39;s the version I need. Alternatively you can run /usr/b=
in/x2goagent -version on the server.</div><div style=3D"font-family: 'couri=
er new',monospace;"><br></div><div style=3D"font-family: 'courier new',mono=
space;">KDE includes a clipboard manager. What DE are you using?<br><br>Doe=
s the problem also show up when you are using a very simple window manager =
like twm or fvwm2 or openbox?</div><div style=3D"font-family: 'courier new'=
,monospace;"><br></div><div style=3D"font-family: 'courier new',monospace;"=
>Uli</div></div><br><div><div dir=3D"ltr">On Wed, Mar 12, 2025 at 1:55=E2=
=80=AFPM Jens Reyer &#60;<a href=3D"mailto:jens.reyer@leberrohstoffe.com" t=
arget=3D"_blank">jens.reyer@leberrohstoffe.com</a>&#62; wrote:<br></div><bl=
ockquote><u></u><div><p>Hi,</p><p>thanks for the quick answer.<br></p><p><b=
r></p><p>x2goagent 4.1.0.6, as provided by the distributions,</p><p>so on t=
he 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&#39;s =
no clipboard manager running on the systems, neither on the 2 tested server=
s nor the 3 clients.<br></p><p>Most systems were just set up recently by my=
self, and I never used or even heard about clipboardmanagers before. Neithe=
r clipman nor xclipboard are installed.<br></p><p><br></p><p>Greets<br></p>=
<p>jre<br></p><p><br></p><blockquote type=3D"cite">Ulrich Sibiller &#60;<a =
href=3D"mailto:ulrich.sibiller@gmail.com" target=3D"_blank">ulrich.sibiller=
@gmail.com</a>&#62; hat am 12. M&#228;rz 2025 um 11:13 geschrieben:<br><br>=
<div dir=3D"ltr"><div style=3D"font-family: 'courier new',monospace;"><p st=
yle=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans=
-serif;"><span style=3D"color: #1f497d; font-family: Consolas; font-size: s=
mall;"><span style=3D"font-size: 11pt;">Hi,</span></span></p><p style=3D"ma=
rgin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">=
<span style=3D"color: #1f497d; font-family: Consolas; font-size: small;"><s=
pan style=3D"font-size: 11pt;"><br></span></span></p><p style=3D"margin: 0c=
m 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,sans-serif;">please<s=
pan style=3D"font-size: 11pt; color: #1f497d; font-family: Consolas;"> let =
us know the version of nxagent (x2goagent) you are using. Also ensure that =
there&#8217;s no clipboard manager running (on both sides!).</span></p><p s=
tyle=3D"margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri,san=
s-serif;"><span style=3D"font-size: 11pt; color: #1f497d; font-family: Cons=
olas;"><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: =
#1f497d; font-family: Consolas;">Uli</span></p></div></div><br><div><div di=
r=3D"ltr">On Wed, Mar 12, 2025 at 11:11=E2=80=AFAM Jens Reyer &#60;<a href=
=3D"mailto:jens.reyer@leberrohstoffe.com" target=3D"_blank">jens.reyer@lebe=
rrohstoffe.com</a>&#62; 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&#38;pasting in=
 Libreoffice in X2Go always needs to be repeated, only the very first run w=
orks instantly.</p><p>We found this issue only when using X2Go, but not whe=
n working directly on the same machine.</p><p>It happens only in Libreoffic=
e (Calc and Writer), but not in e.g. Firefox or an editor.</p><p>Starting L=
ibreoffice 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, ctr=
l+v OK</p><p>ctrl+c, ctrl+v FAIL (nothing is inserted)<br></p><p>ctrl+c, ct=
rl+v FAIL (nothing is inserted)<br></p><p><br></p><p>Start Libreoffice</p><=
p>right-click &#62; copy, right-click &#62; paste OK</p><p>right-click &#62=
; copy, right-click &#62; paste FAIL (Libreoffice Calc asks where to shift =
the cells, but then nothing is inserted)<br></p><p>right-click &#62; copy, =
right-click &#62; paste FAIL (Libreoffice Calc asks where to shift the cell=
s, but then nothing is inserted)<br></p><p><br></p><p>Workaround:</p><p>ctr=
l+c, ctrl+v OK</p><p>ctrl+c, ctrl+c, ctrl+v OK<br></p><p>ctrl+c, ctrl+c, ct=
rl+v OK<br></p><p><br></p><p>Tested affected servers:</p><p>Debian Trixie/S=
id Mate (libreoffice 4:24.8.5-2 amd64, x2goserver 4.1.0.6-1.1+b1)</p><p>Lin=
uxMint 22.1 Mate (libreoffice 4:24.2.7-0ubuntu0.24.04.2, x2goserver&#160;4.=
1.0.6-1.1build1)</p><p><br></p><p>Previously not affected server:</p><p>Lin=
uxMint 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 (X2GoClie=
nt 4.1.2.2), with the X.org server option &#34;do not use primary clipboard=
&#34; both checked and unchecked</p><p><br></p><p>I reported this issue onl=
y here, not with the distros or Libreoffice. Please tell me if I should oth=
erwise 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></di=
v>_______________________________________________<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"=
 target=3D"_blank">https://lists.x2go.org/listinfo/x2go-dev</a><br></blockq=
uote></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" target=3D"_blank">https://lists.x2go.org/listi=
nfo/x2go-dev</a><br></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"http=
s://lists.x2go.org/listinfo/x2go-dev" target=3D"_blank">https://lists.x2go.=
org/listinfo/x2go-dev</a><br></blockquote></div></blockquote></blockquote><=
br>&#160;</div>_______________________________________________<br> x2go-dev=
 mailing list<br> <a href=3D"mailto:x2go-dev@lists.x2go.org" target=3D"_bla=
nk">x2go-dev@lists.x2go.org</a><br> <a href=3D"https://lists.x2go.org/listi=
nfo/x2go-dev" target=3D"_blank">https://lists.x2go.org/listinfo/x2go-dev</a=
><br></blockquote></div></blockquote></body></html>
=20
------=_Part_138239_225027884.1741874623454--

