From unknown Sat May 16 13:12:33 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#1093: x2goclient on OS X not finding MacPorts xmodmap executable in /opt/local/bin then crashes
Reply-To: Arthur J <arthurdj.2405@gmail.com>, 1093@bugs.x2go.org
Resent-From: Arthur J <arthurdj.2405@gmail.com>
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, 27 Sep 2016 17:20:02 +0000
Resent-Message-ID: <handler.1093.B.147499677518526@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 1093
X-X2Go-PR-Package: x2goclient
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.147499677518526
          (code B); Tue, 27 Sep 2016 17:20:02 +0000
Received: (at submit) by bugs.x2go.org; 27 Sep 2016 17:19:35 +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=0.7 required=3.0 tests=BAYES_50,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE autolearn=ham
	version=3.3.2
Received: from localhost (localhost [127.0.0.1])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id 1FF425DA95
	for <submit@bugs.x2go.org>; Tue, 27 Sep 2016 19:19:34 +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 lwnrLvechgkq for <submit@bugs.x2go.org>;
	Tue, 27 Sep 2016 19:19:27 +0200 (CEST)
Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id B24765DA94
	for <submit@bugs.x2go.org>; Tue, 27 Sep 2016 19:19:26 +0200 (CEST)
Received: by mail-wm0-f54.google.com with SMTP id l132so24601913wmf.1
        for <submit@bugs.x2go.org>; Tue, 27 Sep 2016 10:19:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:from:date:message-id:subject:to;
        bh=QG98zWKRE43zONfE8UArexZ8XmwwW+fMIosoMtiOy8M=;
        b=iJy1UvogGRgx4lm15tJK5lw7lX9XJ+0dhrVX0IKbg4KCxk+uWp4Xj0skfmAmYeKbKi
         q1tO6bqtsrtkj+yvoaDELIYxmmkRsirAi0B6hpgva4+9Y8T/hEvDU0BGyggPufi/Nr63
         Kl2dEuF0aXHpWTNY9QBx+GRiEXd3BepiPM5lQszdK91zoi4DVQwOeNLatQC78ZeHYZIN
         hahdK7uZHULa3hECrDi7LhFIfFm9iO+3A9xuPoSdvJDZqdx5/+Cc7gBTTwNEmm7c7Fsf
         pw02/kb3Jek60SV6frRMLqkjN03XNpdqfFcD1FAxbYvAqJnKxdK1KDKwhODg4EyTvfAk
         ZjRg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
        bh=QG98zWKRE43zONfE8UArexZ8XmwwW+fMIosoMtiOy8M=;
        b=egz7ceVb9FoKpwC94H0upp+mk+JcpazCjaqgAB33k4SKlowQZS/8oYJuOwr5T8G3VB
         /Iq0WM5294u2sOtqS5ljKXUC1GonCqeMyf3TsRbLF07GTrXAgVTE8cOt79+kwKlUbe56
         zL6EsTeFYVucRMrDhCc1q+bJ4FG3BTmQgl6zbIbylYXz0CsB+TIXwoqmGhCMIm/qsnXo
         duIvG5p+0rELQDtgxdt4Cih6iG9n+SJQ8NzRnzAsKtF8fM73c1wD64YeUyOGkH2+KRrC
         hY0b5SahBtZFa6YzmssP0XsskyVg5XYVowL5NXJ+v2JETIV3/D0U3sf9l5B2lFs6jub5
         E5qA==
X-Gm-Message-State: AA6/9Rl0EGpnssou5xhUcV+tw4KDbzKz7MZ+08NAgz5WnyFEe/CvwE1IsRPlDQGAWov7OWpDWwnprcHr9DpbSQ==
X-Received: by 10.28.31.76 with SMTP id f73mr3880552wmf.90.1474996766026; Tue,
 27 Sep 2016 10:19:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.175.36 with HTTP; Tue, 27 Sep 2016 10:19:25 -0700 (PDT)
From: Arthur J <arthurdj.2405@gmail.com>
Date: Tue, 27 Sep 2016 11:19:25 -0600
Message-ID: <CAB93WTxbPWw8SRbdLyRcg+ASWtHdQzd6TqDTYYn5cJyCPUZ6oA@mail.gmail.com>
To: submit@bugs.x2go.org
Content-Type: multipart/alternative; boundary=001a114ba01e48aed9053d8072bd

--001a114ba01e48aed9053d8072bd
Content-Type: text/plain; charset=UTF-8

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

X2Go Client will now terminate.

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.

This is preventing me from using the OS X x2goclient application.

--001a114ba01e48aed9053d8072bd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Package: x2goclient</div><div>Version: X2Go Client v.=
 4.0.5.2 (Qt - 4.8.7)</div><div>Operating System: OS X El Capitan version 1=
0.11.6</div><div>Tags: macos osx x2goclient xmodmap path</div><div><br></di=
v><div>I have installed the latest x2goclient package on OS X El Capitan us=
ing MacPorts.=C2=A0 I have also installed the MacPorts xorg-server and xmod=
map packages.</div><div><br></div><div>In my user account .profile script, =
MacPorts has added the following line to set the PATH variable:</div><div>e=
xport PATH=3D&quot;/opt/local/bin:/opt/local/sbin:$PATH&quot;</div><div><br=
></div><div>I have confirmed that xmodmap exists in one of these directorie=
s, in: /opt/local/bin</div><div><br></div><div>When attempting to connect t=
o any X2Go session, an error dialog appears with the following message befo=
re the application crashes:</div><div><br></div><div><span class=3D"gmail-A=
pple-tab-span" style=3D"white-space:pre">	</span>xmodmap failed to start.</=
div><div><br></div><div><span class=3D"gmail-Apple-tab-span" style=3D"white=
-space:pre">	</span>This likely means the binary is not available.=C2=A0 Th=
e current search path is: /usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin</div><=
div><br></div><div><span class=3D"gmail-Apple-tab-span" style=3D"white-spac=
e:pre">	</span>X2Go Client will now terminate.</div><div><br></div><div>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.=C2=A0 I e=
ven attempted to reboot before starting x2goclient in case the PATH variabl=
e needed to be re-read, but the error did not change.</div><div><br></div><=
div>This is preventing me from using the OS X x2goclient application.</div>=
<div><br></div></div>

--001a114ba01e48aed9053d8072bd--
