From unknown Sat Apr 04 13:17:03 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.502 (Entity 5.502)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#1116 closed by Mihai Moldovan <ionic@ionic.de> (Re:
 [X2Go-Dev] Bug 1116 solved)
Message-ID: <handler.1116.b1116.148044120926424.notifdone@bugs.x2go.org>
References: <7c7e9af5-8489-99f2-239a-3b586f7d407a@ionic.de>
X-X2go-PR-Keywords: not-a-bug
X-X2go-PR-Message: they-closed 1116
X-X2go-PR-Package: x2goserver
X-X2go-PR-Source: x2goserver
Date: Tue, 29 Nov 2016 17:45:05 +0000
Content-Type: multipart/mixed; boundary="----------=_1480441505-27273-0"

This is a multi-part message in MIME format...

------------=_1480441505-27273-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the x2goserver package:

#1116: On Ubuntu 16: After sucessfull SSH connection established; X2Go sess=
ion does not start

It has been closed by Mihai Moldovan <ionic@ionic.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mihai Moldovan <ionic@=
ionic.de> by
replying to this email.


--=20
1116: http://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D1116
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1480441505-27273-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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--


------------=_1480441505-27273-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 28 Nov 2016 19:29:18 +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=3.0 tests=BAYES_00,FREEMAIL_FROM
	autolearn=ham version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 52F595DA82
	for <submit@bugs.x2go.org>; Mon, 28 Nov 2016 20:29:16 +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 zgU7lBpoTEyd for <submit@bugs.x2go.org>;
	Mon, 28 Nov 2016 20:29:09 +0100 (CET)
X-Greylist: delayed 301 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Mon, 28 Nov 2016 20:29:09 CET
Received: from mout.web.de (mout.web.de [212.227.17.12])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 387175DA2E
	for <submit@bugs.x2go.org>; Mon, 28 Nov 2016 20:29:09 +0100 (CET)
Received: from [192.168.188.30] ([37.5.196.55]) by smtp.web.de (mrweb103
 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LyDlZ-1coCBO2LB7-015cf2 for
 <submit@bugs.x2go.org>; Mon, 28 Nov 2016 20:24:07 +0100
From: "auracher.stefan@web.de" <auracher.stefan@web.de>
Subject: On Ubuntu 16: After sucessfull SSH connection established; X2Go
 session does not start
To: submit@bugs.x2go.org
Message-ID: <63be0752-5cd1-2474-94ff-e2c41d7210ef@web.de>
Date: Mon, 28 Nov 2016 20:24:06 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03: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L1vsXHvDYTk8LyLX3cR5t+TyPKuEYeRYCTTG4at2vJkooTF
 cqhuyl7

Package: x2goserver
Version: 4.0.5.1
Severity: grave

Version client side: x2goclient 4.0.5.1 on Ubuntu 16 XFCE+ssh server
Version server side: x2goversion delivers 4.0.1.20 on Ubuntu 16 
XFCE desktop

After a fresh installation of x2go on the server and client side without 
special settings or problems I try to just get an xterm. I have the 
following severe problem:

Running x2goclient with --debug shows sucesfull SSH connection 
established. But after this the exec channel closes with "Have stderr 
only, something must be wrong."

In the GUI a message "Cannot open display "default display"" shows up

The message SSH finished: raw output (stdout): "setxkbmap -option 
ctrl:nocaps" could be a hint that some error processing during login 
does not work ??

Any idea how to debug ??

I attached the whole log

best regards

Stefan Auracher

$ x2goclient --debug
x2go-INFO-1> "Starting X2Go Client..."
x2go-WARNING-1> "English language requested, not loading translator."
x2go-WARNING-1> "English language requested, not loading translator."
x2go-INFO-3> "Started X2Go Client."
x2go-DEBUG-../src/onmainwindow.cpp:513> "$HOME=/home/user"
x2go-DEBUG-../src/onmainwindow.cpp:2202> Reading 1 sessions from config 
file.
x2go-DEBUG-../src/sessionbutton.cpp:325> Creating QPixmap with session 
icon: ":/img/icons/128x128/x2gosession.png".
x2go-DEBUG-../src/onmainwindow.cpp:2682> Creating QPixmap with session 
icon: '":/img/icons/128x128/x2gosession.png"'.
x2go-DEBUG-../src/onmainwindow.cpp:2744> Starting session with key.
x2go-INFO-8> "Starting connection to server: 192.168.188.10:22"
x2go-DEBUG-../src/onmainwindow.cpp:2783> Starting new ssh connection to 
server:"192.168.188.10":"22" krbLogin: false
x2go-DEBUG-../src/sshmasterconnection.cpp:173> SshMasterConnection, host 
"192.168.188.10"port 22user "user"useproxy falseproxyserver ""proxyport 22
x2go-DEBUG-../src/sshmasterconnection.cpp:210> Starting SSH connection 
without Kerberos authentication.
x2go-DEBUG-../src/sshmasterconnection.cpp:214> SshMasterConnection, 
instance SshMasterConnection(0x563296cc0fa0) created.
x2go-DEBUG-../src/sshmasterconnection.cpp:450> SshMasterConnection, 
instance SshMasterConnection(0x563296cc0fa0) entering thread.
x2go-DEBUG-../src/sshmasterconnection.cpp:486> libssh not initialized 
yet. Initializing.
x2go-DEBUG-../src/sshmasterconnection.cpp:797> cserverAuth
x2go-DEBUG-../src/sshmasterconnection.cpp:812> state: 1

x2go-DEBUG-../src/sshmasterconnection.cpp:1065> Trying to authenticate 
user with private key.

x2go-DEBUG-../src/sshmasterconnection.cpp:1146> Authenticating with key: 0

x2go-DEBUG-../src/sshmasterconnection.cpp:662> User authentication OK.
x2go-DEBUG-../src/onmainwindow.cpp:2878> SSH connection established.
x2go-DEBUG-../src/onmainwindow.cpp:3160> Continue normal X2Go session
x2go-DEBUG-../src/sshprocess.cpp:199> Executing remote command via 
SshProcess object 0: "export HOSTNAME && x2golistsessions"
x2go-DEBUG-../src/sshprocess.cpp:204> this=SshProcess(0x563296da3e30) 
Running masterCon->addChannelConnection(this, ' 
"eff2bf61-7d95-48f0-b547-6f436ae59d1c" ', ' "bash -l -c 'echo 
"X2GODATABEGIN:eff2bf61-7d95-48f0-b547-6f436ae59d1c"; export 
PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME 
&& x2golistsessions; echo "X2GODATAEND:eff2bf61-7" ');
x2go-DEBUG-../src/sshmasterconnection.cpp:1312> Locking SSH channel 
connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1314> Passing new channel 
conenction object to channelConnections.
x2go-DEBUG-../src/sshmasterconnection.cpp:1316> Unlocking SSH channel 
connection MUTEX.
x2go-DEBUG-../src/sshmasterconnection.cpp:1504> Creating new channel.

x2go-DEBUG-../src/sshmasterconnection.cpp:1508> New channel:0x7f6818010e20

x2go-DEBUG-../src/sshmasterconnection.cpp:1539> Executing remote: "bash 
-l -c 'echo "X2GODATABEGIN:eff2bf61-7d95-48f0-b547-6f436ae59d1c"; export 
PATH="/usr/local/bin:/usr/bin:/bin"; export TERM="dumb"; export HOSTNAME 
&& x2golistsessions; echo 
"X2GODATAEND:eff2bf61-7d95-48f0-b547-6f436ae59d1c";'"

x2go-DEBUG-../src/sshmasterconnection.cpp:1562> New exec channel created.

x2go-DEBUG-../src/sshmasterconnection.cpp:1666> EOF on channel 
0x7f6818010e20; SshProcess object: 0
x2go-DEBUG-../src/sshmasterconnection.cpp:1734> EOF sent.
x2go-DEBUG-../src/sshmasterconnection.cpp:1738> Channel closed.
x2go-DEBUG-../src/sshprocess.cpp:517> SSH finished: raw output (stdout): 
"setxkbmap -option ctrl:nocaps
X2GODATABEGIN:eff2bf61-7d95-48f0-b547-6f436ae59d1c
X2GODATAEND:eff2bf61-7d95-48f0-b547-6f436ae59d1c
"
x2go-DEBUG-../src/sshprocess.cpp:523> Have stderr only, something must 
be wrong.
x2go-DEBUG-../src/sshprocess.cpp:528> SSH finished: false - "Cannot open 
display "default display"
" (0).
x2go-DEBUG-../src/onmainwindow.cpp:3549> "Cannot open display "default 
display"
"
x2go-DEBUG-../src/onmainwindow.cpp:1557> Close event received.

x2go-DEBUG-../src/onmainwindow.cpp:1581> Quitting from tray icon and 
closing application.

x2go-INFO-6> "Closing X2Go Client ..."
x2go-DEBUG-../src/onmainwindow.cpp:1410> Saving settings ...
x2go-DEBUG-../src/onmainwindow.cpp:1419> Saved settings.
x2go-DEBUG-../src/onmainwindow.cpp:1441> Waiting for the SSH connection 
to finish ...
x2go-DEBUG-../src/sshmasterconnection.cpp:716> SshMasterConnection, 
instance SshMasterConnection(0x563296cc0fa0) waiting for thread to finish.
x2go-DEBUG-../src/sshmasterconnection.cpp:1423> Disconnecting ...

x2go-DEBUG-../src/sshmasterconnection.cpp:1434> Deleting channel 
connections.

x2go-DEBUG-../src/sshmasterconnection.cpp:1442> Disconnecting session.

x2go-DEBUG-../src/sshmasterconnection.cpp:1448> Deleting sockets.

x2go-DEBUG-../src/sshmasterconnection.cpp:1455> All channels closed and 
session disconnected. Quiting session loop.

x2go-DEBUG-../src/sshmasterconnection.cpp:720> SshMasterConnection, 
instance SshMasterConnection(0x563296cc0fa0) thread finished.
x2go-DEBUG-../src/sshprocess.cpp:52> SshProcess destructor called.
x2go-DEBUG-../src/sshmasterconnection.cpp:727> SshMasterConnection, 
instance SshMasterConnection(0x563296cc0fa0) finished destructor.
x2go-DEBUG-../src/onmainwindow.cpp:1443> SSH connection finished.
x2go-DEBUG-../src/sshmasterconnection.cpp:744> libssh finalized.
x2go-INFO-7> "Finished X2Go Client closing hooks."
x2go-DEBUG-../src/onmainwindow.cpp:526> Destroying X2Go Client's main 
window.
x2go-DEBUG-../src/onmainwindow.cpp:529> Finished destructor hooks for 
X2Go Client's main window.
$

------------=_1480441505-27273-0--
