From unknown Tue Apr 07 23:07:47 2026
X-Loop: owner@bugs.x2go.org
Subject: Bug#648: [X2Go-Dev] Bug#648: Python X2Go for Mac OS X
Reply-To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 648@bugs.x2go.org
Resent-From: Mike Gabriel <mike.gabriel@das-netzwerkteam.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: Mon, 08 Jan 2024 21:40:02 +0000
Resent-Message-ID: <handler.648.B648.170474973830181@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: followup 648
X-X2Go-PR-Package: python-x2go
X-X2Go-PR-Keywords: 
References: <20141020210548.Horde.Et-EBad9ekiUIxjlLJyzMg1@mail.das-netzwerkteam.de>
Received: via spool by 648-submit@bugs.x2go.org id=B648.170474973830181
          (code B ref 648); Mon, 08 Jan 2024 21:40:02 +0000
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
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--
