X2Go Bug report logs - #1206
unable to copy to clipboard with more than 256 kB

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

Reported by: Pawel Kalita <p.kalita@gmail.com>

Date: Thu, 21 Sep 2017 15:20:02 UTC

Severity: normal

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1206: [X2Go-Dev] Bug#1206: unable to copy to clipboard with more than 256 kB
Reply-To: uli42@gmx.de, 1206@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>, owner@bugs.x2go.org
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 21 Sep 2017 21:55:01 +0000
Resent-Message-ID: <handler.1206.B1206.150603075218650@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1206
X-X2Go-PR-Package: x2goclient (windows 7 sp1 64 bit)
X-X2Go-PR-Keywords: 
Received: via spool by 1206-submit@bugs.x2go.org id=B1206.150603075218650
          (code B ref 1206); Thu, 21 Sep 2017 21:55:01 +0000
Received: (at 1206) by bugs.x2go.org; 21 Sep 2017 21:52:32 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on
	ymir.das-netzwerkteam.de
X-Spam-Level: *
X-Spam-Status: No, score=1.2 required=3.0 tests=BAYES_40,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO,
	FREEMAIL_REPLYTO_END_DIGIT,URIBL_BLOCKED autolearn=no autolearn_force=no
	version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id E37915DACD
	for <1206@bugs.x2go.org>; Thu, 21 Sep 2017 23:51:42 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at ymir.das-netzwerkteam.de
Received: from ymir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (ymir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zQ_QzVt8MlX5 for <1206@bugs.x2go.org>;
	Thu, 21 Sep 2017 23:51:35 +0200 (CEST)
Received: from mail-ua0-x22a.google.com (mail-ua0-x22a.google.com [IPv6:2607:f8b0:400c:c08::22a])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 70A5A5DACC
	for <1206@bugs.x2go.org>; Thu, 21 Sep 2017 23:51:35 +0200 (CEST)
Received: by mail-ua0-x22a.google.com with SMTP id l24so4490542uaa.5
        for <1206@bugs.x2go.org>; Thu, 21 Sep 2017 14:51:35 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:reply-to:in-reply-to:references:from:date:message-id
         :subject:to;
        bh=csAtyZYTvluStY+LB9vnAPJsg8UTG1I17zoTy5H8Opo=;
        b=d7umUW9NvDSW7fWPweb3QwTs3fK6P/CeLGVJhzs5JDcrUm93vsf/Q/8QdUucaAHL1y
         WjLe2qSGoaEbkMxK280CmJLi81d9o0Ct49XFmrEhG1+8Kf7UdTP/wLYFteJs1EJOKjjk
         GtRNcMubM6EEB1zhRvaheNSMffBIitALJBhM6rundEoKkWJOkY7+PB+xj/WhGgwTifZz
         gn6x5uKOtYgJ6fEHrhqhMXNtXRMrhiZlp2pbdFQzXGjYqjiNaeAsT1dfLplWLXg27UD5
         osFHha3qUpd0iiCsKMh0yDKvwKqaTJqp6r+bhZ63O367WPWuiyCBNkV7IdJhfJn1km9p
         oASg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:reply-to:in-reply-to:references
         :from:date:message-id:subject:to;
        bh=csAtyZYTvluStY+LB9vnAPJsg8UTG1I17zoTy5H8Opo=;
        b=n13u0PxPwpOZCIfBc7dNJrjkWkE1oe1U9aUZT/xJ2UNXxHzj+1DnI9kvA23+xcrZ9b
         kuXtDHWQGBsWlInb5kzBI+HxdaTHnqV7Pi86A5Cx50TNYqhfTAs8DOPkB/jfQD93O6+1
         jw8z9tvYylBwXbFlV/+EeGTJRmE9QAK4K+p2Ly5FoYLes2r+5kTofgBUxL6j+UT4VRuR
         lTbtVwaqCn/t9sRMYRkYj3FfdC36KBNkPJ/rGj00nBpGngJJN6MR3DiR1/XN4QLkq9ZQ
         6VJwHmfmoDItrC0GLj+dDVAQnzzB6ey7rxi8g8wK4oYKw3TXvNFNWQqJwGOMQ9BYQcyI
         2XBw==
X-Gm-Message-State: AHPjjUg9YxLVu0M/H73XRJ98TSLxFOHpO1JfDHEhbttr+CgbYp6Jusaw
	ORo381fDxTNdrU6uwgOV4MJkoo5As9c0Bt7+YXc=
X-Google-Smtp-Source: AOwi7QB7jriS3WQBAyWwmcNfoWpGEsPF8Q4yej7vrE8rxRCO2HYLFpTQfMOLpT+An855flWrAjxPegQrSB8vfIEeJ+8=
X-Received: by 10.176.75.202 with SMTP id b10mr3426802uag.174.1506030693948;
 Thu, 21 Sep 2017 14:51:33 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.176.90.202 with HTTP; Thu, 21 Sep 2017 14:51:13 -0700 (PDT)
In-Reply-To: <CAJB0TXgtwprUcfpxvxtJT3p2Tb9xm-NrZZtAkCYcW4VzfG9VZQ@mail.gmail.com>
References: <CAJB0TXgtwprUcfpxvxtJT3p2Tb9xm-NrZZtAkCYcW4VzfG9VZQ@mail.gmail.com>
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Thu, 21 Sep 2017 23:51:13 +0200
Message-ID: <CANVnVYLKVoLqvbvZk8UBjKYFB8a+W+Xjy--U9fbYa0g5rMdzJA@mail.gmail.com>
To: Pawel Kalita <p.kalita@gmail.com>, 1206@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
On Thu, Sep 21, 2017 at 5:18 PM, Pawel Kalita <p.kalita@gmail.com> wrote:
> Package: x2goclient (Windows 7 SP1 64 Bit)
> Version: 4.0.5.2 (x2goclient 4.1.0.0 does not work, crashes on connect, bug
> report-#1163)
>
> Package: x2goclient (Fedora 26)
> Version: 4.1.0.0-1.fc26
>
> Package: x2goserver (CentOS Linux 7.3)
> Version: v4.0.1.20
>
>
> Multiple applications are affected such firefox or databasetools e. g.
> When connecting from physical windows or linux desktop with locally
> installed pgAdmin3/ or /pgAdmin4 to the remote postgresql database I can
> copy without any problems mapped_value text executed from a SQL query with
> more than 250000 characters and paste it in any editor on physical
> windows/linux desktop.


Actually the size should be 256kb. The corresponding code is in
nxagent and looks like this:

      /*
      * The state machine is able to work in two phases. In the first
      * phase we get the size of property data, in the second we get
      * the actual data. We save a round-trip by requesting a prede-
      * termined amount of data in a single GetProperty and by discar-
      * ding the remaining part. This is not the optimal solution (we
      * could get the remaining part if it doesn't fit in a single
      * reply) but, at least with text, it should work in most situa-
      * tions.
      */

     lastClientStage = SelectionStageQueryData;
     lastClientPropertySize = 262144;

(dont let the "last" confuse you here). So I guess increasing that
value would help in your situation. However, it looks like a bug,
since the code should loop and work wiht more than 256kb. But for some
reason not yet understood it does not...

> When connecting from physical windows or linux desktop to the remote
> postgresql database using x2goclient and trying to copy and paste data from
> remote database to the physical windows/linux desktop editor it simply does
> not work.
>
> The issue is reproducible.
>
> Probably it is a connected issue
> https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html

Could be. nx contains an own mechanism similar to INCR and I have not
seen any reference to INCR within the code. So maybe it should learn
about INCR and extend its own mechanism.

Thanks for reporting that problem!

Uli

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 16:21:08 2024; 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.