X2Go Bug report logs - #1116
On Ubuntu 16: After sucessfull SSH connection established; X2Go session does not start

version graph

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

Reported by: "auracher.stefan@web.de" <auracher.stefan@web.de>

Date: Mon, 28 Nov 2016 19:30:01 UTC

Severity: normal

Tags: not-a-bug

Found in version 4.0.5.1

Done: Mihai Moldovan <ionic@ionic.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at 1116) by bugs.x2go.org; 29 Nov 2016 17:40:09 +0000
From ionic@ionic.de  Tue Nov 29 18:40:06 2016
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"
[Message part 1 (text/plain, inline)]
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
> 
> Note that you don't have to remove it completely; wrapping it in a check
> like
> 
> if test -t 0; then
> 	your-command-here
> fi
> 
> 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 messages
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 out...


Closing up.



Mihai

[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 16:11:21 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.