delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/27/11:56:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <29277832.post@talk.nabble.com>
References: <29277832 DOT post AT talk DOT nabble DOT com>
Date: Tue, 27 Jul 2010 11:55:41 -0400
Message-ID: <AANLkTikC+fKDYF_0_zB8R2qcZoHbousOy91dW37Uw6Qg@mail.gmail.com>
Subject: Re: opening notepad.exe from linux to window via ssh runs in background
From: Ryan McLeod <r DOT mcleod20 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

You probably need to enable X11 forwarding to forward the GUI in the
ssh client and server.

Ryan

On Tue, Jul 27, 2010 at 11:51 AM, saravanan_k83 <sarakuma AT yahoo-inc DOT com> wr=
ote:
>
> Hi,
>
> 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 note=
pad
> in background. i am not able to see it in foreground.
>
> javacode:
> Runtime.getRuntime().exec("notepad.exe")
>
> 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?
>
> --
> View this message in context: http://old.nabble.com/opening-notepad.exe-f=
rom-linux-to-window-via-ssh-runs-in-background-tp29277832p29277832.html
> Sent from the Cygwin list mailing list archive at Nabble.com.
>
>
> --
> Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html
> FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/
> Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html
> Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple
>
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019