From unknown Tue Apr 28 14:01:27 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#759: [X2Go-Dev] x2goclient 4.0.5.0 (and 4.0.5.1 preview) frequent ssh commands don't free resources
Reply-To: Mihai Moldovan <ionic@ionic.de>, 759@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.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: Wed, 15 Nov 2017 02:00:02 +0000
Resent-Message-ID: <handler.759.B759.15107109857618@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 759
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 759-submit@bugs.x2go.org id=B759.15107109857618
          (code B ref 759); Wed, 15 Nov 2017 02:00:02 +0000
Received: (at 759) by bugs.x2go.org; 15 Nov 2017 01:56: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=0.7 required=3.0 tests=BAYES_40,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,RDNS_NONE autolearn=no autolearn_force=no
	version=3.4.1
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 016975DAD0
	for <759@bugs.x2go.org>; Wed, 15 Nov 2017 02:56:24 +0100 (CET)
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 LkseFqenlh33 for <759@bugs.x2go.org>;
	Wed, 15 Nov 2017 02:56:11 +0100 (CET)
Received: from mail.ionic.de (unknown [IPv6:2001:41d0:a:588b:1::2])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 9F9115DACF
	for <759@bugs.x2go.org>; Wed, 15 Nov 2017 02:56:11 +0100 (CET)
Received: from [10.30.44.7] (178.162.222.41.adsl.inet-telecom.org [178.162.222.41])
	by mail.ionic.de (Postfix) with ESMTPSA id DEBCF4F0069F;
	Wed, 15 Nov 2017 02:56:10 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1510710971; bh=gtNkabVThaDvpb/Jc445h9myx9kVdzC/tcFpQugOi58=;
	h=Subject:To:Cc:References:From:Date:In-Reply-To:From;
	b=cwNzz9hAbqdRlm2ITmMHgaSw/kOovgUn3Es0NJKcULLYKwXcR7AOCk8SoCLEbuz0K
	 VcR4+Wds7+GlU/ACajmsmOjV9fEgWWqGmsmRD5HdWPc1Oa0jcqUUwp2pvreLpoANgy
	 kW1LDDIM1C1XNxVJ3OPZH18TkmIxQCjMSQbMHqCk=
To: Mat Martineau <mathew.j.martineau@linux.intel.com>, 759@bugs.x2go.org
Cc: x2go-dev@lists.x2go.org
References: <alpine.OSX.2.20.1602180854480.7114@mjmartin-mac01.local>
 <alpine.OSX.2.20.1603140944420.1463@mjmartin-mac01.local>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <18ef7344-053a-dda7-beac-480507c12993@ionic.de>
Date: Wed, 15 Nov 2017 02:56:10 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <alpine.OSX.2.20.1603140944420.1463@mjmartin-mac01.local>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="qUkhFn2lapj00O8q61Np5Tx6xOD4PnOHU"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--qUkhFn2lapj00O8q61Np5Tx6xOD4PnOHU
Content-Type: multipart/mixed; boundary="1I3AUNsnUbis1C9BdSCqrOFEJc9643003";
 protected-headers="v1"
From: Mihai Moldovan <ionic@ionic.de>
To: Mat Martineau <mathew.j.martineau@linux.intel.com>, 759@bugs.x2go.org
Cc: x2go-dev@lists.x2go.org
Message-ID: <18ef7344-053a-dda7-beac-480507c12993@ionic.de>
Subject: Re: [X2Go-Dev] x2goclient 4.0.5.0 (and 4.0.5.1 preview) frequent ssh
 commands don't free resources
References: <alpine.OSX.2.20.1602180854480.7114@mjmartin-mac01.local>
 <alpine.OSX.2.20.1603140944420.1463@mjmartin-mac01.local>
In-Reply-To: <alpine.OSX.2.20.1603140944420.1463@mjmartin-mac01.local>

--1I3AUNsnUbis1C9BdSCqrOFEJc9643003
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 03/14/2016 05:47 PM, Mat Martineau wrote:
> Given that the Mac client is leaking 6 SshProcess objects per minute, i=
s=20
> there a chance bug 759 will get a look before 4.0.5.1?

Obviously not, but something definitely sounds fishy there.

In general, running xmodmap every 10 seconds is fine. That's how we synch=
ronize
the keyboard map on OS X. I understand this may seem weird, but keyboard
handling on OS X is difficult. The keyboard settings that is reported by =
the
local X server on OS X is just "bogus" and the mapping is done differentl=
y. I
don't know how exactly, but I figure it's going through the OS X system a=
t some
point.

A problem arises if these values are taken at face value - they keyboard =
mapping
would completely messed up. This also holds, for example, if the keyboard=

parameters is changed in x2goagent/nxagent (e.g., via the desktop environ=
ment)
itself.


The second issue - ssh processes stacking up, is NOT intentional and must=
 be fixed.


Can you reproduce this with current versions?



Mihai



--1I3AUNsnUbis1C9BdSCqrOFEJc9643003--

--qUkhFn2lapj00O8q61Np5Tx6xOD4PnOHU
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIzBAEBCgAdFiEEbhHQj3UzgcdE8cg8H9Yu2W4lOocFAloLnroACgkQH9Yu2W4l
OodA2A//eQMZtyXKHwfaWGZLmjwA1wePA5lMJzgnPm2hbbMyigxjAQ2d/PF/Fkdq
zmwLFrtIgR+C9it6vwdaSQ9HpsepKz3gwsrsMgGehTL70PHDF24750vw/grzE+ez
RlDURj7xHX1d8DZ8RKagpfD0Et/u65tfcL+QazSWImxrIvYpgRYChfW6BB+BMnUs
8/uzJdXfatOrXFJQYMSieyjbR7KaIOCcKO26N75OdVAgDDBndrl/Pq2QIx2XGomK
ao8X30mQJOIVChBetu93+ko9ulClx0si8LJcs38cOJ9YKZ7LFZOaQeV/aRlNbCXK
DbeCXsPogZSKcQp3jbyDitq3fgE0lJT2j+ymIszq6MCI/RiaDiDNu7U8hAQ54nUw
Vi2gIzEqxqbh2DerjV/bG50Vp7YloEGoWh7a6SCbhunPYijRiKiLSgwb4e2+KibU
B7i4Cn1Oof2sVuVJMhVlzMKXVqSNTY05IBHMD1jB067DS5Hr2cZgsLdiOaz5rwIM
kargF8Rs+imteCYj2ZUnavLaWKCVGVC1PoSiNXm/Oe13STUwkYJ7sTxsTvM2jCU0
ZGGm3kAOgUxWWLnrFmtcSvJCZJsJmrMlFlVPDe6K6Vzj2hKvJb/wF5oPJgnCES4e
/pHiOcBr4e2ptyFDaqxYW7h5F+9KcBDGuH+o+nmXSecEODUM/LE=
=y7Wf
-----END PGP SIGNATURE-----

--qUkhFn2lapj00O8q61Np5Tx6xOD4PnOHU--
