[X2Go-User] [x2go][pyhoca-cli] - Reparent windows using xembed

Antenore Gatta antenore at simbiosi.org
Wed Jul 15 09:44:52 CEST 2015


Hi all,

I'm one of the main Remmina contributors, a C/GTK application used to
connect to a remote server using different protocols.

We have an NX plugin, that I'm even not sure is working, so I decided
to write an X2Go plugin.

So far so good, I was able to implement a kind of wrapper around
pyhoca-cli, but as I'm far to be a good developer, I'm having some hard
time to try to embed/reparent, the X2Go windows inside our GTK
container.

This is usually achieved implementing the Xembed protocol, on both side
and for what I can see/understand, X2Go, or at least Pyhoca-cli,
doesn't.

Am I wrong? In the case would it be possible to implement or are you
aware of any other approach of doing it?

Some references:

https://github.com/FreeRDP/Remmina/tree/x2goplugin
https://github.com/FreeRDP/Remmina/tree/x2goplugin/remmina-plugins/x2go
The "xterm -into windowID" it's just to showcase the fact that the
reparenting works.

http://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html

https://developer.gnome.org/gtk3/unstable/GtkSocket.html

Thanks a lot for your precious work and support!

Best regards
Antenore


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT !d s: !a C++ UL++++ P+++ L+++ E--- W+++ N+++ o-- K- w--- 
O+ M-- V-- PS+++ PE Y+ PGP t+++ 5++ X R++ tv- b+ DI D++ 
G e+ h---- r+++ y++++ 
------END GEEK CODE BLOCK------


More information about the x2go-user mailing list