Re: [Thinstation-general] freerdp start specific aps at session startup
Brought to you by:
doncuppjr
From: Beat B. | N. G. <bea...@ne...> - 2011-04-29 21:18:36
|
On 29.04.2011 23:09, Mike Eriksen wrote: > On Fri, Apr 29, 2011 at 10:55 PM, Beat Burgener | NetSuccess GmbH > <bea...@ne...> wrote: >> RJL, >> >> try escaping the \, e.g add an \ to each \, so it reads something like >> >> c:\\windows\\system32\\notepad.exe >> >> or even >> >> c:\\\windows\\\system32\\\notepad.exe >> >> I have no experience with that, just a thought > You are right - a double \\ is requited, but that's not what > Jean-Renaud requested in the first place when he explicitly had spaces > in both program path and directory path. > Hi Mike Well, indeed, I didn't read the entire thread ... ;-) Well, escaping the space with a back slash might do the trick too.... However, I'm not sure if you can run a program after XP login as you can with Terminal Server ... ... and policies might block the execution of scripts/applications on the Server ... So, Jean-Renaud, please verify and/or confirm (if not already done) that the expected behaviour is achieved with mstsc and then repeat the exactly same with freerdp (and escape \ and space and whatever or try to start something located in C:\temp) Again, just some thoughts ... Have a relaxing evening Beat > Nontheless, even with double \\ he is right that -s and -c doesn't > work. However as there is no error message in boot.log, I think this > is an issue that should be taken up with the freerdp guys as it isn't > a thinstation issue as far as I see it. > > I have test against XP with: > SESSION_1_FREERDP_OPTIONS="-u<user> -p<pw> -s > 'c:\\windows\\system32\\notepad.exe' -c 'c:\\windows\\system32'" > with and without the extra ' characters. > > Mike > >> Regards >> >> Beat >> >> >> >> >> On 29.04.2011 22:04, Jean-Renaud Laroche wrote: >>> I've tried it (FREERDP_OPTIONS='-u username -s >>> 'c:\windows\system32\notepad.exe' -c 'c:\windows\system32\' 'but it >>> doesn't work ether, when I check the Thinstation variables I got the >>> following: >>> FREERDP_OPTIONS='-u username -s >>> '"'"'c:\windows\system32\notepad.exe'"'"' -c >>> '"'"'c:\windows\system32\'"'"'' >>> >>> if I try without the ' it tell me path or destination c:windowssystem32 >>> not found >>> >>> I'm surprise that nobody else got that issue, is there any body that >>> start a program with the -s option >>> >>> JRL >>> -------------- >>> Date: Wed, 27 Apr 2011 10:18:36 +0200 From: Mike Eriksen >>> <thi...@gm...> Subject: Re: [Thinstation-general] freerdp >>> start specific aps at session startup To: >>> thi...@li... Message-ID: >>> <BAN...@ma...> Content-Type: >>> text/plain; charset=ISO-8859-1 On Wed, Apr 20, 2011 at 10:40 PM, wrote: >>> > > Hi >>> > > I trying to directly start a specific program on my 2008 r2 TS servers >>> > > but it didn't work. >>> > > >>> > > I'm using thinstation 2.2.2g with a freerdp session with parameters >>> that >>> > > look like: >>> > > session_1_freerdp_options="-u username -s c:\program path.exe -c >>> > > c:\program dir " >>> Try this: >>> SESSION_1_FREERDP_OPTIONS="-u username -s 'c:\program path.exe' -c >>> 'c:\program dir' " >>> >>> Mike >>> >>> > > I got to the loging prompt (after some flikering) but after loggin >>> in it >>> > > say preparing desktop and it kick me off. >>> > > >>> > > If I log to a 2003 server it give me an error that the path is not >>> found >>> > > and it missing the \ caracter >>> >>> > > >>> > > ?DETAIL - >>> > > ?0 user registry handles leaked from >>> \Registry\User\S-1-5-21-1xxxxxxxxxxx >>> > > >>> > > Any idear is welcome >>> > > thanks >>> > > -- >>> > > >>> > > http://www.WebInSpirit.com >>> >>> >>> ------------------------------------------------------------------------------ >>> WhatsUp Gold - Download Free Network Management Software >>> The most intuitive, comprehensive, and cost-effective network >>> management toolset available today. Delivers lowest initial >>> acquisition cost and overall TCO of any competing solution. >>> http://p.sf.net/sfu/whatsupgold-sd >>> _______________________________________________ >>> Thinstation-general mailing list >>> Thi...@li... >>> https://lists.sourceforge.net/lists/listinfo/thinstation-general >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> Thinstation-general mailing list >> Thi...@li... >> https://lists.sourceforge.net/lists/listinfo/thinstation-general >> > > |