Thanks David, Thanks for Your prompt answer. comments inline below... Regards Mauro
----- Original Message ----- > Le 21/05/2015 11:04, Mauro Condarelli a écrit : > > Hi, > > I need to implement some kind of Remote Desktop for an embedded board. > > Specs are: > > > > ARM processor (Freescale i.MX6 Quad) > > Linux OS (currently 3.16.1) > > Wayland Compositor (Closed Source, from XSe) > > Qt libs and various Qt-based programs (no gnome) > > > > I am aware Weston already includes RDP, but I don't have Weston. > > Optimal would be some stand-alone program like x0vncserver, I do not care > > (too much) for performance. > > Unfortunately that is strictly for X11 (which I do not have). > > I do not know if FreeRDP has something comparable. > > > > Can someone suggest either a ready-made product or some other way to > > achieve this? > > i.e.: some way to grab the framebuffer (possibly via UDEV) and use it in a > > custom FreeRDP server; > > I'm not scared by coding, but as I do not know anything of the specifics of > > RDP and Wayland, I would need specific hints. > Hello Mauro, > I wrote the RDP compositor, and from my point of view it doesn't have so > much that is weston specific. That sounds promising... > > Except if the compositor has exotic extensions you can't have an > equivalent of x0vncserver (a weston client that captures all the screen > and transmit it over VNC), because of the separation of clients in I do not believe there are many extensions. Probably we have a quite optimized video rendering, but I won't be using that at all, at least not via remote. I am not familiar with Wayland structure; what does it mean? each client has only access to what it personally wrote? I seem to understand some kind of screen-capture (e.g.: for screenshot) is possible. Am I wrong? > wayland. If you're interested the guys from tightVNC have worked on the I already tried contacting them, but they do not seem to have anything ready (at least they didn't answer to a request for a quotation). > subject. The only possible solution is that the compositor helps to do > the remote access. You could of course write an application that > directly read in the framebuffer with the limitation that: I'm not sure I have seen there are a few ways to get data in order to make, for example, a screenshot, but I failed to compile them (to date) in my environment (our wayland-server appears to be 1.5.0 and I grabbed latest; I hope that's the only reason). > that 2 applications can open a fb device simultaneously, and you will > probably have some tearing if you read the fb content while the > compositor is writing in it. Can I (in Your opinion) use the code in .../weston/clients/screenshoot.c and insert it in a FreeRDP server (or a LibVNC sever)? Another problem (possibly major) is I apparently do *not* have libinput on my target; what are alternatives? What should I check? > > Anyway to write a FreeRDP based server, the RDP compositor or the > FreeRDP shadow servers are a good start to see how to use FreeRDP's > server-side APIs. I'll have a look, Thanks for the hint. I assume I will have to write the equivalent of FreeRDP/server/shadow/X11/x11_shadow.c, possibly using the code from screenshot.c, correct? Thanks in Advance for Your help > > Best regards. > > --- > David FORT > website: http://www.hardening-consulting.com/ > > > > ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel