Serwer terminali Winflector - alternatywa dla aplikacji Zdalny Pulpit, Citrix XenApp

Forum > Questions, suggestions and feature requests > Problem to spawn a console application

Autor: Mariano
Data: 2015-06-15 19:18:25

Hi,

I'm trying to run an application through Winflector 3.7.4.1 using Local Windows authentication, it starts a console application as part of a functionality.

Basically, the main app creates a hidden console application process (the user doesn't see the console window) that runs in a job, and communicates with it though named pipes.

The console app writes a pipe and the main app reads from it to then show data to the user.

I have a regular local user and an administrator user account in the server where the main app is installed (Win 2008 R2).

The main app works Ok under both local users, but when I try Winflector from another PC with this app using Local Windows authentication I have "Access is denied" error everytime the console app needs to be launched.

I mean, the main app is started Ok but when it needs to start the console app the error occurs.

Then I switched to use Winflector authentication and created a user (with the default settings) to try. To my surprise, the main app was able to launch the console app in this case, but I noticed that the console app was showing its window to the user when it shouldn't.

I also noticed in this case that the main app executed under the context of the local administrator, the same account I tried to use before without luck with Local Windows authentication. So that, I don't understand what is going on.

I wanted to ask you if there is a limitation for published applications to launch a console application when using Local Windows authentication.

Do I need to set special permissions to the local accounts?

Any help will be appreciated.

Thanks.

Autor: Bozena (staff)
Data: 2015-06-16 16:03:47

We will check a console application run with Windows authentication and let you know.

You can try to hide the console with usage of guiapp.cfg file. An ASCII file named guiapp.cfg should be created in a Winflector server installation catalog (most often c:\winflector\server). For testing please place the following line in this file:

-consoleoff

And test the application again.

 

Autor: Mariano
Data: 2015-06-16 16:52:05

I tried the guiapp.cfg file and the console window is no longer shown, thanks!

On the former issue, I've also tried winflector under Win 2003 using Local Windows authentication and the "Access is denied" error doesn't occur there.

It is happening with Win 2008 R2. I'll see if I can also try it in Win 2012.

Regards.

Autor: Bozena (staff)
Data: 2015-06-17 10:56:59

Please send us log files from Win 2008 R2 to support@winflector.com. Logs are located in c:\winflector\server\applogs.

Autor: Mariano
Data: 2015-06-17 15:21:57

Log files sent.

Regards.

1


Zaloguj się aby móc pisać na forum.