Hi folks,
Attach to this mail, you will find an exemple showing how to makes X11
forwarding works with libssh2.
This exemple allocates a shell where you can request X ressources.
The usage is : x11 ip_address account_name account_password
It remains a proof of concept, the main loop is quiet ugly and very CPU
intensive, but it works!
Thanks to Sofian Brabez (sbz) for the proofreading, and badger for his help.
The file compile with : gcc -lssh2 x11.c -o x11
Regards
-- Olivier Hervieu - olivier.hervieu_at_wallix.com Pôle Produits / Security Research and Development http://www.wallix.com WALLIX, 118 Rue de Tocqueville 75017 paris
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
libssh2-devel mailing list
libssh2-devel_at_lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel