Hi list,
We want to develop a headless client in python using pyx2go.
The application should have the following features:
We've got the demo.py running. However when it ends, the session is terminated correctly, but a thread remains active. Probably the thread should be joined with the mainprogram.
Could anyone help us with documentation on the use of fuse and the way commands are passed from client to server vice-versa?
Dick Kniep Lindix BV tel. 036-5215580 mob. 06-50991858
Hey Dick,
thank you for your interest in pyx2go! First of all, let me say that pyx2go is not an official library by the x2go developers - it was basically just an experiment to see if I could integrate python with the x2go stuff. It is a quite new project and it still contains bugs and some things are missing (e.g. sound and printing). The sshfs things are only implemented for demo purposes and need to be secured and tested for production use.
We've got the demo.py running. However when it ends, the session is terminated correctly, but a thread remains active. Probably the thread should be joined with the mainprogram.
Thank you for the hint! That might be because either a sub process doesn't correctly terminate or some greenlet (thread) e.g. a forward tunnel hasn't terminated and blocks the app from exiting. I am going to have a look at it tomorrow - but just to be sure: What revision are you using? The latest from github, right?
On Debian based distros, you usually just need to apt-get install sshfs and then mount something: sshfs dick@some.remote.host.nl /home/dick/mnt
You really don't need a deeper understanding of FUSE to use sshfs - but if you are interested, there's plenty of python specific information in the "Language Binding" section at http://fuse.sourceforge.net
I hope that helps for now - if you have further questions or need help with coding I will be happy to assist you.
Jörg
Hey Dick,
On Di 21 Sep 2010 15:18:12 CEST Dick Kniep wrote:
Just last weekend I (with Jörgs great help) I have started working on
such a headless client implementation.
The working title for the project is pyx2go-cli and once there is some
stability within it, it will be available with Jörgs python-x2go
library on GitHub. There will also be Debian/Ubuntu packages available.
If you have the possibility of funding such development work (and
thus, speed it up), I (and probably also Jörg) will be happy to
provide you with support and code.
Best, Mike Gabriel
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
mail: m.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...