FreeRDP/client/X11
Norbert Federa cf3c03c60e xfreerdp: a quick workaround for some issues with TS Remote App.
Currently in Remote App mode we have no option to interact with the
remote desktop host before the first RAIL window is created.

In many situations this interaction possibility is absolutely required.
One example is that screen which gets displayed if another user is logged on.
It requires clicking a button in pre-RAIL mode so that the currently logged
on user gets notified to confirm or deny the connection.

Another example is the option to log on graphically (e.g. for hosts that
don't support NLA) without predefined credentials.

Also if the administrator sets the "User must change password at next logon"
option there is currently no way to do this in TS Remote App mode.

This change basically lets xfreerdp create the main window in Remote App mode
like in a normal session and xfi->remote_app is not set to true initially.

As soon as the rail exec result event or the first rail window creation
request is received (whatever comes first) the main window gets destroyed and
xfi->remote_app is set to true.

The second change is to disconnect immediately if the rail exec result event
reports an error, e.g. if the specified app cannot be found or if it is not
in the list of allowed applications.

This fixes FreeRDP github issue #143 and issue #308.

I'm aware that this is not the most elegant solution but it is definitely an
improvement and probably good enough for 1.0.
A nicer solution would be hiding the main window and only displaying it if
no rail exec result or rail window creation event is received after a certain
timeout ...
2012-01-02 10:27:04 +01:00
..
CMakeLists.txt cmake: use CMAKE_DL_LIBS instead of dl for portability 2011-10-25 09:47:38 -04:00
xf_cliprdr.c cliprdr: fix incorrect condition. 2011-11-24 19:01:28 +08:00
xf_cliprdr.h xfreerdp: added WITH_DEBUG_X11_CLIPRDR option 2011-11-23 10:58:13 -05:00
xf_event.c libfreerdp-core: fix input callback registration for slow-path input 2011-12-20 14:51:44 -05:00
xf_event.h Add a function to synchronize the RDP server with the local window position and size when the window is moved locally. 2011-12-06 15:43:38 -08:00
xf_gdi.c xfreerdp: fix patblt pixmap leak & quick fix for patblt brush 2011-12-31 16:00:26 -06:00
xf_gdi.h Reorder header files. X11 headers need to be before freerdp/types.h otherwise we get warnings about redefinition of True and False 2011-10-27 10:29:16 -07:00
xf_graphics.c libfreerdp-codec: fix color pointer conversion 2011-12-31 15:23:29 -05:00
xf_graphics.h libfreerdp-core: refactoring of core bitmap objects 2011-10-20 17:28:59 -04:00
xf_keyboard.c types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
xf_keyboard.h xfreerdp: add --kbd-list option 2011-08-25 22:01:33 -04:00
xf_monitor.c xfreerdp: fix non-xinerama fullscreen issue (issue #266) 2011-12-15 10:45:50 +01:00
xf_monitor.h xfreerdp: start handling multiple monitors in xf_monitor.c 2011-08-30 20:59:42 -04:00
xf_rail.c xfreerdp: a quick workaround for some issues with TS Remote App. 2012-01-02 10:27:04 +01:00
xf_rail.h Add option for WITH_DEBUG_WND for window order updating, already existing in code 2011-12-06 15:43:38 -08:00
xf_tsmf.c types: refactoring to make use of standard data types when available 2011-11-19 12:19:16 -05:00
xf_tsmf.h tsmf: add XVideo support in xfreerdp. 2011-09-20 16:37:00 +08:00
xf_window.c Fix compile error on Solaris 2011-12-16 15:10:07 -06:00
xf_window.h Fix compile error on Solaris 2011-12-16 15:10:07 -06:00
xfreerdp.1.xml xfreerdp: Correct manpage description of numeric values passed via the -x parameter 2011-12-16 22:48:06 -05:00
xfreerdp.c xfreerdp: a quick workaround for some issues with TS Remote App. 2012-01-02 10:27:04 +01:00
xfreerdp.h xfreerdp: a quick workaround for some issues with TS Remote App. 2012-01-02 10:27:04 +01:00