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

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org:
Bug#1206; Package x2goclient (windows 7 sp1 64 bit). (Thu, 21 Sep 2017 15:20:02 GMT) (full text, mbox, link).


Acknowledgement sent to Pawel Kalita <p.kalita@gmail.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org.

Your message had a Version: pseudo-header with an invalid package version:

4.0.5.2 (x2goclient 4.1.0.0 does not work, crashes on connect, bug

please either use found or fixed to the control server with a correct version, or reply to this report indicating the correct version so the maintainer (or someone else) can correct it for you.

(Thu, 21 Sep 2017 15:20:02 GMT) (full text, mbox, link).


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

From: Pawel Kalita <p.kalita@gmail.com>
To: submit@bugs.x2go.org
Subject: unable to copy to clipboard with more than 256 kB
Date: Thu, 21 Sep 2017 17:18:34 +0200
[Message part 1 (text/plain, inline)]
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.

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
[Message part 2 (text/html, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org:
Bug#1206; Package x2goclient (windows 7 sp1 64 bit). (Thu, 21 Sep 2017 21:55:01 GMT) (full text, mbox, link).


Acknowledgement sent to uli42@gmx.de:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>, owner@bugs.x2go.org. (Thu, 21 Sep 2017 21:55:02 GMT) (full text, mbox, link).


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

From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
To: Pawel Kalita <p.kalita@gmail.com>, 1206@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#1206: unable to copy to clipboard with more than 256 kB
Date: Thu, 21 Sep 2017 23:51:13 +0200
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


Bug reassigned from package 'x2goclient (windows 7 sp1 64 bit)' to 'x2goclient'. Request was from Juri Grabowski <x2go@jugra.de> to control@bugs.x2go.org. (Sat, 12 Mar 2022 17:20:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Apr 26 08:25:16 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.