From unknown Tue Apr 28 15:35:51 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1516: Rubymine bricks the clipboard synchronization of x2goclient(mswin32)
Reply-To: "Abt, Johannes" <johannes.abt@advantest.com>, 1516@bugs.x2go.org
Resent-From: "Abt, Johannes" <johannes.abt@advantest.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 28 Dec 2020 13:10:01 +0000
Resent-Message-ID: <handler.1516.B.160916079011411@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1516
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.160916079011411
          (code B); Mon, 28 Dec 2020 13:10:01 +0000
Received: (at submit) by bugs.x2go.org; 28 Dec 2020 13:06:30 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,FORGED_SPF_HELO,SPF_HELO_PASS autolearn=no
	autolearn_force=no version=3.4.2
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2070a.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe59::70a])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 4CE845DB0D
	for <submit@bugs.x2go.org>; Mon, 28 Dec 2020 14:06:25 +0100 (CET)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=ed/US2fiOFKYxpG6uTtGOVt1krp/cQW128/Ml2WCVY7Pve9qKbNh9N0/d9DyTwrGe/XMPpm6ujOwKaBXMmgYVP6F0B7APrUTkWhwScl7Tnz3U3AVBxnM7HlgDjlXzFPwkac84yQVdSwDIsfE7hs6Z+NwaHgI8yCdaXj1kZEo2HIqTIGAUaIgdOZ8avKHXeY4AWcsKlnO+1FOvR8MhCNdXa0I/mWY491P07cnJfUmWtHj0qpIdEvpB6sNGy2DwEBIING79PxOFP48PNB5EtcBQJMtuWAu3phz/jQxlHGA/eJpIeMIylqWc9R3D3ifaFRhWX6ZIK3NXJx/NU06qflytQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=QMwr309skKX64MWzM9PThTmd45fhJweYgz1rYPiDcBc=;
 b=BxNjEodpf3XxDzwSfWzRbpYpxd0C5PLyVbkeKaml3ZLgDgwysWnfNjt47kHyLmx2cdFnxcrdZAgVgrIOHjfCQ0QWERbeKBms//2DS0rijliGJM+q2p6+booAzpsBuJnGx9P5z5rRMXwDv9O/x049cGCiWW0nh0+kyaL3BJhB5s3Nwt+QGP9lGaS5ZXWQeauU4hGPod892K3Skv9aI0U2D/+8nIYCib9diBaVA+t43+oBp6mR7x3Q/gvxFbkdxNRtKUD1W3jFvd8YyVyfGhQKeQDoWVt4IOX0+Mcv27isMy1k9/J+g6FUmeNTs05BWrOatYESasxy1ODakCsTsLVj3g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=advantest.com; dmarc=pass action=none
 header.from=advantest.com; dkim=pass header.d=advantest.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=myadvantest.onmicrosoft.com; s=selector1-myadvantest-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=QMwr309skKX64MWzM9PThTmd45fhJweYgz1rYPiDcBc=;
 b=3cOyWqyPinD8U03d6ycuoxvTNqrqrugQhSf/rXWBd/gxtDBrMblBQkXVxJdQFWe2oeHJxJkBpCAmPZzyJT7Tt1Pj5ICQALYGm2xlGTkJJlZKoFpck8+YANqXYqxHEqxQg1SIqjyaoICkc47gKqOD3tMdtrNmcJokMV/0O+NlkNM=
Received: from DM6PR05MB4988.namprd05.prod.outlook.com (2603:10b6:5:7d::11) by
 DM6PR05MB7116.namprd05.prod.outlook.com (2603:10b6:5:1dc::28) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.3721.11; Mon, 28 Dec 2020 13:06:17 +0000
Received: from DM6PR05MB4988.namprd05.prod.outlook.com
 ([fe80::592a:246d:1eea:791c]) by DM6PR05MB4988.namprd05.prod.outlook.com
 ([fe80::592a:246d:1eea:791c%4]) with mapi id 15.20.3721.019; Mon, 28 Dec 2020
 13:06:17 +0000
From: "Abt, Johannes" <johannes.abt@advantest.com>
To: "submit@bugs.x2go.org" <submit@bugs.x2go.org>
Thread-Topic: Rubymine bricks the clipboard synchronization of
 x2goclient(mswin32)
Thread-Index: AdbdGgPxqiIMGVr3TRSIa9LqaOF/pQ==
Date: Mon, 28 Dec 2020 13:06:17 +0000
Message-ID:
 <DM6PR05MB4988D8B7915779C2092C4C5A9CD90@DM6PR05MB4988.namprd05.prod.outlook.com>
Accept-Language: de-DE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: bugs.x2go.org; dkim=none (message not signed)
 header.d=none;bugs.x2go.org; dmarc=none action=none
 header.from=advantest.com;
x-originating-ip: [84.166.154.99]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: ed163b61-72de-40cc-879b-08d8ab315cf9
x-ms-traffictypediagnostic: DM6PR05MB7116:
x-microsoft-antispam-prvs:
 <DM6PR05MB711635C27A64FF9AA6FF478B9CD90@DM6PR05MB7116.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:8882;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info:
 nMmo6BQpyWIKO0mhfxEqdD0tguIHMzrEQvpnXbJxW+niiGh9fWalXGLSv13bOyl4Xu0XuR2YsKb5cIZ1p0prt9hUD38dsLvaCrCkZE1Uh7chGIEgWanGVOUKZloet5YoIwQFMql7VxMaSyUZBtQZRbvJCnyLxXLa90GjZEHeBXUKXfG9Hs/SNmkiGk2uvY5sXDiHzR5hhsUGmXbRBNrkdcLUI4BSW1D10uwhAkD5UTvo890UE1BTBWUFGik36dJco33uBsMLUuRvkhMLhuj1qCOEymYbhe2zCGr7eQBSgmSboJHV2CkCGfL7iQ1fJK/5+x/rvpBxjjcLtpZaztQogDRcQZ/QRGJrU+k5OMKoUWpHgNH8CtNpqYhetar0eg9aQyHyvEYTwI2bqBVL2NBJ8Q==
x-forefront-antispam-report:
 CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR05MB4988.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(136003)(346002)(39860400002)(396003)(376002)(55016002)(52536014)(2906002)(66946007)(9686003)(66476007)(33656002)(66556008)(86362001)(66446008)(7696005)(5660300002)(64756008)(26005)(186003)(478600001)(316002)(6506007)(6916009)(76116006)(8936002)(8676002)(83380400001)(71200400001);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-messagedata:
 Cks85VUQp6Zs78VWKXaCtoXB+wJ4k8ejdUsfcad1J0gAY8i732+TWyM/aXCK98lRfNC1X49HW3DZKbjGFuiSi6+NEkMEOetL+5crua9dBbOvNiiX2Cyn1Uw8QCZkb9HfJNwzPI4LwiOqb4Is+r6bmYlk91qAGtp/1m68gLPggX/JxyqkPpTZqBtkLDXQAzQ+1y7FvhAnLW2e3DQPvBWf1cqZgsSM8+6obkKDOMs9xKqtH+FMh69jKPv0WAXJl59yyZ+Wp6ucidf0YeKC3wsIrGpXThIk2a7FOOoKfeS3/Xs+wa+oBDMtCdCBMz2UXYmwMAjBeWMOfBWqVJnqf10yWHRleE9KKGT8f9cXhrVMqyNsI7QuIwz784NkGQqvbE0aNZsDW16oQEpyknmLu8AJIk/r70OXghtzqZz/80wDfZTVOfSqxsdd4hp+RUKW5UOmyf7CEcTIdaVZqxy47kQFmvSjoAcD3vTJtSWT4RYC5gomjW8dWgN2hqwYnKFugMT36U5QhfBOX+J5Yo71jLR3lr0rq8+gEqbaF0YDHJPl6psdaCS/IUDkSCgzutvJ4WXzWp4Kiam4NnvM7VDUMvxhd/Rr35Yw0MlWaAm/Ynl9M45Jf8ZjAAk4xyyY/remZMb4TJgmV6RM98aFTRw+aG2+x8UH+0M4LzTl0ZKx/DLpqSwai1G0TOWnV2DU5+lb/EnxRh7jdZ+X9m5Ix7mWZrITjs6/v41H8sSdTB0JOxzIvGJm9K32JQxB3CCqzrTD78sLgL4td+XsXyogJil2JW9fl2qQ3qFNolRKsygZAsceySz8i6XOfxqlyklFxaaL7K3mGwAxieUPpBhxBQHbPTQ8vtXUl00xNkKT89esDvQImEfCStHIr9qH3cWlF78gCFIREX+sGnEdA19pwz9eD9WctzkYMjDbfL3DB+RZlTxub96/OkBTzWrWlcjRMOb/0Rhv7IGpyPLCnGO0jfPw13789aoavfoiMj0q/Qi/dbPksVM=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: ADVANTEST.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM6PR05MB4988.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ed163b61-72de-40cc-879b-08d8ab315cf9
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Dec 2020 13:06:17.3060
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: b0de9dff-4833-4d4f-b442-1e0dbfae2ec8
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Qq0v6IzMIa/FOiYUcDUy2LgpxS4cS2Yj6J0SvBhDsBWkoOhyYxP+JoTJkME4lJLgJn8DQBf0vB20gQSjHiNqBoBWWXdyqJe/4k/JMsb6lIM=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB7116

Package: x2goclient
Version: 4.1.2.2

Synopsis: When I use x2goclient to remotely work on RHEL7 workstation, the =
clipboard synchronization breaks when I start RubyMine and RubyMine restore=
s a previous text selection. The remote and the local clipboard loose sync.=
 From this point in time, they are entirely independent. There is a very sl=
ow work-around: suspend and resume the session.=20

How to Reproduce:
* On Windows, start "Notepad"
* connect to the Linux server (here: custom session using "/usr/bin/konsole=
")
* install RubyMine (maybe use a 30-day trial licence; maybe ItelliJ, PyChar=
m, WebStorm...) on the Linux server
* start RubyMine, on the server, load a text file=20
* copy the clipboard synchronization between server and client by copying t=
ext between "konsole", RubyMine and Notepad.
* select a part of the loaded text file and exit RubyMine
* re-start RubyMine; RubyMine automatically re-loads the file and restores =
the text selection
* try to copy&paste between server ("konsole" and "RubyMine") and client ("=
Notepad") and vice versa; it does not work anymore

Even if you exit RubyMine, the synchronization between server and client re=
mains broken until you suspend and resume the session.

If you do not ever select text before exiting the RubyMine, the clipboard s=
ynchronization of X2Go keeps working.

x2go on the server side (RHEL7.4):
x2goagent-4.1.0.3-9.el7.x86_64
x2goserver-xsession-4.1.0.3-9.el7.noarch
x2goserver-common-4.1.0.3-9.el7.noarch
x2goserver-4.1.0.3-9.el7.x86_64

I have been experiencing this problem for several years.
