Not sure how guacamole starts FreeRDP but if you can pass from the browser
to the web server the same info required here:
https://msdn.microsoft.com/en-us/library/cc240477.aspx
The should be trivial to modify timezone.c to avoid calling
GetTimeZoneInformation and use filled settings->ClientTimeZone from the
client on start time.
I could be missing something. Hope it helps.

Jaime.


On Mon, Oct 23, 2017 at 9:46 PM, Nick Couchman <vn...@apache.org> wrote:

> The Guacamole project [1] uses the FreeRDP libraries for establishing RDP
> connections to servers.  Since the connections are originating in web
> browsers, we'd like to try to detect the timezone in the web browser and
> pass that through to the RDP connection.
>
> However, it looks like in the stable-1.1 branch, the time zone is detected
> using either the TZ environment variable or /etc/localtime on the system
> where the FreeRDP library is launched, and it doesn't seem like there's a
> function available that takes a string timezone and creates the necessary
> time zone structure from that.  Without having to rewrite a bunch of the
> functionality present in the timezone.c file, can anyone advise if there's
> a way to take a value similar to what would be found in /etc/localtime or
> the TZ variable and create the time zone structure necessary to pass
> through to a RDP connection?
>
> Thanks - Nick
>
> [1] http://guacamole.incubator.apache.org
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> FreeRDP-devel mailing list
> FreeRDP-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
FreeRDP-devel mailing list
FreeRDP-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to