X2Go Bug report logs - #1633
New clipboard issue in Libreoffice with X2Go

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Jens Reyer <jens.reyer@leberrohstoffe.com>

Date: Wed, 12 Mar 2025 10:05:01 UTC

Severity: normal

Full log


Message #35 received at 1633@bugs.x2go.org (full text, mbox, reply):

Received: (at 1633) by bugs.x2go.org; 13 Mar 2025 09:53:00 +0000
From ulrich.sibiller@gmail.com  Thu Mar 13 10:52:55 2025
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-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 9EFF45DA7C
	for <1633@bugs.x2go.org>; Thu, 13 Mar 2025 10:52:54 +0100 (CET)
Received: by mail-lj1-x231.google.com with SMTP id 38308e7fff4ca-30bef9b04adso8046441fa.1
        for <1633@bugs.x2go.org>; Thu, 13 Mar 2025 02:52:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20230601; t=1741859574; x=1742464374; 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=lniSAomlfYnQfbFINCuFKM390E68N8Y4VbWVD/+5Xhg=;
        b=XH1zChN21vFSs+2MHylJGdEtlq3iNekjN4IlvUxjwpZEbn7sVGQlG0sXzik7mDo/7x
         swKjAMfpB/q9Rfqjv59PZ5LEt6Q7bqPNg+NsPU5+vcoDQn5oIW1PLFSvtDHoOTwVr3EC
         Q6IhS2koC8+c8qZmlWclUnY5DYtycCHc0z+39Fi8JJpnCVGZJQihM/xYQmi7YJcoXjzq
         1vA+qZOjvjydzR/y0OJ+HbRqkW/O+manWeIOlXHqX1GwGz6xqCDFACMWtQi9JAFJ4ZZ5
         /68rTnwPDFRr7gsbgnBRc5fWiCL068sQ4zfNLP1Jf/anNA5kmkYsdM2lZCos3hmNR6Xj
         ELGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20230601; t=1741859574; x=1742464374;
        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=lniSAomlfYnQfbFINCuFKM390E68N8Y4VbWVD/+5Xhg=;
        b=SXJcjPVg9bEQH+z/U7p1Pcl3J/m/ITTP8GKdQ1rqDrlstCHBK0ALSFDKCwgqT7GsYn
         t3A02R0ejQNnikqrBMmDYjj6S10ARtUWNmIWe8FyRDqbK4nRQLhFqLADTJuHPWNL8lFJ
         jbIwA2J1fmWTtPlHm2X8JxiRywmTrYA3pF9HeL65U0uZy1sHzZMtZ5YKV2isVcSBNCEK
         LkncDMtkvP3hAM0g+MJrR+iLUxRcfueBNDbebnmug+guvD+JbpVNborDUHjAZ545ClSh
         sA6PzwBbxfHzFYKUY7HVKqK3uFUarcTs8v5TchHp7YAhPPPlQPA1TI0uzYwd0vwkmdkp
         r14Q==
X-Forwarded-Encrypted: i=1; AJvYcCWi8ned9dtlFdxaVS2LZ7USg0OLmdfd6IyZhEdSHtj88zveD4QxAT51eFj8kc4hMoR8WfJd@bugs.x2go.org
X-Gm-Message-State: AOJu0YxQPuMf2BqVa4rEmHTZ49J/fNUMTHMbR+xojCU8SeVqlZgqVvPI
	qO6MlSlpPMhuIw/8lTHLeWwkztExwGISGbbXUjybZZ6/Ig827Kit2pxR6GE7Yv0tnkx+ee2x4Ww
	nYexFHXOMtj8j5uDAlHVbindG7A0=
X-Gm-Gg: ASbGnctAY9e+ihoQ+/EVZjRpJ9H3LPe5IWHkQ//7qJh5XsLDjWrn8AZYmEG5UPDfSTd
	Xx6QkPaOoA/hDPfL8eGqri4GBhsb8aclgdS8LqMDF+7Vkzggz6ugQ/z36SgxemklTLuAdG+USK7
	JfzXCpu0GPgBgAofqjN6c4y8bi3RB4RoesnM4=
X-Google-Smtp-Source: AGHT+IEO1S3tEwxmASu93ejsnRINxvvuMDiqIGbl+8T7Vy7sSAy672zLmP0NrCybQte1gTG2QX+RvK6Lh4fv9puo91M=
X-Received: by 2002:a05:6512:138d:b0:549:6451:7e76 with SMTP id
 2adb3069b0e04-549abae7019mr4603406e87.33.1741859573175; Thu, 13 Mar 2025
 02:52:53 -0700 (PDT)
MIME-Version: 1.0
References: <CANVnVYLkcoG0nfM1j5kRJ2yYxX2TTiBcc3k6QuqYPLG7Q6FW5w@mail.gmail.com>
 <999247165.134927.1741773596827@195.98.208.36> <810710459.135614.1741783851926@195.98.208.36>
 <CANVnVYL+si4Dn5OypG3iBYgwD-uf-n=mgLmWbFj6eoTv47S0aA@mail.gmail.com>
In-Reply-To: <CANVnVYL+si4Dn5OypG3iBYgwD-uf-n=mgLmWbFj6eoTv47S0aA@mail.gmail.com>
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Thu, 13 Mar 2025 10:52:25 +0100
X-Gm-Features: AQ5f1JrxKTyLKjzb25_iH2UorwAav24S0NkEXUe2bHo17hfYlU8cGqAp5THFU-E
Message-ID: <CANVnVYJX1DNocs6252Vin_G-_W8+h4amJ2wFgmu0AV6A=BqVhA@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#1633: Bug#1633: Bug#1633: New clipboard issue in
 Libreoffice with X2Go
To: Jens Reyer <jens.reyer@leberrohstoffe.com>, 1633@bugs.x2go.org
Content-Type: multipart/alternative; boundary="0000000000001ba3b10630364929"
[Message part 1 (text/plain, inline)]
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=:55 openbox (or any other WM)
3. DISPLAY=: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 PM Ulrich Sibiller <ulrich.sibiller@gmail.com>
wrote:

> 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.
>
> 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 PM Jens Reyer <jens.reyer@leberrohstoffe.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
>> even heard about clipboardmanagers before. Neither clipman nor xclipboard
>> are installed.
>>
>>
>> Greets
>>
>> jre
>>
>>
>> Ulrich Sibiller <ulrich.sibiller@gmail.com> hat am 12. März 2025 um
>> 11:13 geschrieben:
>>
>> Hi,
>>
>>
>> please let us know the version of nxagent (x2goagent) you are using.
>> Also ensure that there’s no clipboard manager running (on both sides!).
>>
>>
>> Uli
>>
>> On Wed, Mar 12, 2025 at 11:11 AM Jens Reyer <
>> jens.reyer@leberrohstoffe.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
>> on 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 info
>> 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
>
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Wed Apr 2 16:34:47 2025; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.