From unknown Tue Apr 28 11:06:02 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#820: [X2Go-Dev] Bug#820: Bug#820: Bug#820: Patch: x2goserver: x2goruncommand - set IMEXIT="true" for gnome-terminal
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 820@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.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: Fri, 20 Mar 2015 11:20:02 +0000
Resent-Message-ID: <handler.820.B820.142685023912795@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 820
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 820-submit@bugs.x2go.org id=B820.142685023912795
          (code B ref 820); Fri, 20 Mar 2015 11:20:02 +0000
Received: (at 820) by bugs.x2go.org; 20 Mar 2015 11:17:19 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 328655DAA4
	for <820@bugs.x2go.org>; Fri, 20 Mar 2015 12:17:17 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 8A58762;
	Fri, 20 Mar 2015 12:17:16 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 8B5253BF67;
	Fri, 20 Mar 2015 12:17:15 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Q-lxvQvhFM6n; Fri, 20 Mar 2015 12:17:15 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 34CF03BB60;
	Fri, 20 Mar 2015 12:17:15 +0100 (CET)
Received: from bifrost.das-netzwerkteam.de (bifrost.das-netzwerkteam.de
 [178.62.101.154]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP;
 Fri, 20 Mar 2015 11:17:15 +0000
Date: Fri, 20 Mar 2015 11:17:15 +0000
Message-ID: <20150320111715.Horde.w72RDoRLUhGT4SenOjUlAQ1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Mihai Moldovan <ionic@ionic.de>
Cc: 820@bugs.x2go.org, Rok Mandeljc <rok.mandeljc@gmail.com>
References: <550752A1.1070807@gmail.com> <5507BE76.1060309@ionic.de>
 <5507C377.4060008@ionic.de> <5507FD3E.90904@gmail.com>
 <55083D83.9000702@ionic.de>
 <20150317160503.Horde.w2PfHDjbkGaGJIzvi_LvJw8@mail.das-netzwerkteam.de>
 <550BA7B5.90105@ionic.de>
In-Reply-To: <550BA7B5.90105@ionic.de>
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 178.62.101.154
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_uIXf4-XKukH2WraRvHeMJQ3";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_uIXf4-XKukH2WraRvHeMJQ3
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On  Fr 20 M=E4r 2015 05:53:09 CET, Mihai Moldovan wrote:

> On 17.03.2015 05:05 PM, Mike Gabriel wrote:
>> With gnome-terminal from GNOMEv2 IMEXIT needs to be false (because
>> gnome-terminal (v2) does _not_ fork to background).
>>
>> With gnome-terminal from GNOMEv3 IMEXIT needs to be true (because
>> gnome-terminal (v3) forks to background).
>
> Stefan just "submitted" another bug report yesterday in a private
> conversion about another piece of software that needs special handling
> via IMEXIT -- but likewise different values dependent on the specific
> version used.
>
> I guess I should better handle that with a few new functions, to be able
> to add other software and versions more flexible in the future.
>
>
>
> Mihai
>
> P.S.: a workaround for those issues is to use pubapps.

Before you start working on this...

Actually, the x2goruncommand stuff should be fully reworked. So that=20=20
TERMINAL,=20WEBBROWSER etc. are actually symlinks or .desktop files that=20=
=20
the=20x2goruncommand refers to.

Basically, I would fork every single application to background and=20=20
monitor=20its termination with other means (e.g. with the stdout/stderr=20=
=20
blocker),=20so that IMEXIT would always be FALSE.

Mike
--=20

DAS-NETZWERKTEAM
mike=20gabriel, 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.x=
fb

--=_uIXf4-XKukH2WraRvHeMJQ3
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJVDAG7AAoJEJr0azAldxsxcI4QALlmYKOV32X5OYPcO3M0htOy
4pA4wRamNePSQXa3KZWKLAjHzSeHb+JeASIuTKu5kGgCroEtARicEiLefBe6V68r
pFmFIjq5M412WPutixDFu8QS6Dxr4meWW8G9i9Dh4AkDEQtizv6uEz6bc2nW2Fmr
JPUOdLyQZOesudhlEH2JI1Z6leoTcyOBpAVa2alU+5jGu+PJuFWrx2fsvElw/QRE
DahvWL+tl46YLAVUoLEWgfG4hlkzqemnr7LNIap5HY6Jeo5BBUao+jPkiiXm25vt
JAO1SwNscgzlDW4NSxyZoAWWGg+fvUWEQRzkqEX81EDy0v+I7/MxrMknWnlUAoKl
LN4noZAWbT4e1YGiPUrGyamQu6myRfBWjsZFSsLZkobz1nUUoRD8cGUKwVBs1O7P
frnDqbWJDAkaH+73vKPYjEO1c0cgV5VveDBv7J0QbXNSoBI/rMVBOqqB0pOVf30T
W51T3sqYuysMSOidShrbouQFN0nSttnL5eYWMZPveFAscHr2CDxj0/NgN8M4y/3W
ZEyqNIlgATu1yFRjM5xIBmeHNoLAps2HpI0NlZv/CutB2tMEJJY3uPhF/l+FeiIv
qdRJ+g1n7ARZ5ih5NVnF41inhQI0XdzezXX0xupal1VwqcNGSN0oZ5UnSSPktLvN
dhWKyYRo7OGGKRakyPpj
=L4+s
-----END PGP SIGNATURE-----

--=_uIXf4-XKukH2WraRvHeMJQ3--
