X2Go Bug report logs - #1073
XSession-x2go: Hostname not set correctly

version graph

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

Reported by: Benjamin Shadwick <benshadwick@gmail.com>

Date: Sat, 13 Aug 2016 14:30:01 UTC

Severity: normal

Tags: pending

Fixed in version 4.0.1.20

Done: X2Go Release Manager <git-admin@x2go.org>

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#1073: [X2Go-Dev] XSession-x2go: Hostname not set correctly
Reply-To: Mihai Moldovan <ionic@ionic.de>, 1073@bugs.x2go.org
Resent-From: Mihai Moldovan <ionic@ionic.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: Sat, 13 Aug 2016 17:15:02 +0000
Resent-Message-ID: <handler.1073.B1073.147110838712671@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1073
X-X2Go-PR-Package: x2goserver-xsession
X-X2Go-PR-Keywords: 
Received: via spool by 1073-submit@bugs.x2go.org id=B1073.147110838712671
          (code B ref 1073); Sat, 13 Aug 2016 17:15:02 +0000
Received: (at 1073) by bugs.x2go.org; 13 Aug 2016 17:13:07 +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,URIBL_BLOCKED autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 327855DEFE
	for <1073@bugs.x2go.org>; Sat, 13 Aug 2016 19:13:05 +0200 (CEST)
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 kkYFkR2pbLXn for <1073@bugs.x2go.org>;
	Sat, 13 Aug 2016 19:12:58 +0200 (CEST)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 641E25DDF4
	for <1073@bugs.x2go.org>; Sat, 13 Aug 2016 19:12:58 +0200 (CEST)
Received: from nopileos.local (178.162.222.41.adsl.inet-telecom.org [178.162.222.41])
	by mail.ionic.de (Postfix) with ESMTPSA id 921CA4F00396;
	Sat, 13 Aug 2016 19:12:57 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1471108378; bh=RiSbTS4XFQtLG7yhUeN0W2FMQipFBEqwle5UQkdrlck=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=FJAG6Ggtdg339c2f88WCxYxkJGWMd2ZNcrF0u7GCcO/0NU/erslcSL7FjGj0g9MGk
	 VMIZQZqiUanty5gpAk4HYpofHTtGn7KXG14w2s77ejrJtHW4ADM+ka0Zymrz3c2Tbo
	 G+ncdBBYkeghL+8LCYwl942hd9sNpTk35GkwKGKg=
To: Benjamin Shadwick <benshadwick@gmail.com>, 1073@bugs.x2go.org
References: <CADZYHDAz7t0n2bB2hLg6YeZgou7-9HEY77ps2nvOWBvsoTV3dQ@mail.gmail.com>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <5a2a2855-ff3a-c42b-af05-6ca99078e2a9@ionic.de>
Date: Sat, 13 Aug 2016 19:12:51 +0200
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0)
 Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <CADZYHDAz7t0n2bB2hLg6YeZgou7-9HEY77ps2nvOWBvsoTV3dQ@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="uiqb6xADCRJIocTps9nrC7gCe0uIqo7Am"
[Message part 1 (text/plain, inline)]
Control: tag -1 moreinfo

On 13.08.2016 04:28 PM, Benjamin Shadwick wrote:
> Package: x2goserver-xsession
> Version 4.1.0.0-0~1355~ubuntu16.04.1
> 
> When trying to start an LXDE x2go session on an Ubuntu 16.04.1 LTS x64
> server via a Windows client, I get a black screen with a white dialog
> saying "XSession-x2go: Hostname not set correctly; aborting."
> 
> Debug logging doesn't have much more detail:
> 
> Aug 13 07:20:55 shodan /usr/bin/x2gocmdexitmessage: command output
> starts with: exec startlxde Loading profile from /etc/profile Loading
> profile from /home/ben/.profile XSession-x2go: Hostname not set
> correctly; aborting.

Hey, that was quick. I only made that change yesterday.

As the error message says, your system's host name (as returned by the
hostname(1) shell utility) is not set correctly. What is its value?

An empty hostname ("") or a hostnames with the values "(none)" or "localhost"
are all considered to be invalid.

While I could consider "localhost" to be a valid hostname to some degree, it's
not unique enough so that, if the home dir is shared via NFS and multiple
machines with the hostname "localhost" access it, the log/error file (which
is now supposed to be unique per machine) wouldn't be really per-machine anymore.

Would including the "banned" hostnames be more informative to the user?



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 20:42:47 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.