Pop up GUI remotely via SSH

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Pop up GUI remotely via SSH

trimat
Hi all,
I would like to pup up on Windows 7 the GUI of a program started remotely from SSH. I can't obtain this with cygstart even though I see the process running in Windows Task Manager. Trying to add --interactive flag to Cygwin service sshd, the service doesn't start.

I am aware of the Windows restriction Session 0 Isolation (introduced in Windows Vista) but I read a few posts in which it seems possible. I have tried lots of solutions but till now I am able to accomplish that not using Cygwin but with PsExec (utility of Windows Sysinternals).

Any clue how to do it with Cygwin?
Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Pop up GUI remotely via SSH

Larry Hall (Cygwin)
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Pop up GUI remotely via SSH

trimat
@Larry thanks for the answer.
Reply | Threaded
Open this post in threaded view
|

Re: Pop up GUI remotely via SSH

L A Walsh
In reply to this post by trimat
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Pop up GUI remotely via SSH

trimat
If I create the service with the command ssh-host-config (and then set up user and privileges) I can start remotely from SSH a program without the possibility to see its GUI.

If I modify the sshd service by Windows Services logging on as "Local System account" with "Allow service to interact with desktop" option enabled, I get an error: "The CYGWIN sshd service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs".

Moreover, it doesn't start even if I create the service with the command cygrunsrv -I sshd --interactive -d "CYGWIN sshd" -p "C:\APPS\CYGWIN\bin\cygrunsrv.exe" -a -D -e "CYGWIN=ntsec tty" -y tcpip.

I am not aware of Xserver, how can I check this?
Thanks
Reply | Threaded
Open this post in threaded view
|

Personal use not permitted: (was Re: Pop up GUI remotely via SSH)

L A Walsh
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Personal use not permitted: (was Re: Pop up GUI remotely via SSH)

trimat
Very thanks for your thorough response.

We wanted to achieve that triggering commands from a Windows/Linux to a Windows (7), so in a mono-directional way. We realize the difficulty to realize it and so we decided to shake our architecture up.