On Thu, Aug 23, 2018 at 5:22 AM [email protected] <[email protected]> wrote:
> Thank for you reply. > > Yes > > initial-program is my second choose. > but not the best one. > > Because initial-program is do this > > open desktop=> open what initial-program specified ! > If you look at the code, the "/shell" option in xfreerdp is exactly the same as the "initial-program" parameter in Guacamole. Both of these set the internal FreeRDP AlternateShell setting (in FreeRDP 1.1): https://github.com/FreeRDP/FreeRDP/blob/851f0979d5b0b45a7595cab7ab1dd2d41d4a73d1/client/common/cmdline.c#L1314-L1317 https://github.com/apache/guacamole-server/blob/911e60cf5c4be6bf87a6164b2556ab9ab32e91dd/src/protocols/rdp/rdp_settings.c#L1192 > > I want open a application at linux. > > Such as /app:C:/windows/system32/notepad.exe > > but in linux , /app is not usefull. > > Getting the RemoteApp functionality to work takes a little bit more effort than just specifying the path to the executable - you have to publish the application on the RDP server, first. Windows Server has built-in methods for doing this, while the workstation versions of Windows (XP/7/Vista/8/10) require an external tool to set this up ( http://www.kimknight.net/remoteapptool). -Nick
