Re: [FreeRDP-devel] Can FreeRDP be used as server?

2018-03-01 Thread R0b0t1 via FreeRDP-devel
http://www.xrdp.org/ On Thu, Mar 1, 2018 at 7:59 AM, Guy Berdnikov via FreeRDP-devel wrote: > Solution for Windows 10 will also be good > > On Thu, Mar 1, 2018 at 3:46 PM, Guy Berdnikov wrote: > >> Does anyone have any use full information on that topic? >> >> On Thu, Feb 22, 2018 at 4:45 PM, Gu

[FreeRDP-devel] Creating a Client Session

2018-07-29 Thread R0b0t1 via FreeRDP-devel
What do I need to do? I tried looking at the official client and Remmina. Remmina helped some but I am still lost. How close is: freerdp_client_context_new(); freerdp_client_start(); freerdp_client_stop(); freerdp_client_context_free(); to the correct lifecycle? There are lots of other functions

Re: [FreeRDP-devel] Creating a Client Session

2018-07-30 Thread R0b0t1 via FreeRDP-devel
On Mon, Jul 30, 2018 at 2:45 AM, Armin Novak via FreeRDP-devel wrote: > client/X11/xf_client.c implements the callbacks (RdpClientEntry function) > > > Go through the different callbacks in xfreerdp_client_new to get an idea > of setting up and cleaning up a session. > > > P.s. Sorry, documentatio

Re: [FreeRDP-devel] Creating a Client Session

2018-07-30 Thread R0b0t1 via FreeRDP-devel
On Mon, Jul 30, 2018 at 11:53 AM, R0b0t1 wrote: > On Mon, Jul 30, 2018 at 2:45 AM, Armin Novak via FreeRDP-devel > wrote: >> client/X11/xf_client.c implements the callbacks (RdpClientEntry function) >> >> >> Go through the different callbacks in xfreerdp_client_new to get an idea >> of setting up

Re: [FreeRDP-devel] Creating a Client Session

2018-07-30 Thread R0b0t1 via FreeRDP-devel
On Mon, Jul 30, 2018 at 2:06 PM, Armin Novak via FreeRDP-devel wrote: > You have a render buffer (gdi->primary_buffer) where you have the > rendered image > you have the invalid region which tells you which areas have changed > and you have the *end_paint callbacks which tell you when an update is

Re: [FreeRDP-devel] Creating a Client Session

2018-07-30 Thread R0b0t1 via FreeRDP-devel
On Mon, Jul 30, 2018 at 3:18 PM, Armin Novak via FreeRDP-devel wrote: >>> You have a render buffer (gdi->primary_buffer) where you have the >>> rendered image >>> you have the invalid region which tells you which areas have changed >>> and you have the *end_paint callbacks which tell you when an u

Re: [FreeRDP-devel] Creating a Client Session

2018-07-31 Thread R0b0t1 via FreeRDP-devel
On Tue, Jul 31, 2018 at 2:18 AM, Armin Novak via FreeRDP-devel wrote: >> Thanks. I did and am mostly on the right track. If you wouldn't mind >> could you look over the code I have? The painting callbacks are never >> called. Though as far as I can tell I implemented everything I should >> have (p

Re: [FreeRDP-devel] Creating a Client Session

2018-08-01 Thread R0b0t1 via FreeRDP-devel
On Wed, Aug 1, 2018 at 2:27 AM, Armin Novak wrote: > Glad it works, > > as for scancodes you have to figure out what type of code you get > (libinput? X11?) and map that accordingly. > I'm using SDL2. I can't exactly tell what it corresponds to but I also need to know what the keys sent by FreeRD

Re: [FreeRDP-devel] Creating a Client Session

2018-08-01 Thread R0b0t1 via FreeRDP-devel
On Wed, Aug 1, 2018 at 11:27 AM, R0b0t1 wrote: > On Wed, Aug 1, 2018 at 2:27 AM, Armin Novak wrote: >> Glad it works, >> >> as for scancodes you have to figure out what type of code you get >> (libinput? X11?) and map that accordingly. >> > > I'm using SDL2. I can't exactly tell what it correspon

[FreeRDP-devel] Events posted with freerdp_input_send_keyboard_event_ex are delayed until next event.

2018-08-22 Thread R0b0t1 via FreeRDP-devel
Hello, I had some code using SDL2 and FreeRDP that *was* completely working but now keyboard and mouse events seem to be delayed by one. Mouse events happen so quickly this is usually not noticed, but the keyboard events are noticeably strange. The first keypress sent to the server seems to do no

Re: [FreeRDP-devel] Events posted with freerdp_input_send_keyboard_event_ex are delayed until next event.

2018-08-22 Thread R0b0t1 via FreeRDP-devel
On Wed, Aug 22, 2018 at 2:00 PM, R0b0t1 wrote: > It looks like freerdp is not processing the new events for some > reason, but I am not sure of any functions to call to ensure they are > processed. A worker thread is ticking along in the background and SDL2 > is receiving events. > A sudden reali

Re: [FreeRDP-devel] writing rdp client using libfreerdp

2018-09-26 Thread R0b0t1 via FreeRDP-devel
On Wed, Sep 26, 2018 at 9:11 AM, Armin Novak via FreeRDP-devel wrote: > Hi, > > > Better try the opposite approach. > > If you check the sample client, there already is a settings struct > allocated with default values when > freerdp_client_settings_parse_command_line is called. > > Populate this

Re: [FreeRDP-devel] writing rdp client using libfreerdp

2018-09-26 Thread R0b0t1 via FreeRDP-devel
On Wed, Sep 26, 2018 at 3:15 PM, Alexandr via FreeRDP-devel wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > В Ср, 26/09/2018 в 18:02 +0300, Alexandr пишет: >> В Ср, 26/09/2018 в 08:49 -0500, Eric Brown via FreeRDP-devel пишет: >> > freerdp_client_settings_parse_command_line >> >> So

Re: [FreeRDP-devel] libfreerdp single thread

2018-10-01 Thread R0b0t1 via FreeRDP-devel
On Mon, Oct 1, 2018 at 9:33 AM Alexandr via FreeRDP-devel wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > Hi all. > Is it possible without modifications to libfreerdp code make it single > threaded, and implement loop inside my application and not in > libfreerdp ? > > does any ex

Re: [FreeRDP-devel] freerdp get fd's for polling

2018-10-01 Thread R0b0t1 via FreeRDP-devel
On Mon, Oct 1, 2018 at 10:16 AM Alexandr via FreeRDP-devel wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > В Пн, 01/10/2018 в 09:41 +0200, Armin Novak via FreeRDP-devel пишет: > > Look at the sample client: > > > > nCount = freerdp_get_event_handles(instance->context, &handles[0],

Re: [FreeRDP-devel] GPU HW decoding support in freeRDP 2

2018-10-01 Thread R0b0t1 via FreeRDP-devel
On Mon, Oct 1, 2018 at 12:15 PM Martin Ciglan via FreeRDP-devel wrote: > > Hi > > I would like to implement GPU HW decoding support into freeRDP 2, which > should be run on particular SBC like raspberry or similar. Two questions > comes into my mind first: > > 1. Is that technicaly possible? > 2.