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


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#1116: [X2Go-Dev] Bug#1116: On Ubuntu 16: After sucessfull SSH connection established; X2Go session does not start
Reply-To: Stefan Baur <X2Go-ML-1@baur-itcs.de>, 1116@bugs.x2go.org
Resent-From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: X2Go Developers <x2go-dev@lists.x2go.org>
X-Loop: owner@bugs.x2go.org
Resent-Date: Tue, 29 Nov 2016 12:15:02 +0000
Resent-Message-ID: <handler.1116.B1116.148042140630973@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1116
X-X2Go-PR-Package: x2goserver
X-X2Go-PR-Keywords: 
Received: via spool by 1116-submit@bugs.x2go.org id=B1116.148042140630973
          (code B ref 1116); Tue, 29 Nov 2016 12:15:02 +0000
Received: (at 1116) by bugs.x2go.org; 29 Nov 2016 12:10: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=3.0 tests=BAYES_00 autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 56A183BC8A
	for <1116@bugs.x2go.org>; Tue, 29 Nov 2016 13:10:04 +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 jkWR1KXIOVM6 for <1116@bugs.x2go.org>;
	Tue, 29 Nov 2016 13:09:57 +0100 (CET)
Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.187])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 8D6EE3BC7D
	for <1116@bugs.x2go.org>; Tue, 29 Nov 2016 13:09:57 +0100 (CET)
Received: from [192.168.0.171] ([78.43.90.159]) by mrelayeu.kundenserver.de
 (mreue003 [212.227.15.129]) with ESMTPSA (Nemesis) id
 0LnX10-1cdsdu2TkM-00hb0l for <1116@bugs.x2go.org>; Tue, 29 Nov 2016 13:09:57
 +0100
To: 1116@bugs.x2go.org
References: <63be0752-5cd1-2474-94ff-e2c41d7210ef@web.de>
From: Stefan Baur <X2Go-ML-1@baur-itcs.de>
Message-ID: <47cf281b-f4fe-c4c5-db22-11687a03e75d@baur-itcs.de>
Date: Tue, 29 Nov 2016 13:09:32 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.5.0
MIME-Version: 1.0
In-Reply-To: <63be0752-5cd1-2474-94ff-e2c41d7210ef@web.de>
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="GSwtEpIX1T1RTMO5OOhelv1xMOiIrcxvX"
X-Provags-ID: V03:K0:CbrTYQr8h8OzXuDlsmKXGR+z+JrfYxZwONzqDeaev3NRyht/DM7
 IZrJJudMqpTAJrHZ6locoSPYlfDKcyYrUIqMIBR4GASkhtAYLjJ4PC0q4uKDQ7fioRYkFEv
 ScE2pDfsY41cSiKfqs8tP5oXtFINe00pTl1cUlp2obuNRtjeil4kHVc1jvJkiUh6khg9mqQ
 hwGVqJXnfIXar9VXxFHkw==
X-UI-Out-Filterresults: notjunk:1;V01:K0:/TU70hX5L8s=:jDAK8xIsB3Q5bzBJzP55ad
 ZOkWO0fBg4qbRIcTmm6RuozBNkV8U5ZMyBOt+TtQWC1jv52tIGSD8ckjUeyQgHjlXliLCplii
 xLxGbV1P2V5w7JWIxwAPczNAw8I/lHoaSbpfRbhhywgdmxFWGKrWJcDPMSG0qX93dcKBg7M+5
 uWzL8wmeNpT7YW+mzCqP4RNvX8MSSNE1dUqSKnP0usE8lc7RvOZ38CBa0qq4HZmrlbO8b4gD0
 j+Wl2OsJ+nJSLeyd1irZtIRLOCoKkMl4VevAzGO+wbJwIb4ik/ZgJjAH2laBYDYyymceUx22V
 TUvDxLHAaSXt3lfCFHh6w38xoEaY1uDucfjr/FBk02klxE7YXR1z2Iw0TDRuWqBZ3B5DOZxE0
 4x62+4bstZZRAOl19eZnMWfRk3Ftdgsw3j2MLnJETGZHmOZY+etb06KVQX0XPnrqZ6KV6e0Un
 oYP1Y3kc5pbFAOghcJZQH1NNqLPOZW+xjl5z5ioUvZ9H7WEQXhA95hLm18JW54ZR+10pMnVT0
 8AIicA63g8fcw5A1XZkadlBKVySaTpmIFiFw/try7NyVQKvnOhgcHsL6NhcHwDr7kd5OKtXL4
 Tj/vspIwr/JVAaHX8PAZyDg365bHIuVF68AaEwYxB95rrzTi8AONekkfn9/BD9XgmeNNj26wO
 FsHCUfA4WSC4Cuu504OiNRmNlynHxhANNQBzyMPgx0/JN31bJlqFxgddXK863q7UHjYU=
[Message part 1 (text/plain, inline)]
Hi,

1) Are you trying to connect as "root"?
   If so, you should absolutely not do this.  Always use a regular user
   account and su or sudo afterwards.

2) Are you using a different default shell than /bin/bash?

3) Are you using some kind of central authentication (LDAP, AD) and/or
   a non-local /home directory, like, say, a NFS mount?

4) What happens when you try to log in using a newly created user with
   an "empty" home directory on the server?

5) Is there anything non-standard in

  /etc/profile.d/*
  /etc/profile
  /etc/bash.bashrc
  ~/.profile
  ~/.bashrc

(For example, /root/.profile contains "mesg n" at its end, by default,
while regular user accounts don't have that in their ~/.profile.  This
causes error messages - though usually different ones than the one you
reported - when trying to connect as root, and results in a failed
connection.  Something similar might be going on here.)

Kind Regards,
Stefan

Am 28.11.2016 um 20:24 schrieb auracher.stefan@web.de:
> 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.
> $
> _______________________________________________
> x2go-dev mailing list
> x2go-dev@lists.x2go.org
> http://lists.x2go.org/listinfo/x2go-dev


-- 
BAUR-ITCS UG (haftungsbeschränkt)
Geschäftsführer: Stefan Baur
Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364
Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243

[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:06:25 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.