From unknown Sat May 16 13:12:31 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1093: [X2Go-Dev] x2goclient on OS X not finding MacPorts xmodmap executable in /opt/local/bin then crashes
Reply-To: Mihai Moldovan <ionic@ionic.de>, 1093@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: Thu, 10 Nov 2016 15:05:02 +0000
Resent-Message-ID: <handler.1093.B1093.147879012022029@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 1093
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by 1093-submit@bugs.x2go.org id=B1093.147879012022029
          (code B ref 1093); Thu, 10 Nov 2016 15:05:02 +0000
Received: (at 1093) by bugs.x2go.org; 10 Nov 2016 15:02:00 +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 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=
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"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--tLqg705OMiKbiscT1bwq1Itvg9g9Ek77Q
Content-Type: multipart/mixed; boundary="TXFI2ve4bsc8ofNK7xCWeB8jSsIlG5MUc";
 protected-headers="v1"
From: Mihai Moldovan <ionic@ionic.de>
To: Arthur J <arthurdj.2405@gmail.com>, 1093@bugs.x2go.org
Message-ID: <567831c5-7100-b4f0-1c57-d5491b1d0045@ionic.de>
Subject: Re: [X2Go-Dev] x2goclient on OS X not finding MacPorts xmodmap
 executable in /opt/local/bin then crashes
References: <CAB93WTxbPWw8SRbdLyRcg+ASWtHdQzd6TqDTYYn5cJyCPUZ6oA@mail.gmail.com>
In-Reply-To: <CAB93WTxbPWw8SRbdLyRcg+ASWtHdQzd6TqDTYYn5cJyCPUZ6oA@mail.gmail.com>

--TXFI2ve4bsc8ofNK7xCWeB8jSsIlG5MUc
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

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
>=20
> I have installed the latest x2goclient package on OS X El Capitan using=

> MacPorts.  I have also installed the MacPorts xorg-server and xmodmap p=
ackages.
>=20
> In my user account .profile script, MacPorts has added the following li=
ne to set
> the PATH variable:
> export PATH=3D"/opt/local/bin:/opt/local/sbin:$PATH"
>=20
> I have confirmed that xmodmap exists in one of these directories, in: /=
opt/local/bin
>=20
> When attempting to connect to any X2Go session, an error dialog appears=
 with the
> following message before the application crashes:
>=20
> xmodmap failed to start.
>=20
> 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 release=
d 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, despi=
te its
> presence in the PATH variable of my user account .profile script.  I ev=
en
> attempted to reboot before starting x2goclient in case the PATH variabl=
e 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 "o=
pen"
utility.



Mihai


--TXFI2ve4bsc8ofNK7xCWeB8jSsIlG5MUc--

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

iQIcBAEBCgAGBQJYJIveAAoJEB/WLtluJTqH0wIQAKb7PiGlvc6RYWvB8s/7sf3w
W2efvFOOSX9Nb6vhX2abJwxvBP00FVrtZZGBhP3eGRkysg08WyaMf5sw9WhWrLPS
oVta5k98z3EsQ4Ye2K7+YTyUQrbuaSdk/7Q1LWAnNPdWn1r1iH6xHEFVda+9EPfY
14Nezqbws4vT5Zs2F0cfliWeo8lPhtVggHrGqTnfstj5iWZrpRhlk/Y/4VcybmcA
CqzpycqGh3rRv1vAx8nizqy6kJgLf2wlCfhThlmmMa9DEewKjt+3/PsYngqF3aUB
YMN5qHNpJRVZOlKy3qfdOIsSTvwR9XW6BfMaBwhuqOocSVkb3M7fGkXYRLIpQsNo
q9hsTbg2L741K3fZuzm1l4a4KHf6adovCPYUicnhAMHBvhPd+1kHOS8FSUkEvQGB
HHR6u6MN2sxOIqVAdYfhIHTysuyNugVSjuLK2nTnT0ktiOS+619prAq4EiIMbB/7
7Y1eAIprXdC2VJzl5sWr7aINi7A3DSP7139Q6eIrE4G2KniUOqN+TZZt8pC+X9EQ
hB1w0XSKyJWITP9SgfSXRWMLRkWF5C8t0/XhZfn2tZ/NuzD7TxHXd+x2KoYtN99T
dA+8BG068qkR0102wqt+zYmfGIMbUf+j0CbW3QGmnmm5WpvAvcVuyOJjvC3tQGq6
oLXL9bAmCXgw7Yvqkejo
=uPk1
-----END PGP SIGNATURE-----

--tLqg705OMiKbiscT1bwq1Itvg9g9Ek77Q--
