From ionic@ionic.de  Tue Nov 29 18:40:06 2016
Received: (at 1116) by bugs.x2go.org; 29 Nov 2016 17:40:09 +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=-2.0 required=3.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 1CBE03BC8A
	for <1116@bugs.x2go.org>; Tue, 29 Nov 2016 18:40:06 +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 iYkKdcC0bPyW for <1116@bugs.x2go.org>;
	Tue, 29 Nov 2016 18:39:59 +0100 (CET)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 5630A3BC7D
	for <1116@bugs.x2go.org>; Tue, 29 Nov 2016 18:39:59 +0100 (CET)
Received: from nopileos.local (178.162.222.41.adsl.inet-telecom.org [178.162.222.41])
	by mail.ionic.de (Postfix) with ESMTPSA id 3850A4F00066;
	Tue, 29 Nov 2016 18:39:57 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1480441199; bh=NUu10GInVRWjpt5y+p6oTeH9VxsdubOtqFQmCNTgSb0=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=rcPDFKhtHwJkxth1hEecjlRxqDLTSerarR9S3X/xE3cOvu38kf6RewKrNzUCBIExz
	 B2SrwSE79mc8FT8yikPrtw8Tx7DN7S45xjlWLoIty6O9g8oQPAxrkVukL/P+nTBeel
	 b21TnEKx5DLNM7OiKKL5yqSMFJXxb7/mXv9PSI98=
Subject: Re: [X2Go-Dev] Bug 1116 solved
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1116@bugs.x2go.org
References: <801654dd-2332-d7fa-9503-030f45b94d52@posteo.de>
 <1b24700f-28b3-a264-2559-d55cdc120e53@baur-itcs.de>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <7c7e9af5-8489-99f2-239a-3b586f7d407a@ionic.de>
Date: Tue, 29 Nov 2016 18:39:45 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0)
 Gecko/20100101 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <1b24700f-28b3-a264-2559-d55cdc120e53@baur-itcs.de>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="5GMcj9sn5jQ4Wnao7ejDjqgLrFk7hXhwi"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--5GMcj9sn5jQ4Wnao7ejDjqgLrFk7hXhwi
Content-Type: multipart/mixed; boundary="6Sj6C71G56qvOl5A0tGx61RA2CV7XmFwH";
 protected-headers="v1"
From: Mihai Moldovan <ionic@ionic.de>
To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1116@bugs.x2go.org
Message-ID: <7c7e9af5-8489-99f2-239a-3b586f7d407a@ionic.de>
Subject: Re: [X2Go-Dev] Bug 1116 solved
References: <801654dd-2332-d7fa-9503-030f45b94d52@posteo.de>
 <1b24700f-28b3-a264-2559-d55cdc120e53@baur-itcs.de>
In-Reply-To: <1b24700f-28b3-a264-2559-d55cdc120e53@baur-itcs.de>

--6Sj6C71G56qvOl5A0tGx61RA2CV7XmFwH
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

Control: tag -1 not-a-bug
Control: severity -1 normal
Control: close -1

On 29.11.2016 04:21 PM, Stefan Baur wrote:
> Am 29.11.2016 um 15:41 schrieb star7@posteo.de:
>> Package: x2goserver
>> Version: 4.0.5.1
>> Severity: grave
>>
>> The problem was similar to bug 1091
>> I solved it by removing the command setxkbmap from my .profile
>=20
> Note that you don't have to remove it completely; wrapping it in a chec=
k
> like
>=20
> if test -t 0; then
> 	your-command-here
> fi
>=20
> should do. This test will only return true if you're runniny a TTY
> session, which X2Go does not.

For commands expecting a TTY (e.g. "mesg"), yes. setxkbmap should not be =
wrapped
into this, but rather $DISPLAY checked for existence *and* its stderr mes=
sages
redirected either to a file or to /dev/null. In reality, this call doesn'=
t
belong in ~/.profile at all, but I'll leave that to the user to sort it o=
ut...


Closing up.



Mihai


--6Sj6C71G56qvOl5A0tGx61RA2CV7XmFwH--

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

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

iQIcBAEBCgAGBQJYPb1rAAoJEB/WLtluJTqHHG4P/1W82mb/YY2HYj17BAwusnOL
cfzBizk5t4kqYhJVCbbJcaKwGIyUJseDS7lKcnfj016mUn58xL/5qfkgM4BCwhF9
PHGDsWsK+IL8MmSMtJFhOG+f2iWrTGmvbdfLOLYuqxVKwylr6hjEeyrEUs/P/Aof
wIqWvXzKfXnCCeusJ3F+P+fS8tD+tjxUFXmyppaj8zWoPeu1osmdSIxopCHfV86M
WXv06RNrjwxtGJwHVcOV7RY6CngAlxI2MdQ9IRqifsb0mKfE2h/bmiv0f/Jz9Qs/
5bSmt3pzU5Dgw6CFCiDD0hj7kfDnYvRfou4hhG8bZRFOPuZ/3fhZBLw9i/3a2afC
vaBWFptSjZLeAlBz73kq5AAQ80rZ+Hs43FwLGpwzInBlBFdTBPZfJKihM65K9gw8
VU/58Or74rtGwMxK4oDrLez/kn8YI0ZZy2GBTJLf4Wtlz+6r7x8oOGgnYgmhgG3k
a4yv00ZwuIS8YdIU/Bxzp2IcXeHskHE8oVDHf/moxdh6O0wCdiMA55b7yNzONbwy
KLJw3PwYmNzczCHRWfhHJJ+fHlNASqIveHRAR0esxGtl5seBjMQkT4+nJnK9G/XN
l11pPIIAZ4567JhSjgjoLJwJB0lcuG14Xr54PY4qvLclG8U0HoIETc6K9ofAeBQ2
00A29WCEnBSQZvugEm4p
=K+/f
-----END PGP SIGNATURE-----

--5GMcj9sn5jQ4Wnao7ejDjqgLrFk7hXhwi--

