|
From: David F. <co...@ha...> - 2021-10-26 12:02:58
|
Le 25/10/2021 à 22:47, Diego Carmona via FreeRDP-devel a écrit : > Hi everyone. > > We require an RDP client to run in a headless environment and process the > screen's contents, but the idea was for it to rely on FreeRDP to actually > handle most of the heavy work regarding parsing the protocol and using X11 > to create and maintain the framebuffer. As such, instead of basing this > work in the sample client, it was based on the X11 client in the project. > The screen itself isn't needed per-se, we just want a simple way to do some > work on the framebuffer's contents as the session goes along. > > However, since the client is running on a headless environment, it's got no > $DISPLAY, and as such, the X approach won't work as simply as I thought. > > I'm aware that running a virtual X server is probably the way to go, but I > wanted to put this out there just in case there's a simple known way to > avoid that. > > Thanks for your help, > Well I really think you should have taken the sample client as an example and do the framebuffer stuff yourself. Writing a RDP client using FreeRDP libs is not that complicated, and you have plenty of examples in the clients directory (you can also have a look at remmina). Even if you use a virtual X environment with xfreerdp, you may hit the bug that some virtual X don't support all the X11 extension that we require. Best regards. -- David FORT website: https://www.hardening-consulting.com/ |