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

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>:
Bug#952; Package x2goclient. (Tue, 29 Sep 2015 23:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 29 Sep 2015 23:00:03 GMT) Full text and rfc822 format available.

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

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: submit@bugs.x2go.org
Subject: Clipboard broken
Date: Wed, 30 Sep 2015 00:55:08 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

package: x2goclient
version: 4.0.5.0
severity: important

The clipboard is broken on X2GoClient for Windows.
Even though the client is set to allow clipboard sharing in both
directions, neither direction works.

Severity set to important, as it seriously impacts a key functionality.

- -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

iQEcBAEBCAAGBQJWCxbMAAoJEG7d9BjNvlEZqrMIAJCYNFGPEnLZws7YlZTiw0JX
B+35zk60CwTa1baCte49G31Evn9eXBwDivZOFymBgl38fObE8F8YPaCqZxGu80dO
eZCeaIodGwl+yKBa4Y6D8jOMLalmzSv/qEbUdTFSPiAspWq97zwTRsAEB/v3Hh+6
BSn+DXCFgY9IhHr2BS+Y/i16PSSjU8DWYGVLhalX9IQ72c7NQdpq540vOIxVO2qn
wacXwc/LQdz/GFUqxWWgkS9/ZvPHziqXMkY1DoTPzvgdtRAuZcqQjRn+p2C4FgFU
67AQ8V7GTg3hhJK4ef/L/+bMNZ9ypMslInkV3THomeZUrVOZkZo8YgXPbl+umOg=
=84Hc
-----END PGP SIGNATURE-----


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#952; Package x2goclient. (Wed, 30 Sep 2015 12:35:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 30 Sep 2015 12:35:02 GMT) Full text and rfc822 format available.

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

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 952@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#952: Clipboard broken
Date: Wed, 30 Sep 2015 12:31:55 +0000
[Message part 1 (text/plain, inline)]
HI Stefan,

On  Mi 30 Sep 2015 00:55:08 CEST, Stefan Baur wrote:

> package: x2goclient
> version: 4.0.5.0
> severity: important
>
> The clipboard is broken on X2GoClient for Windows.
> Even though the client is set to allow clipboard sharing in both
> directions, neither direction works.
>
> Severity set to important, as it seriously impacts a key functionality.
>
> - -Stefan

Please check /etc/x2go/x2goagent.options and check if clipboard is  
disabled there.

Please check with VcXsrv as shipped with X2Go Client and a PuTTY +  
X11-forwarding session, if copy+paste works for you via such a remote  
X11 session.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#952; Package x2goclient. (Wed, 30 Sep 2015 13:10:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 30 Sep 2015 13:10:02 GMT) Full text and rfc822 format available.

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

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 952@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#952: Clipboard broken
Date: Wed, 30 Sep 2015 15:01:44 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Am 30.09.2015 um 14:31 schrieb Mike Gabriel:
> HI Stefan,
> 
> On  Mi 30 Sep 2015 00:55:08 CEST, Stefan Baur wrote:
> 
>> package: x2goclient version: 4.0.5.0 severity: important
>> 
>> The clipboard is broken on X2GoClient for Windows. Even though
>> the client is set to allow clipboard sharing in both directions,
>> neither direction works.
>> 
>> Severity set to important, as it seriously impacts a key
>> functionality.
>> 
>> - -Stefan
> 
> Please check /etc/x2go/x2goagent.options and check if clipboard is 
> disabled there.

I've seen this on several servers, haven't checked all of them yet,
but the last one clearly says:

# Enforce clipboard behaviour in X2Go sessions globally (for all
connecting clients)
# Possible values for the -clipboard option: both, server, client, none
# If this option stays commented out, clients can choose the sessions'
clipboard behaviour...
#X2GO_NXAGENT_DEFAULT_OPTIONS+=" -clipboard both"

so it's in its default state, I guess.
Also, I never consciously disabled that feature on any of those servers.


> Please check with VcXsrv as shipped with X2Go Client and a PuTTY + 
> X11-forwarding session, if copy+paste works for you via such a
> remote X11 session.

Will check that later.

Funny:
I just tried 4.0.3.2, where it seems to work fine, then I switched to
4.0.5.0 and - it worked there, too.  But it hasn't been working all
day yesterday with 4.0.5.0, on the same machine.
So maybe something isn't initialized properly, and when firing up the
old client first, it happens and remains that way?

Will investigate further.

- -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

iQEcBAEBCAAGBQJWC904AAoJEG7d9BjNvlEZdiEH/1bYCfOTrPqIqoAcBrp26FCz
VEJf7nxM8pDhj1/pVUP6qiMZKqY8oETokj7zz7UcW29onYpYjqMptTtvcvhs/A76
wDyD5QxHvnTh6Ze+tDRtVBgfMLlDoQoqAd3dHH+KXJXlPwp7qxvpAC5fVpof9fsh
pAC+FA/fNFAzPYRB7Hcm8LpgfMBSYBJ4glebzbFKllwAGN+TsrOJy3C9BOG4bp9P
MBtqoCj9mjKqFwf3aAQKodYeKivowYi5cysqVThERdEU6ZiSiEckLDHEDjBqkDlG
2hgrVkkF1EjM9QkjHB3iTsGo2Bo/W9D3KfhX5WDy9Sox/MiwjvQl5t/6qnjrgOo=
=3Gjm
-----END PGP SIGNATURE-----


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#952; Package x2goclient. (Wed, 30 Sep 2015 13:30:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Wed, 30 Sep 2015 13:30:01 GMT) Full text and rfc822 format available.

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

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Cc: 952@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#952: Clipboard broken
Date: Wed, 30 Sep 2015 13:26:09 +0000
[Message part 1 (text/plain, inline)]
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.

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.

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.

Mike
-- 

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#952; Package x2goclient. (Thu, 01 Oct 2015 12:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Baur <X2Go-ML-1@baur-itcs.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Thu, 01 Oct 2015 12:10:02 GMT) Full text and rfc822 format available.

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

From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Cc: 952@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#952: Clipboard broken
Date: Thu, 1 Oct 2015 14:01:36 +0200
-----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-----


Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#952; Package x2goclient. (Sat, 20 Aug 2016 22:30:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to uli42@gmx.de:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Sat, 20 Aug 2016 22:30:03 GMT) Full text and rfc822 format available.

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

From: Ulrich Sibiller <ulrich.sibiller@gmail.com>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 952@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#952: Bug#952: Clipboard broken
Date: Sun, 21 Aug 2016 00:27:14 +0200
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 Dec 13 16:29:58 2018; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.