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

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
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
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 [])
	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 ([])
	by localhost (ymir.das-netzwerkteam.de []) (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 [])
	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;
X-Gm-Message-State: ABuFfoiXOfRK9+cHAfFL6+nMtQjxs3GMyzjNFU0/jWynk0s37eA3rKI2
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.

On Thu, Oct 11, 2018 at 3:32 PM Aki Ketolainen <akik@mykolab.com> wrote:
> Package: x2goclient
> Version:
> I'm using x2goclient 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-, Plasma
> 4 desktop: x2goserver-
> The server's version of the x2goserver-xsession package: MATE desktop:
> x2goserver-xsession-,
> Plasma 4 desktop: not installed
> The server's version of the nxagent package: MATE desktop:
> nxagent-, Plasma
> 4 desktop: nxagent-
> 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: Wed Feb 1 02:43:24 2023; 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.