Re: INFO REQUIRED : Support of Shell Mode in Guacamole
On Nov 27, 2017 17:20, "Amarjeet Singh" wrote: @Mike I already tried with initial-program but it is showing black screen . Is there anything that I am missing ? Check the logs from guacd. Any other parameters ? No, however you may need to enable the ability to set the shell within the group policy of the RDP server. Newer versions of Windows use the same RemoteApp backend system for this, as well, so that may come into play, at least as far as group policy is concerned. If nothing is amiss in the guacd logs, and you are positive that the program specified exists at the path specified, check the Windows event logs. Something may jump out. - Mike
Re: INFO REQUIRED : Support of Shell Mode in Guacamole
@Mike I already tried with initial-program but it is showing black screen . Is there anything that I am missing ? Any other parameters ? Regards, Amarjeet Singh On Nov 27, 2017 10:20 PM, "Nick Couchman" wrote: > > > On Mon, Nov 27, 2017 at 11:41 AM, Mike Jumper > wrote: > >> On Mon, Nov 27, 2017 at 5:25 AM, Amarjeet Singh >> wrote: >> >>> Hi Team, >>> >>> >>> I was trying to run a program using shell command instead of Remote app. >>> >>> It seems that Guacamole doesn't support the shell command. >>> >>> >> It does. >> >> >>> Below are the parameters of freeRDP which is used to open any progam in >>> shell mode. >>> >>> */shell* >>> *Alternate shell* >>> >> >> The parameter for this in Guacamole is "initial-program": >> >> http://guacamole.apache.org/doc/gug/configuring-guacamole.ht >> ml#rdp-session-settings >> > > Oops...for some reason I was thinking "shell" and "initial-program" were > different settings within RDP. Sorry about that. > > -Nick >
Re: INFO REQUIRED : Support of Shell Mode in Guacamole
On Mon, Nov 27, 2017 at 11:41 AM, Mike Jumper wrote: > On Mon, Nov 27, 2017 at 5:25 AM, Amarjeet Singh > wrote: > >> Hi Team, >> >> >> I was trying to run a program using shell command instead of Remote app. >> >> It seems that Guacamole doesn't support the shell command. >> >> > It does. > > >> Below are the parameters of freeRDP which is used to open any progam in >> shell mode. >> >> */shell* >> *Alternate shell* >> > > The parameter for this in Guacamole is "initial-program": > > http://guacamole.apache.org/doc/gug/configuring-guacamole. > html#rdp-session-settings > Oops...for some reason I was thinking "shell" and "initial-program" were different settings within RDP. Sorry about that. -Nick
Re: INFO REQUIRED : Support of Shell Mode in Guacamole
On Mon, Nov 27, 2017 at 5:25 AM, Amarjeet Singh wrote: > Hi Team, > > > I was trying to run a program using shell command instead of Remote app. > > It seems that Guacamole doesn't support the shell command. > > It does. > Below are the parameters of freeRDP which is used to open any progam in > shell mode. > > */shell* > *Alternate shell* > The parameter for this in Guacamole is "initial-program": http://guacamole.apache.org/doc/gug/configuring-guacamole.html#rdp-session-settings */shell-dir* > *Shell working directory* > > Guacamole does not currently provide a parameter for the shell working directory. - Mike
Re: INFO REQUIRED : Support of Shell Mode in Guacamole
On Mon, Nov 27, 2017 at 8:25 AM, Amarjeet Singh wrote: > Hi Team, > > > I was trying to run a program using shell command instead of Remote app. > > It seems that Guacamole doesn't support the shell command. > > > Below are the parameters of freeRDP which is used to open any progam in > shell mode. > > */shell* > *Alternate shell* > */shell-dir* > *Shell working directory* > > How can I use it in Guacamole ? Do Guacamole support it or not ? > > It does not look like that parameter is currently supported in Guacamole. Adding it should be relatively trivial - adding it to the rdp.json file in the gaucamole-client code, and then a few lines of code on the server-side to translate between a Guacamole parameter and the corresponding FreeRDP API call. -Nick