Hello all,
I am trying to develop X2GO plugin for Remmina and I am missing one very important feature in pyhoca. I need to be able to "embed" pyhoca window into another window. Something similar to "-parent" for Xephyr or "-X" for rdesktop. I tried myself to find how to do it but failed because my python knowledge is very limited. Do you think it is something that can be easily added? In case if nobody is interested would anyone please point me out in the code where the windows is getting created?
Thanks a lot for your help in advance!
Hi Borys,
[Borys and I already exchanged some private emails about this topic,
now picking up his threat here...]
On Mi 26 Feb 2014 16:37:56 CET, Borys Saulyak wrote:
Hello all,
I am trying to develop X2GO plugin for Remmina and I am missing one very important feature in pyhoca. I need to be able to "embed" pyhoca window into another window. Something similar to "-parent" for Xephyr or "-X" for rdesktop. I tried myself to find how to do it but failed because my python knowledge is very limited. Do you think it is something that can be easily added? In case if nobody is interested would anyone please point me out in the code where the windows is getting created?
The nxproxy child process gets launched in this file: http://code.x2go.org/gitweb?p=python-x2go.git;a=blob;f=x2go/backends/proxy/n...
And here is the method that "finds" the nxproxy window that contains
the X2Go session:
http://code.x2go.org/gitweb?p=python-x2go.git;a=blob;f=x2go/backends/termina...
Thanks a lot for your help in advance!
Greets, Mike
--
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.xf...
I think what your looking for is the nxproxy... is you open a X2Go session and run "ps uxa|grep nx" you'll get something like this: /usr/bin/nxproxy -S nx/nx,retry=5,composite=1,connect=127.0.0.1,clipboard=1,cookie=cbd55541d784bfc02aead11bb9e576fb,port=30001,errors=/home/theuser/.x2go/S-test2-50-1392932167_stDXFCE_dp24/session.log:50
Which is probably the "window" your looking to embed...
So your best bet would probably be to look at modifying pyhoca into doing the plumbing in the background and replace the bit that starts the nxproxy with what ever magic that gives you what you need to embed it...
On 02/26/2014 04:37 PM, Borys Saulyak wrote:
Hello all,
I am trying to develop X2GO plugin for Remmina and I am missing one very important feature in pyhoca. I need to be able to "embed" pyhoca window into another window. Something similar to "-parent" for Xephyr or "-X" for rdesktop. I tried myself to find how to do it but failed because my python knowledge is very limited. Do you think it is something that can be easily added? In case if nobody is interested would anyone please point me out in the code where the windows is getting created?
Thanks a lot for your help in advance!