X2Go Bug report logs - #1334
Bidirectional clipboard mode stops working with Windows 10 x2goclient

version graph

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

Reported by: Aki Ketolainen <akik@mykolab.com>

Date: Thu, 11 Oct 2018 13:30:01 UTC

Severity: normal

Found in version 4.1.2.0

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1334: [X2Go-Dev] Bug#1334: Bidirectional clipboard mode stops working with Windows 10 x2goclient
Reply-To: Ulrich Sibiller <uli42@gmx.de>, 1334@bugs.x2go.org
Resent-From: Ulrich Sibiller <uli42@gmx.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Thu, 11 Oct 2018 14:30:05 +0000
Resent-Message-ID: <handler.1334.B1334.153926792525588@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1334
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 1334-submit@bugs.x2go.org id=B1334.153926792525588
          (code B ref 1334); Thu, 11 Oct 2018 14:30:05 +0000
Received: (at 1334) by bugs.x2go.org; 11 Oct 2018 14:25:25 +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.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_MSPIKE_H2,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 23FEB5DAE6;
	Thu, 11 Oct 2018 16:25:19 +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 FlhBClyxqPkD; Thu, 11 Oct 2018 16:25:12 +0200 (CEST)
Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 59EE05DA7A;
	Thu, 11 Oct 2018 16:25:12 +0200 (CEST)
Received: by mail-vs1-f48.google.com with SMTP id w194so8677281vsc.11;
        Thu, 11 Oct 2018 07:25:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to:from:date
         :message-id:subject:to:cc;
        bh=72YJdoXbfQ1Jo4KouGXhQ/tqo3Jj00AEE585v5vOMBE=;
        b=ARba5fTsZdp1ny2lmV/4el+eE1wzOaziJZiCGGvA3VF/LzxPbyB0tcFs5L/qsnADMO
         ebQ3jfJ7xmnOyp6ugHPDBAIvQU6RlvK72WRQa6NRYZJ3wudrP8h1IpOM9tjYnlXLJUHT
         hOfsbtTvlpIuFBbv/jdEHCeXC+I2zNQ06ltY//AWoZ/f9Kzr0fQYeUCFFl0+eQ3BY2ES
         6v3vMsk4LfQx/706IDREr0qUB5Xscz5e5szu4lXuUo1praI6lMp8ZxM6VecUxO4T58sZ
         rGKfAQXE4hak+Dkkmq3atqdbz6T0WMXYt5FmPUpMmbTOtkB28sSA5VOj0FSyTKj7vlb7
         Of4Q==
X-Gm-Message-State: ABuFfoiXOfRK9+cHAfFL6+nMtQjxs3GMyzjNFU0/jWynk0s37eA3rKI2
	u8VouVxxyM2OIWUnlDn5W4Nu7mxrbhhzWucYtJA=
X-Google-Smtp-Source: ACcGV60plvIzUfty+Wb/J3tcXYB3hmOGnqZHiyjZhCzaMm9zaV4TNJJNAUd3xqR7adqLl79sz4wvwl4G7A99DKn5quY=
X-Received: by 2002:ab0:60c6:: with SMTP id g6-v6mr814359uam.100.1539267910611;
 Thu, 11 Oct 2018 07:25:10 -0700 (PDT)
MIME-Version: 1.0
References: <ef805bcd6eb41685b2df39b210561db3@mykolab.com>
In-Reply-To: <ef805bcd6eb41685b2df39b210561db3@mykolab.com>
From: Ulrich Sibiller <uli42@gmx.de>
Date: Thu, 11 Oct 2018 16:24:43 +0200
Message-ID: <CANVnVY+LRt+6eKfZE3NcGeYc-4tCr6WY0NzM1G6sbxW9+5Nu4w@mail.gmail.com>
To: akik@mykolab.com, 1334@bugs.x2go.org
Cc: submit@bugs.x2go.org
Content-Type: text/plain; charset="UTF-8"
Thanks! This sounds a bit like a off-by-one problem in the clipboard code.

However, to break this down further I want to rule out some
components. First, can you please verify if this is somehow
reproducable on a Linux client?

Next I would like to try and take x2go out of the equation:
- run vcxsrv on windows (vcxsrv.exe -multiwindow -ac :121)
- ssh to the Linux server (e.g. with putty) and point the DISPLAY
variable to the VcXsrv on windows (export
DISPLAY=:<windowsmachine>:121) Note: you might have to disable the
windows firewall
- run nxagent -ac :123 in the shell on the server -> you will get the
nxagent window on you Windows desktop
- in a second shell on the server point the DISPLAY variable to :123
and start the MATE session (export DISPLAY=:123;
STARTUP=mate-session dbus-run-session /etc/X11/Xsession)
Now repeat your editor tests.

Uli
On Thu, Oct 11, 2018 at 3:32 PM Aki Ketolainen <akik@mykolab.com> wrote:
>
> Package: x2goclient
> Version: 4.1.2.0
>
> I'm using x2goclient 4.1.2.0 on Windows 10. I have found two ways that
> break the bidirectional clipboard mode, one for the MATE desktop and
> one for the Plasma 4 desktop (both on the x2go server).
>
> 1) MATE desktop
>
> - Open a connection to your x2go server.
>
> - In Windows 10: Open a text editor. I use Notepad++.
>    - Write a single character in the editor, then select it and use copy.
>
> - In MATE desktop: Open a text editor. I use pluma.
>    - Press spacebar once and then select the empty space with ctrl+a.
>    - Use paste to paste the clipboard contents. At this point the
> clipboard
>      functionality breaks.
>
> 2) Plasma 4 desktop
>
> - Open a connection to your x2go server.
>
> - In Windows 10: Open a text editor. I use Notepad++.
>    - Write a single character in the editor, then select it and use copy.
>
> - In Plasma 4 desktop: Open a text editor. I use emacs. If I use KWrite
>    there is no problem.
>    - In an empty emacs buffer, press spacebar once, press cursor left and
>      then use ctrl+space to mark the selection starting point and press
>      cursor right once to select the empty space.
>    - Use ctrl+y to yank the contents of the clipboard. At this point
>      the clipboard functionality breaks and emacs goes into a loop
> consuming
>      100% CPU.
>
> Both of these break the Windows 10 side clipboard so that it doesn't
> work
> until I restart the computer.
>
> The client machine's OS: Windows 10 64-bit
> The client machine's version of X2GoClient, PyHoca-GUI or Pyhoca-CLI:
> 4.1.20
> Any relevant session settings in X2GoClient, PyHoca-GUI or Pyhoca-CLI:
> no
> The server's OS: MATE desktop: Fedora 27 x86_64, Plasma 4 desktop:
> CentOS 6 x86_64
> The server's version of the x2goserver package: MATE desktop:
> x2goserver-4.1.0.2-0.0x2go1.1.git20180801.1642.main.fc27.x86_64, Plasma
> 4 desktop: x2goserver-4.0.1.19-3.el6.x86_64
> The server's version of the x2goserver-xsession package: MATE desktop:
> x2goserver-xsession-4.1.0.2-0.0x2go1.1.git20180801.1642.main.fc27.x86_64,
> Plasma 4 desktop: not installed
> The server's version of the nxagent package: MATE desktop:
> nxagent-3.5.99.16-0.0build1.1.git20180719.2988.main.fc27.x86_64, Plasma
> 4 desktop: nxagent-3.5.0.32-3.1.x86_64
> The server's version of any other relevant packages (e.g., if the bug as
> about MATE integration, the version of x2gomatebindings): MATE desktop:
> not installed
> Any relevant settings in X2GoServer (that you changed from the
> defaults): MATE desktop: enabled BIG-REQUESTS
>
> Best regards,
>
> Aki
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> https://lists.x2go.org/listinfo/x2go-dev

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Fri Mar 29 00:11:34 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.