X2Go Bug report logs - #1093
x2goclient on OS X not finding MacPorts xmodmap executable in /opt/local/bin then crashes

version graph

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

Reported by: Arthur J <arthurdj.2405@gmail.com>

Date: Tue, 27 Sep 2016 17:20:02 UTC

Severity: normal

Tags: pending

Found in version 4.0.5.2

Fixed in version 4.1.1.0

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

Bug is archived. No further changes may be made.

Full log


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

Received: (at 1093) by bugs.x2go.org; 10 Nov 2016 15:02:00 +0000
From ionic@ionic.de  Thu Nov 10 16:01:59 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 D52863CBB6
	for <1093@bugs.x2go.org>; Thu, 10 Nov 2016 16:01:58 +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 bXG-S1un8k7I for <1093@bugs.x2go.org>;
	Thu, 10 Nov 2016 16:01:52 +0100 (CET)
Received: from Root24.de (powered.by.root24.eu [5.135.3.88])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 41C4D3CBB5
	for <1093@bugs.x2go.org>; Thu, 10 Nov 2016 16:01:52 +0100 (CET)
Received: from nopileos.eduroam.hnu.uas (unknown [194.95.21.122])
	by mail.ionic.de (Postfix) with ESMTPSA id A90094F00066;
	Thu, 10 Nov 2016 16:01:51 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1478790112; bh=98ypaFrSDmxqHC9Lufu6LSjNbi8eLIlqkWMx0Se3Mws=;
	h=Subject:To:References:From:Date:In-Reply-To:From;
	b=kGhE/rGxx42AclwncOP4DBtFCycTY57HfIE7Tkl7oVKZwh88zVgq52dukPocyKLQQ
	 9UauSAuHbOM/5YtWGQxiREoFUf7wi44X9u3oK9rX5hoF+FO9PKwrZXPoc69Q2lvrfa
	 bi1ZzHgKIgRY9XlQ5KF658baLw3llbgKMtI2xVXU=
Subject: Re: [X2Go-Dev] x2goclient on OS X not finding MacPorts xmodmap
 executable in /opt/local/bin then crashes
To: Arthur J <arthurdj.2405@gmail.com>, 1093@bugs.x2go.org
References: <CAB93WTxbPWw8SRbdLyRcg+ASWtHdQzd6TqDTYYn5cJyCPUZ6oA@mail.gmail.com>
From: Mihai Moldovan <ionic@ionic.de>
Message-ID: <567831c5-7100-b4f0-1c57-d5491b1d0045@ionic.de>
Date: Thu, 10 Nov 2016 16:01:50 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0)
 Gecko/20100101 Thunderbird/45.4.0
MIME-Version: 1.0
In-Reply-To: <CAB93WTxbPWw8SRbdLyRcg+ASWtHdQzd6TqDTYYn5cJyCPUZ6oA@mail.gmail.com>
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature";
 boundary="tLqg705OMiKbiscT1bwq1Itvg9g9Ek77Q"
[Message part 1 (text/plain, inline)]
Control: reassign -1 x2goclient 4.0.5.2

On 27.09.2016 07:19 PM, Arthur J wrote:
> Package: x2goclient
> Version: X2Go Client v. 4.0.5.2 (Qt - 4.8.7)
> Operating System: OS X El Capitan version 10.11.6
> Tags: macos osx x2goclient xmodmap path
> 
> I have installed the latest x2goclient package on OS X El Capitan using
> MacPorts.  I have also installed the MacPorts xorg-server and xmodmap packages.
> 
> In my user account .profile script, MacPorts has added the following line to set
> the PATH variable:
> export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
> 
> I have confirmed that xmodmap exists in one of these directories, in: /opt/local/bin
> 
> When attempting to connect to any X2Go session, an error dialog appears with the
> following message before the application crashes:
> 
> xmodmap failed to start.
> 
> This likely means the binary is not available.  The current search path is:
> /usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin

Hmm... AFAIK I'm adding /opt/local/bin to the search path in 4.0.5.2. Are you
absolutely sure you're on 4.0.5.2 and not 4.0.5.1? For 4.0.5.1, I released a
hotfix release tagged 4.0.5.1-1-osx, that fixes this issue explicitly.


> It appears that /opt/local/bin is not being searched for xmodmap, despite its
> presence in the PATH variable of my user account .profile script.  I even
> attempted to reboot before starting x2goclient in case the PATH variable needed
> to be re-read, but the error did not change.

That is normal, OS X resets the PATH to a clean value (see above, though without
/opt/X11/bin) for programs launched via the graphical interface or the "open"
utility.



Mihai

[signature.asc (application/pgp-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Nov 24 07:16:23 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.