[X2go-dev] Patch for python-x2go

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Thu May 12 12:17:51 CEST 2011


Hi Stéphane, hi x2go-dev-list,

@x2go-dev-ML: this discussion about using python-x2go in Ubuntu's  
Software Center started as a private mail from Stéphane to me and I  
requested making it public which he granted (THANKS!).

@Stéphane: could you resend your reply to the list as well? THANKS!

On Do 12 Mai 2011 09:31:57 CEST Stéphane Graber wrote:

> Hi,
>
> I'm currently working on implementing x2go support in the Ubuntu
> Software Center to use it as a replacement for FreeNX in WebLive[1].

This is great news!!!! I am very open to feedback and improvements   
(patches!). Whenever you find something, send it over.

You can find our latest code at
http://git.x2go.org

> I found a few issues in backends/proxy/base.py that are causing crashes
> on disconnect.
> Attached is a very small patch fixing these issues.

Applied and uploaded to our Git. THANKS!

> I also know that we have some issues with using python-x2go in the
> software-center because of it using gevent and causing some weird
> threading issues in our code but I'll have a look at these either this
> week (though I'm at the Ubuntu Developer Summit in Budapest) or next
> from home.

If you use another event handler in combination with python-gevent you  
  have to call a gevent.sleep every few milliseconds. Please refer to   
the pyhoca-gui code for an example:

http://code.x2go.org/gitweb?p=pyhoca-gui.git;a=blob;f=pyhoca/wxgui/frontend.py;h=c06c51c4dc05aa91b0ec9928fafd0c4de3c4b626;hb=63c6f4cb928e735ae3b6202ff34cfc82d09cf816

In the above file take a look at the OnIdle method in line 159.

> Our test branch is:
> https://code.launchpad.net/~weblive-dev/software-center/weblive-x2go
>
> I'll let you know how things are going on our side and if we have any
> question or other fixes/improvements we'd like to see in python-x2go.

Yes, do so!!! Very welcome!!! If it turns out that you will have quite  
  a few patches to add we can also discuss direct access to our Git  
site.

 From our Git we build nightly packages on Launchpad, I have just   
kicked that off today...
http://launchpad.net/~x2go

> Thanks for the great software!

Thanks for considering its usage!!! Note, that the whole X2go project   
is moving towards AGPL soon. Will that be a problem for you and your   
project context?

Greets,
Mike

PS: I would like to send a copy of this mail to the X2go dev mailing   
list and actually would also love to continue the discussion and   
sharing their. Would that be OK for you?

X2go-dev ML:
https://lists.berlios.de/mailman/listinfo/x2go-dev

-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb

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


-- 

DAS-NETZWERKTEAM
mike gabriel, dorfstr. 27, 24245 barmissen
fon: +49 (4302) 281418, fax: +49 (4302) 281419

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

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20110512/8459c23b/attachment.pgp>


More information about the x2go-dev mailing list