I would like to run a process on a remote machine in interactive way, I mean that even though it doesn't require any user interaction I need that the process pops up a window GUI.
I Use Cygwin 1.7 and I am able to start the process with cygstart
but I don't know how to show its GUI. I use this command:
cygstart --show --action=runas COMMAND
Moreover, I use my domain account - on the local and remote machine - and I noted on the Windows Task Manager that the process as User Name has my account but with a different Session ID.
The problem is related to Windows security default settings, and to accomplish that it should be possible - the question is how - to modify the Cygwin service sshd
to "allow service to interact with desktop" or re-install sshd
with cygrunsrv
with --interactive
flag.
Cygwin service sshd
won't start if it has --interactive
flag. After many endeavors I am still in the dark.