X2Go Bug report logs - #952
Clipboard broken

version graph

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

Reported by: Stefan Baur <X2Go-ML-1@baur-itcs.de>

Date: Tue, 29 Sep 2015 23:00:01 UTC

Severity: important

Found in version 4.0.5.0

Full log


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

Received: (at 952) by bugs.x2go.org; 20 Aug 2016 22:27:46 +0000
From ulrich.sibiller@gmail.com  Sun Aug 21 00:27:44 2016
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.7 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,FREEMAIL_REPLYTO,
	FREEMAIL_REPLYTO_END_DIGIT,URIBL_BLOCKED autolearn=no version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 226E95DEFE
	for <952@bugs.x2go.org>; Sun, 21 Aug 2016 00:27:43 +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 38pFHWdW8zth for <952@bugs.x2go.org>;
	Sun, 21 Aug 2016 00:27:37 +0200 (CEST)
Received: from mail-ua0-f174.google.com (mail-ua0-f174.google.com [209.85.217.174])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 3E4E75DACE
	for <952@bugs.x2go.org>; Sun, 21 Aug 2016 00:27:36 +0200 (CEST)
Received: by mail-ua0-f174.google.com with SMTP id 74so134547867uau.0
        for <952@bugs.x2go.org>; Sat, 20 Aug 2016 15:27:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:reply-to:in-reply-to:references:from:date:message-id
         :subject:to:content-transfer-encoding;
        bh=KUgRD8HiKATbpDjITQR/95mXulC7eaisLOfPREw4nh8=;
        b=mQNCSVV/JAiOE7FuRSa46/s7bwM7TL4DaSb3m2SXzr5ABaGanGO9yM6U4cxTdhue/p
         ZdpmGr4WkNLNaDMm/BW/AnK3q9Y1TnAhYE9tAKR7PM5hwx9DKFt1bRR4DgT5kHxhQ3us
         2FearGmMIJ+UPe6GLb14pJ0y/smD5qyjOMhLtkc8lQGfNoqHK7hG5VEkFj9Csxw7v2hz
         /SRD12UhmjCmn16V7KJROHTI8+pqqDNfzwVarfSeH/1dsRbceS3GoQSJj49X8NWuehht
         oBzisVtU7oeep2GdZHXPq4aaeOA/ndj+6yJTi3oF1q6bGogfcNnAeExuiILcRJlLQR8C
         5LEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:reply-to:in-reply-to:references
         :from:date:message-id:subject:to:content-transfer-encoding;
        bh=KUgRD8HiKATbpDjITQR/95mXulC7eaisLOfPREw4nh8=;
        b=HBHkb+NLa6KnN7F4ayt06bUu5JLSx0s1h226NLB4NGRKuiKb1KN8SPHAs18OO7J1zA
         FNzmGP9oJc8GbEIhzGD1a2OIhhBOqXb4OxE006QXtU6H+YDz6ST5f9LlA9DOGsF9wtQr
         bSTiHvBDkp443oaFH1QsE2dnhLiIBc7b3xYp97t9rAFe1Zvxz+i7cx5W8CBZ/axvU4PI
         2zPgt/h5HX3NTLX+kKMC/+cNe9AL1saf554/lWLqfDGCGgk8vH7fmjamwOcoTyOdntWv
         w0vaGXYogeHCCkUAQhqTgyB/FVttvirvj0DnlnEyMOoynPhT3MKT11LdWlTKPUA2XgJx
         WGcw==
X-Gm-Message-State: AEkoout2quwpkLHlnuswMyl+9VbMuyvziGYG6bt1qToCowLAxsaQGnNFJQitu14vudH7VV4+FD4AVTXH08mJcw==
X-Received: by 10.31.132.194 with SMTP id g185mr6412190vkd.114.1471732054825;
 Sat, 20 Aug 2016 15:27:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.103.153.6 with HTTP; Sat, 20 Aug 2016 15:27:14 -0700 (PDT)
Reply-To: uli42@gmx.de
In-Reply-To: <560D20A0.7080709@baur-itcs.de>
References: <20150930123155.Horde.ldV6HME2MzG9UgAyb4vnaQ2@mail.das-netzwerkteam.de>
 <560BDD38.3050709@baur-itcs.de> <20150930132609.Horde.o1nKxEwbz3yGAmx0Tvbc1A1@mail.das-netzwerkteam.de>
 <560D20A0.7080709@baur-itcs.de>
From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
Date: Sun, 21 Aug 2016 00:27:14 +0200
Message-ID: <CANVnVYLfNrG7MDf05=zXX53PuetyzH3=LU5qBBgt0RyvZm0GPQ@mail.gmail.com>
Subject: Re: [X2Go-Dev] Bug#952: Bug#952: Clipboard broken
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 952@bugs.x2go.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This seems to help although I am unsure about the effects this might
have on other sessions:


diff --git a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
index 1771d4c..c0d9c33 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Clipboard.c
@@ -1583,6 +1583,7 @@ int nxagentInitClipboard(WindowPtr pWin)
     nxagentXFixesInfo.Initialized = 1;
   }

+#ifdef BREAK_FIRST_PASTE_FROM_WINDOWS
   if (nxagentSessionId[0])
   {
     #ifdef TEST
@@ -1595,6 +1596,7 @@ int nxagentInitClipboard(WindowPtr pWin)
     pWin -> eventMask |= PropertyChangeMask;
     nxagentChangeWindowAttributes(pWin, CWEventMask);
   }
+#endif

   if (nxagentReconnectTrap)
   {


On Thu, Oct 1, 2015 at 2:01 PM, Stefan Baur <X2Go-ML-1@baur-itcs.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Am 30.09.2015 um 15:26 schrieb Mike Gabriel:
>> On  Mi 30 Sep 2015 15:01:44 CEST, Stefan Baur wrote:
>>
>>> So maybe something isn't initialized properly, and when firing up
>>> the old client first, it happens and remains that way?
>>
>> When hacking PyHoca-GUI on Windows, I saw stray VcXsrv instance
>> remaining as a running (and functional) process, although the
>> PyHoca-GUI application had already been quit.
>
> This is unlikely to happen with X2GoClient.exe, as Alex added a
> "reaper" tool that terminates all X2GoClient.exe-spawned tasks when
> X2GoClient.exe exits.
>
>
>> Are you sure, that VcXsrv properly terminated after uninstalling
>> the old X2Go Client version? Or did the new X2Go Client possibly
>> use VcXsrv shipped with the old client.
>
> In that particular case, there is no "installation", both versions
> reside in different directories, side by side, after I unzipped them
> manually.
> It is unlikely that the newer one would run the X server from a
> totally different directory.
>
>> Also, the X11 settings are stored in the Windows registry (HKCU
>> IIRC). The cmdline options for launching VcXsrv are stored there,
>> as well.
>
>> When testing different client versions regarding VcXsrv, make sure
>> to purge X2Go Client's registry settings.
>
> I will try running X2GoClient.exe in portable mode for my further
> tests, to avoid that.
>
> Also, it might depend on the sequence of copy/paste events.
> The time I noticed that it wasn't working, the first attempt was
> copying from the client and pasting to the server.
> The time it worked, after going back and forth between versions, the
> first copy was made on the server and the first paste on the client.
>
> Again, I'll try to do some more experiments and will report back.
>
> - -Stefan
> - --
> BAUR-ITCS UG (haftungsbeschränkt)
> Geschäftsführer: Stefan Baur
> Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
> Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2
>
> iQEcBAEBCAAGBQJWDSCgAAoJEG7d9BjNvlEZ/cgH/R9XgAsHjVxqQb06/kv0tln1
> ZMu+9Bf7vveWMpZtAJ2OcOAL57kO8keBYFUh7VUZUMhNQNfaI5WgkhR+ed4tAYMO
> RhImSCSZDuVjCeM5YYapesBXRvV8RhHqwL+yLI0KKQRngQoJ9SFITlYxGedzg/mJ
> iIKq7/8ekyd5ggRBtmZo9GqXSjCqvm3fOaGIfoiZDz5qBXlnHhAoDNwI8xEWvrEo
> wyYX/TNZOHlTnD197m6Dtklo6nyPEquShgw/ti0rz1lBbvzTQ+D3hOK9ZS9sGO3r
> 0bwWogMFVPwT1qAf8F9tnvswkF+6Evkcv/x22RZPoSbDXKxLWK9rd2lKfv+6KSo=
> =BFiK
> -----END PGP SIGNATURE-----
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> http://lists.x2go.org/listinfo/x2go-dev


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Mar 28 23:50:13 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.