From mike.gabriel@das-netzwerkteam.de Tue Mar 17 17:05:04 2015 Received: (at 820) by bugs.x2go.org; 17 Mar 2015 16:05:06 +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 A6E4B5DAA2 for <820@bugs.x2go.org>; Tue, 17 Mar 2015 17:05:04 +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 109A4C14; Tue, 17 Mar 2015 17:05:04 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E149B3BFD9; Tue, 17 Mar 2015 17:05:03 +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 fe0nvbbTdPOf; Tue, 17 Mar 2015 17:05:03 +0100 (CET) Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1]) by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 913293B968; Tue, 17 Mar 2015 17:05:03 +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; Tue, 17 Mar 2015 16:05:03 +0000 Date: Tue, 17 Mar 2015 16:05:03 +0000 Message-ID: <20150317160503.Horde.w2PfHDjbkGaGJIzvi_LvJw8@mail.das-netzwerkteam.de> From: Mike Gabriel To: Mihai Moldovan , 820@bugs.x2go.org, Rok Mandeljc Subject: Re: [X2Go-Dev] Bug#820: Bug#820: Patch: x2goserver: x2goruncommand - set IMEXIT="true" for gnome-terminal References: <550752A1.1070807@gmail.com> <5507BE76.1060309@ionic.de> <5507C377.4060008@ionic.de> <5507FD3E.90904@gmail.com> <55083D83.9000702@ionic.de> In-Reply-To: <55083D83.9000702@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="=_U4Kuu_j30hMQfp0EtHtzkQ8"; protocol="application/pgp-signature"; micalg=pgp-sha1 MIME-Version: 1.0 This message is in MIME format and has been PGP signed. --=_U4Kuu_j30hMQfp0EtHtzkQ8 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; DelSp=Yes Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi all, On Di 17 M=E4r 2015 15:43:15 CET, Mihai Moldovan wrote: > On 17.03.2015 11:09 AM, Rok Mandeljc wrote: >> On 17. 03. 2015 07:02, Mihai Moldovan wrote: >> [...] >>> I'll be adding IMEXIT=3D"true" and your comment where gnome-terminal is >>> defined, if that's OK with you? >> If you are talking about the if [ "$cmd" =3D=3D "TERMINAL" ] switch, the= n I >> think it will not fix the case when session is "single command" and the >> "gnome-terminal" is manually entered as a binary (with or without path). >> I use such session definition on couple of workstations that have both >> KDE and GNOME installed to get gnome-terminal instead of konsole... Not >> sure how wide-spread that use case is, though; or if it could perhaps be >> done better? > > Yes, you're right and that makes sense. > > As a side note, luckily, published applications are always handled with > IMEXIT, so these are good. > > >>> [...] >>> N.B.: shouldn't this be also required for KDE4's konsole? Looks like it= , >>> but I'm not a KDE user, so... input welcome. >> Capturing konsole's output to STDOUT seems to do the trick, at least at >> the moment. So for now, it works correctly without setting IMEXIT. > > OK, thanks! With gnome-terminal from GNOMEv2 IMEXIT needs to be false (because=20=20 gnome-terminal=20(v2) does _not_ fork to background). With gnome-terminal from GNOMEv3 IMEXIT needs to be true (because=20=20 gnome-terminal=20(v3) forks to background). 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 --=_U4Kuu_j30hMQfp0EtHtzkQ8 Content-Type: application/pgp-signature Content-Description: Digitale PGP-Signatur Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJVCFCvAAoJEJr0azAldxsxhmMQALPeZCzsIS7Iq60BHP0dZbeb d56FB2EVFZOAJXnffdjzjgi1V5hjbJxnPS8RkbCbXVvgnUzxGWzDVCMJDVaTLdVQ 4ifAAfkGIqZ2R7rGV8WCgK2vdm+HUy5PQcTnE5v2FU/e66bfgfG+QQpMNJCGIQKl JbHErRFvUsAelOcOmxex0FY+S6FE1MXKUwoVK3n/5cdYVTjAjDGttMEyV46xlEme MUUg0tTOOeJWfZvLOPcjiu51b00dJzB+PVKjn+jadCIZSHTsrvbvaMmDkbg+ftTj 892LTS2ONXJNY/gwAEjPXHjCgs/a2Gdo02PvOLR4D5dXPcvxnMFwGgrwuQ3XSboQ 7VrCRs+wNH5bbJFe5+9CbbZv28f1R3l9VKvNZgI9Slb/Y+u01cL3kDqeesY3v9aI B76kzYCoZWXmUG6D0NtWJePfP4LzycIwWGbfHDyETaZB1HQva9JuVq6LUGh9Q77w nV+yr4Re0i5COGwetiPnczOdMiZ7MphcTtJp+qye2/O/qwgvfmyABXTDBFuRn1dv NfOIpnCVw9ghDUQKVYU5jkREV/0GooJC7D6hOk8vKx7iV0z0k7Yx2DczeqWxaVXb rTM4M00lFLogcE60qchV2LbcmHdNQOLB3xf+IUsXHzmJ26x+R2YnTHRkr2spwePo /appbbRoRX/vclkimJjf =izH6 -----END PGP SIGNATURE----- --=_U4Kuu_j30hMQfp0EtHtzkQ8--