X2Go Bug report logs - #648
Python X2Go for Mac OS X

version graph

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

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Mon, 20 Oct 2014 21:10:02 UTC

Severity: wishlist

Found in version 0.5.0.1

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#648; Package python-x2go. (Mon, 20 Oct 2014 21:10:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 20 Oct 2014 21:10:02 GMT) (full text, mbox, link).


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

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: Python X2Go for Mac OS X
Date: Mon, 20 Oct 2014 21:05:48 +0000
[Message part 1 (text/plain, inline)]
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  
> nxproxy build working on Yosemite?

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


> here is a short reminder message for sending me the diff between  
> Python 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  
specifics of the product my company is working on
(https://www.lytmus.io/ <https://www.lytmus.io/>), but the basic  
changes to get it working on Mac and Yosemite are trivial, and I have  
included them below.
By the way, I’m happy to test the new release of Python X2go 0.5 over  
the next weekend, just let me know.


Python-Xlib 0.15rc1
Replace two instances of:
	host.startswith('/tmp/')   	——>         host.startswith('/')


NXproxy
Apply this patch and recompile:
http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b0727a02ff417b3983b10e02dbc1eb9a4878b2ac  
<http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b0727a02ff417b3983b10e02dbc1eb9a4878b2ac>
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 = "/usr/bin/nxproxy

	——>


        elif _X2GOCLIENT_OS == 'Darwin':
            if hasattr(sys, 'frozen'):    # if client app is frozen
                self.PROXY_CMD = join(os.environ['RESOURCEPATH'], 'nxproxy')
            else:
                self.PROXY_CMD = join(x2go_abs, 'contrib', 'mac’,  
nxproxy', 'nxproxy')

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

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


-- 

DAS-NETZWERKTEAM
mike gabriel, 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.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#648; Package python-x2go. (Mon, 08 Jan 2024 21:40:02 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Mon, 08 Jan 2024 21:40:02 GMT) (full text, mbox, link).


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

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
Date: Mon, 08 Jan 2024 21:35:31 +0000
[Message part 1 (text/plain, inline)]
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  
>> nxproxy build working on Yosemite?
>
> Indeed, with your help I was able to patch Xlib and recompile  
> nxproxy, so that python-x2go works on yosemite!
>
>
>> here is a short reminder message for sending me the diff between  
>> Python 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  
> specifics of the product my company is working on
> (https://www.lytmus.io/ <https://www.lytmus.io/>), but the basic  
> changes to get it working on Mac and Yosemite are trivial, and I  
> have included them below.
> By the way, I’m happy to test the new release of Python X2go 0.5  
> over the next weekend, just let me know.
>
>
> Python-Xlib 0.15rc1
> Replace two instances of:
> 	host.startswith('/tmp/')   	——>         host.startswith('/')
>
>
> NXproxy
> Apply this patch and recompile:
> http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b0727a02ff417b3983b10e02dbc1eb9a4878b2ac  
> <http://code.x2go.org/gitweb?p=nx-libs.git;a=commitdiff;h=b0727a02ff417b3983b10e02dbc1eb9a4878b2ac>
> 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 = "/usr/bin/nxproxy
>
> 	——>
>
>
>         elif _X2GOCLIENT_OS == 'Darwin':
>             if hasattr(sys, 'frozen'):    # if client app is frozen
>                 self.PROXY_CMD = join(os.environ['RESOURCEPATH'], 'nxproxy')
>             else:
>                 self.PROXY_CMD = join(x2go_abs, 'contrib', 'mac’,  
> nxproxy', 'nxproxy')
>
>      elif _X2GOCLIENT_OS == 'Linux':
>             if hasattr(sys, 'frozen'):    # if client app is frozen
>                 self.PROXY_CMD = join(os.environ['RESOURCEPATH'],  
> 'nxproxy', 'start_nxproxy')
>             else:
>                 self.PROXY_CMD = join(x2go_abs, 'contrib', 'linux’,  
> '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.

-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
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

[Message part 2 (application/pgp-signature, inline)]

Marked Bug as done Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to 648-submit@bugs.x2go.org. (Mon, 08 Jan 2024 21:40:03 GMT) (full text, mbox, link).


Notification sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Bug acknowledged by developer. (Mon, 08 Jan 2024 21:40:03 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.x2go.org> to internal_control@bugs.x2go.org. (Tue, 06 Feb 2024 06:24:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Dec 3 17:24:45 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.