X2Go Bug report logs - #820
Fwd: [X2Go-Dev] Patch: x2goserver: x2goruncommand - set IMEXIT="true" for gnome-terminal

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Rok Mandeljc <rok.mandeljc@gmail.com>

Date: Tue, 17 Mar 2015 05:45:02 UTC

Severity: normal

Full log


Message #12 received at 820@bugs.x2go.org (full text, mbox, reply):

Received: (at 820) by bugs.x2go.org; 17 Mar 2015 06:02:43 +0000
From ionic@ionic.de  Tue Mar 17 07:02:41 2015
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,T_DKIM_INVALID,
	URIBL_BLOCKED autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 30FAA5DAA2
	for <820@bugs.x2go.org>; Tue, 17 Mar 2015 07:02:41 +0100 (CET)
Received: from nopileos.local (home.ionic.de [217.92.117.31])
	by mail.ionic.de (Postfix) with ESMTPSA id C7F9E4F088F3;
	Tue, 17 Mar 2015 07:02:40 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1426572161; bh=hzzqtrY+JxB4J3Qxvw/BpsUgu1ZUiHFE+xuGMkUFpT0=;
	h=Date:From:Reply-To:To:Subject:References:In-Reply-To:From;
	b=TpDnyMTlUUYL50wRGkGLF4+dDD4bJamnOFDIGs2AnCOHPUwaF9lJzDvldzRMF9aIy
	 MrzuyLhGL5u0XvB3J3b5xVMrHCaJCm5lLfKMPJ4nwgfOjgp0+w+Ze/gp1JyOHcqRmb
	 vqz57fvdCUefELM2Amx3Klw5A5r4s61A+hxbYeik=
Message-ID: <5507C377.4060008@ionic.de>
Date: Tue, 17 Mar 2015 07:02:31 +0100
From: Mihai Moldovan <ionic@ionic.de>
Reply-To: Mihai Moldovan <ionic@ionic.de>, 820@bugs.x2go.org
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Rok Mandeljc <rok.mandeljc@gmail.com>, 820@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#820: Fwd: Patch: x2goserver: x2goruncommand -
 set IMEXIT="true" for gnome-terminal
References: <550752A1.1070807@gmail.com> <5507BE76.1060309@ionic.de>
In-Reply-To: <5507BE76.1060309@ionic.de>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="FieORnvG8aSojMjsjOE454FFtFWuXsoB2"
[Message part 1 (text/plain, inline)]
Control: submitter -1 Rok Mandeljc <rok.mandeljc@gmail.com>
Thanks


On 17.03.2015 06:41 AM, Mihai Moldovan wrote:
> I have been trying to set up x2goserver on my Fedora 21 boxes, and
> gnome-terminal seems to be failing with symptoms similar to those
> described in #268.
>
> It seems that x2goruncommand has been reworked a bit since that patch,
> and now attempts to force the forking programs to stay in the foreground
> by capturing their output to STDOUT. Unfortunately, this does not seem
> to work for gnome-terminal; the terminal window appears on the client
> for a second, then closes and the session is proclaimed to be finished.
> This can be fixed by explicitly setting IMEXIT="true" if called binary
> is gnome-terminal, which is done by the attached patch.

This looked weird at first glance, because you've previously (two years
ago) sent a patch to explicitly disable IMEXIT for GNOME Terminal.

However, Mike#1 changed the IMEXIT behavior with commit
c3afe1c154dfeb0ba052f7506f0cadc5f6c62871 and that's also why it's now
failing for GNOME Terminal.

I'll be adding IMEXIT="true" and your comment where gnome-terminal is
defined, if that's OK with you?

Will craft and commit a patch tomorrow.

Thanks for contributing!



Mihai


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.

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 14:58:35 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.