This is the mail archive of the
mailing list for the Cygwin project.
Re: opening notepad.exe from linux to window via ssh runs in background
On 7/27/2010 10:55 AM, Ryan McLeod wrote:
> On Tue, Jul 27, 2010 at 11:51 AM, saravanan_k83 <firstname.lastname@example.org> wrote:
>> I have setup a ssh connection between linux box and windows using cygwin, I
>> issued the java code to start notepad on windows. It actually starts notepad
>> in background. i am not able to see it in foreground.
>> I even tried setting CYGWIN sshd services "Allow service to interact with
>> desktop" checked. still it is not showing up notepad screen.
>> any idea how to fix this?
> You probably need to enable X11 forwarding to forward the GUI in the
> ssh client and server.
Notepad is not an X client application, so no amount of X11 mischief
will affect it at all. That is probably not what the OP wants anyway.
I want to think that the ability to spawn GUI processes from an SSH
session stopped working for Windows Vista and above. Earlier Windows
versions can supposedly be made to do it by granting the desktop
interaction right to the account used to run the SSH server, but I
haven't tried to do that.
This issue has cropped up in the mailing list before with a fair bit of
discussion. Search the mailing list archives for details.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple