From unknown Tue Apr 07 23:08:55 2026
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: owner@bugs.x2go.org
From: owner@bugs.x2go.org (X2Go Bug Tracking System)
Subject: Bug#648 closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
 (Re: [X2Go-Dev] Bug#648: Python X2Go for Mac OS X)
Message-ID: <handler.648.b648.170474973830181.notifdone@bugs.x2go.org>
References: <20240108213531.Horde.6r1Z08W0A8I1GQYuCaD9w2k@mail.das-netzwerkteam.de>
X-X2go-PR-Message: they-closed 648
X-X2go-PR-Package: python-x2go
X-X2go-PR-Source: python-x2go
Date: Mon, 08 Jan 2024 21:40:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1704750003-31990-0"

This is a multi-part message in MIME format...

------------=_1704750003-31990-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

This is an automatic notification regarding your Bug report
which was filed against the python-x2go package:

#648: Python X2Go for Mac OS X

It has been closed by Mike Gabriel <mike.gabriel@das-netzwerkteam.de>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mike Gabriel <mike.gab=
riel@das-netzwerkteam.de> by
replying to this email.


--=20
648: https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=3D648
X2Go Bug Tracking System
Contact owner@bugs.x2go.org with problems

------------=_1704750003-31990-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 648) by bugs.x2go.org; 8 Jan 2024 21:35:38 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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_NONE,T_SCC_BODY_TEXT_LINE,
	URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2
Received: from fregna.das-netzwerkteam.de (fregna.das-netzwerkteam.de [148.251.53.130])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 4E4565DAD2
	for <648@bugs.x2go.org>; Mon,  8 Jan 2024 22:35:32 +0100 (CET)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [148.251.201.105])
	by fregna.das-netzwerkteam.de (Postfix) with ESMTPS id 134EF604BC
	for <648@bugs.x2go.org>; Mon,  8 Jan 2024 21:35:32 +0000 (UTC)
Received: from das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id E7C7CC0DD2
	for <648@bugs.x2go.org>; Mon,  8 Jan 2024 22:35:31 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=das-netzwerkteam.de;
	s=dkim; t=1704749731;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 in-reply-to:in-reply-to; bh=rsVI76OCSN4beErTnpJGX3B49Ty/IzNbC0n1qEktnJY=;
	b=j6UpWbZN2HVrNeJoz98Axn3S6LExkGNq1a9ktIgfb5SrgmMp5pYyyyHUWi4iPaVUvArN3U
	lPE4JULcUoyvNNfXPs98fjRCGfR6EyulxIoquHn6DWiqnMls7NP/HVZY3hMiQRnhIiiEyb
	fgMlvCm+6pYjkhGnsWJCK0CuSWJjhv2nX4L3rqkeJO2/U+NAtsOtC37QiSz54phdb7GN/7
	5WlBzZh/d/VO7kJtSl/EjHNC1aCDakSwtQgG3zCM8HNu5waHLmr/qX1RZPUE29VPueg7vy
	HW2uy9ZXUozhW6mIL9X1GRRDrG+j00C6JhNKSjjKeABfcETiEoxnIGNXZbs3n+F058K4t0
	fWRYoBtZhpKB+/IAxRdW+iT8yuvqumsVw1fUxbx28qEcoUsdDQXDDIkhkHAn2z4aJdcznr
	yVO+n3OoXRrrYHJuN3seAnrYkB3npWKC5VD+MM9pF0ZbmeHMAZmMN89YNOoXZ00PgMHP6X
	cWx22BVPcc2C3N6D9KTRaw9HzPXolApLGl/FoD2BgktqRxR/tDMfXTm+3lGLLsoGy+BWi1
	oJjBXLBRwmNzrOSvaQ4Trw3VN5H7D0j/rXwAtuOs1izhOMNqS4g9VYkzjEk6TJr9BqhpS+
	JLmkQvoyJWiA0pIF6LKrRdZ0N6EhbR7OrcOfVi9nmwL63S1qWCD0Q=
Received: from [153.92.39.241] ([153.92.39.241]) by mail.das-netzwerkteam.de
 (Horde Framework) with HTTPS; Mon, 08 Jan 2024 21:35:31 +0000
Date: Mon, 08 Jan 2024 21:35:31 +0000
Message-ID: <20240108213531.Horde.6r1Z08W0A8I1GQYuCaD9w2k@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 648@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#648: Python X2Go for Mac OS X
In-Reply-To: <20141020210548.Horde.Et-EBad9ekiUIxjlLJyzMg1@mail.das-netzwerkteam.de>
User-Agent: Horde Application Framework 5
Accept-Language: de,en
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 153.92.39.241
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,
 like Gecko) Chrome/120.0.0.0 Safari/537.36
Content-Type: multipart/signed; boundary="=_5jDNH0nU3EylftVMjB09Nhj";
 protocol="application/pgp-signature"; micalg=pgp-sha512
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_5jDNH0nU3EylftVMjB09Nhj
Content-Type: text/plain; charset=utf-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Control: close -1

On  Mo 20 Okt 2014 23:05:48 CEST, Mike Gabriel wrote:

> Package: python-x2go
> Severity: wishlist
> Version: 0.5.0.1
>
> Hi all,
>
> below is a recipe to get Python X2Go flying on Mac OS X (up to 10.10).
>
> Mike
>
>
> ----- Weitergeleitete Nachricht von Pedro Pinto <ppinto@alum.mit.edu> ---=
--
>   Datum: Mon, 20 Oct 2014 14:01:32 -0700
>     Von: Pedro Pinto <ppinto@alum.mit.edu>
> Betreff: Re: Python X2Go for Mac OS X
>      An: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
>
> Hi Mike,
>
> Thanks for your help over the weekend.
>
>
>> Have you had success already with monkey patching Xlib? Is the=20=20
>>=20nxproxy build working on Yosemite?
>
> Indeed, with your help I was able to patch Xlib and recompile=20=20
>=20nxproxy, so that python-x2go works on yosemite!
>
>
>> here is a short reminder message for sending me the diff between=20=20
>>=20Python X2Go 0.4.0.8 and your fork for Mac OS X.
>
> My fork of Python X2GO 0.4.0.8 is quite modified to tailor the=20=20
>=20specifics of the product my company is working on
> (https://www.lytmus.io/ <https://www.lytmus.io/>), but the basic=20=20
>=20changes to get it working on Mac and Yosemite are trivial, and I=20=20
>=20have included them below.
> By the way, I=E2=80=99m happy to test the new release of Python X2go 0.5=
=20=20
>=20over the next weekend, just let me know.
>
>
> Python-Xlib 0.15rc1
> Replace two instances of:
> 	host.startswith('/tmp/')   	=E2=80=94=E2=80=94>         host.startswith(=
'/')
>
>
> NXproxy
> Apply this patch and recompile:
> http://code.x2go.org/gitweb?p=3Dnx-libs.git;a=3Dcommitdiff;h=3Db0727a02ff=
417b3983b10e02dbc1eb9a4878b2ac=20=20
>=20<http://code.x2go.org/gitweb?p=3Dnx-libs.git;a=3Dcommitdiff;h=3Db0727a0=
2ff417b3983b10e02dbc1eb9a4878b2ac>
> Neverpanic helped me recompile nxproxy and nxcomp.
>
>
> python x2go 0.4.0.8
> You just need to specify the path to the nxproxy file on the Mac package.
> The code below is specific to how I package my app (I use py2app).
>
>     else:
> 	self.PROXY_CMD =3D "/usr/bin/nxproxy
>
> 	=E2=80=94=E2=80=94>
>
>
>         elif _X2GOCLIENT_OS =3D=3D 'Darwin':
>             if hasattr(sys, 'frozen'):    # if client app is frozen
>                 self.PROXY_CMD =3D join(os.environ['RESOURCEPATH'], 'nxpr=
oxy')
>             else:
>                 self.PROXY_CMD =3D join(x2go_abs, 'contrib', 'mac=E2=80=
=99,=20=20
>=20nxproxy', 'nxproxy')
>
>      elif _X2GOCLIENT_OS =3D=3D 'Linux':
>             if hasattr(sys, 'frozen'):    # if client app is frozen
>                 self.PROXY_CMD =3D join(os.environ['RESOURCEPATH'],=20=20
>=20'nxproxy', 'start_nxproxy')
>             else:
>                 self.PROXY_CMD =3D join(x2go_abs, 'contrib', 'linux=E2=80=
=99,=20=20
>=20'nxproxy', 'start_nxproxy')
>
> ----- Ende der weitergeleiteten Nachricht -----
>

Filed as MR at
https://gitlab.x2go.org/x2go/client/libs/python-x2go/-/merge_requests/6

Thus, closing the bug in old BTS system.

--=20

DAS-NETZWERKTEAM
c\o=20Technik- und =C3=96kologiezentrum Eckernf=C3=B6rde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernf=C3=B6rde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de


--=_5jDNH0nU3EylftVMjB09Nhj
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIzBAABCgAdFiEEm/uu6GwKpf+/IgeCmvRrMCV3GzEFAmWcaqIACgkQmvRrMCV3
GzGvGg/+P4WRNZ+bGe+t6x1i1526juN8Vd4d4Pc4Etga/vTgWDP4T/7dZGPgDGz1
PiiBLmtqhTpD5oHzSO/A1BWkxYgKmynmwz8doPB8St3xveM3hgeUgLeGq49fFJWV
4p4C0DwvuhAGc1FchFmGq5FCADhqUBRanbxnR7rTTbz6Tz3nERmaeBALFtBBWXeg
rePUGbpu1gW/LgZMZwsa5dqtfN0e69zqmg4pcgEsBCiIxmoOUoh1MdvW78iWLIHv
h0c9APhJlKyVHCGDjLVVFKxJDPnvrLi8ABfR76Is6ML1wRY5dpqZbTiNphnJ9I0q
S8yLdDBKYe747a3EkZR7BHw+wQyWpwS+Iw33WJ1Pz5pVXrvY67OJwZgPX3NPrZoe
p9rP3G3088OmjlA0rN4jxBFsprnxj00pHZkl9jjcBoH+6UwD1iXfsDq5AykuwXoI
G30NuuBJkAyWbQkJ8tsgNUOrtrxranMHWsJbt1QJ1lDpe7SFGuvWfB+asxJ87Zbk
Zml7oifNjScPUQ040qaTm1Cu8O734oV3+A0cjfC1S6y2NHbYddJcdhWDxcoo/6z8
T+l/WK2ZNXPAxTrRaUlajuIiHEZP07PPWoarpuhqaUhCzumUT0ej71Vs747VzXPq
XDHrUQNiRd8V2l2iQKURXFhDTo22roPAYjzVj3u5BgIJp5i0/Uk=
=3Gzc
-----END PGP SIGNATURE-----

--=_5jDNH0nU3EylftVMjB09Nhj--


------------=_1704750003-31990-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.x2go.org; 20 Oct 2014 21:05:50 +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=5.0 tests=BAYES_00,URIBL_BLOCKED
	autolearn=ham version=3.3.2
Received: from freya.das-netzwerkteam.de (freya.das-netzwerkteam.de [88.198.48.199])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id D1B435DB47
	for <submit@bugs.x2go.org>; Mon, 20 Oct 2014 23:05:48 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (grimnir.das-netzwerkteam.de [78.46.204.98])
	by freya.das-netzwerkteam.de (Postfix) with ESMTPS id 3CA8A166A
	for <submit@bugs.x2go.org>; Mon, 20 Oct 2014 23:05:48 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTP id 2F9883BBA9
	for <submit@bugs.x2go.org>; Mon, 20 Oct 2014 23:05:48 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at grimnir.das-netzwerkteam.de
Received: from grimnir.das-netzwerkteam.de ([127.0.0.1])
	by localhost (grimnir.das-netzwerkteam.de [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id WZnScv2eGdoq for <submit@bugs.x2go.org>;
	Mon, 20 Oct 2014 23:05:48 +0200 (CEST)
Received: from grimnir.das-netzwerkteam.de (localhost [127.0.0.1])
	by grimnir.das-netzwerkteam.de (Postfix) with ESMTPS id 11ECF3BBA2
	for <submit@bugs.x2go.org>; Mon, 20 Oct 2014 23:05:48 +0200 (CEST)
Received: from p5B28513C.dip0.t-ipconnect.de (p5B28513C.dip0.t-ipconnect.de
 [91.40.81.60]) by mail.das-netzwerkteam.de (Horde Framework) with HTTP; Mon,
 20 Oct 2014 21:05:48 +0000
Date: Mon, 20 Oct 2014 21:05:48 +0000
Message-ID: <20141020210548.Horde.Et-EBad9ekiUIxjlLJyzMg1@mail.das-netzwerkteam.de>
From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: Python X2Go for Mac OS X
User-Agent: Internet Messaging Program (IMP) H5 (6.2.2)
Accept-Language: en,de
Organization: DAS-NETZWERKTEAM
X-Originating-IP: 91.40.81.60
X-Remote-Browser: Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101
 Firefox/32.0 Iceweasel/32.0
Content-Type: multipart/signed; boundary="=_QM5fYp0e22bWFAu7TZh6Gg6";
 protocol="application/pgp-signature"; micalg=pgp-sha1
MIME-Version: 1.0

This message is in MIME format and has been PGP signed.

--=_QM5fYp0e22bWFAu7TZh6Gg6
Content-Type: text/plain; charset=UTF-8; format=flowed; DelSp=Yes
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: python-x2go
Severity: wishlist
Version: 0.5.0.1

Hi all,

below is a recipe to get Python X2Go flying on Mac OS X (up to 10.10).

Mike


----- Weitergeleitete Nachricht von Pedro Pinto <ppinto@alum.mit.edu> -----
   Datum: Mon, 20 Oct 2014 14:01:32 -0700
     Von: Pedro Pinto <ppinto@alum.mit.edu>
Betreff: Re: Python X2Go for Mac OS X
      An: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Hi Mike,

Thanks for your help over the weekend.


> Have you had success already with monkey patching Xlib? Is the=20=20
>=20nxproxy build working on Yosemite?

Indeed, with your help I was able to patch Xlib and recompile nxproxy,=20=
=20
so=20that python-x2go works on yosemite!


> here is a short reminder message for sending me the diff between=20=20
>=20Python X2Go 0.4.0.8 and your fork for Mac OS X.

My fork of Python X2GO 0.4.0.8 is quite modified to tailor the=20=20
specifics=20of the product my company is working on
(https://www.lytmus.io/ <https://www.lytmus.io/>), but the basic=20=20
changes=20to get it working on Mac and Yosemite are trivial, and I have=20=
=20
included=20them below.
By the way, I=E2=80=99m happy to test the new release of Python X2go 0.5 ov=
er=20=20
the=20next weekend, just let me know.


Python-Xlib 0.15rc1
Replace two instances of:
	host.startswith('/tmp/')   	=E2=80=94=E2=80=94>         host.startswith('/=
')


NXproxy
Apply this patch and recompile:
http://code.x2go.org/gitweb?p=3Dnx-libs.git;a=3Dcommitdiff;h=3Db0727a02ff41=
7b3983b10e02dbc1eb9a4878b2ac=20=20
<http://code.x2go.org/gitweb?p=3Dnx-libs.git;a=3Dcommitdiff;h=3Db0727a02ff4=
17b3983b10e02dbc1eb9a4878b2ac>
Neverpanic helped me recompile nxproxy and nxcomp.


python x2go 0.4.0.8
You just need to specify the path to the nxproxy file on the Mac package.
The code below is specific to how I package my app (I use py2app).

     else:
	self.PROXY_CMD =3D "/usr/bin/nxproxy

	=E2=80=94=E2=80=94>


         elif _X2GOCLIENT_OS =3D=3D 'Darwin':
             if hasattr(sys, 'frozen'):    # if client app is frozen
                 self.PROXY_CMD =3D join(os.environ['RESOURCEPATH'], 'nxpro=
xy')
             else:
                 self.PROXY_CMD =3D join(x2go_abs, 'contrib', 'mac=E2=80=99=
,=20=20
nxproxy',=20'nxproxy')

      elif _X2GOCLIENT_OS =3D=3D 'Linux':
             if hasattr(sys, 'frozen'):    # if client app is frozen
                 self.PROXY_CMD =3D join(os.environ['RESOURCEPATH'],=20=20
'nxproxy',=20'start_nxproxy')
             else:
                 self.PROXY_CMD =3D join(x2go_abs, 'contrib', 'linux=E2=80=
=99,=20=20
'nxproxy',=20'start_nxproxy')

----- Ende der weitergeleiteten Nachricht -----


--=20

DAS-NETZWERKTEAM
mike=20gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.x=
fb

--=_QM5fYp0e22bWFAu7TZh6Gg6
Content-Type: application/pgp-signature
Content-Description: Digitale PGP-Signatur
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAABAgAGBQJURXkrAAoJEJr0azAldxsxbyoQAJlmy78mCLgHnWrXZ446nfe6
NAt+n/HJD0BusqXk2LGc7cfktHmC7Fn2qUuyG5lkEEe7fHyl4cuyCyjasf0OkOkT
Gq6iPlzTnCPzrqult9rVQovCshP3bC3WCBzEXEsh/8CCZRtEpuVVF5w3QtT7AZP8
RiddmiomehbqtRm1I4oRxUouMml/Hu1zhc+N3i8/QG0mDq2QYSoV7gAb9nRQihHN
BbHrfH0ZSr7I6LJU2qBAaqazTBmanaF+Abh90BSoiCktE7MJSFQukWCLOhLll/tk
fcDu83Bm4SQ4bUiF+Xbv4sVeajoXo8/mhLmi8mFI4Ad8VCOH1AylITxBbQoYvLWk
8xrPMzHXj6QxnRhJH3xX0LOaOl8c8IoxsJAf4Y8wlOR8PH4msE0iFYWSTFpJkEzQ
s93RBrny5ac0Jy2G4taT00GuNch9HCg8qCGkhHOd3iDev7+8vo5QHH1BzqhVu2eG
hKNP90ESe0ICzm3Uw9VyWVNEN7ZZdYd2Y+uZI+K04oHbvBXwOXbqzauBXF4JfK5t
us26oWkoe/wCz5tMaBDx/oosPOZivnRJJ2d4S9xTa0ehWmFSfDK39V9KyDtsSGOi
LRSTToEYTVztTtJzsVj9bzvKR9JUp2yJskYoHNox5k9BUzmApEJCyba/iAEb5NAT
tuzeFFAXYc50FaNrBUvX
=DQ8X
-----END PGP SIGNATURE-----

--=_QM5fYp0e22bWFAu7TZh6Gg6--

------------=_1704750003-31990-0--
