delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/03/13:45:10

X-Spam-Check-By: sourceware.org
X-BrightmailFiltered: true
X-IronPort-AV: i="4.14,362,1170633600"; d="scan'208"; a="12448045:sNHT31497781"
MIME-Version: 1.0
Subject: RE: 1.5.24 remote launch of java gui
Date: Tue, 3 Apr 2007 12:43:52 -0500
Message-ID: <9735AA8FA77D4246B586FEA2554869D019859A@leav101beexs001.nanw.ds.army.mil>
In-Reply-To: <Pine.GSO.4.63.0704031327460.19105@access1.cims.nyu.edu>
References: <9735AA8FA77D4246B586FEA2554869D019853F AT leav101beexs001 DOT nanw DOT ds DOT army DOT mil> <Pine DOT GSO DOT 4 DOT 63 DOT 0704031255410 DOT 19105 AT access1 DOT cims DOT nyu DOT edu> <018c01c77613$45c3bb20$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <Pine DOT GSO DOT 4 DOT 63 DOT 0704031327460 DOT 19105 AT access1 DOT cims DOT nyu DOT edu>
From: "Elliston, Jack W CTR USA TRADOC NSC" <Jack DOT Elliston AT us DOT army DOT mil>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l33Hivwr004354

OK.  Now I am bit confused.

I am not trying to run a service on the remote cygwin box and so I don't
see how I would 'check the "Allow service to interact with the desktop"
checkbox' or why I would use the cygrunsrv application.

I just need to run the java app on machine 2 via a ssh connection from
machine 1.  I want the app to display it gui on machine 2.

I don't really even think the Xserver is required since the app runs on
machine 2 when launched on machine 2 without an Xserver installed.

Jack

-----Original Message-----
From: Igor Peshansky [mailto:pechtcha AT cs DOT nyu DOT edu] 
Sent: Tuesday, April 03, 2007 12:30 PM
To: Dave Korn
Cc: cygwin AT cygwin DOT com; Elliston, Jack W CTR USA TRADOC NSC
Subject: RE: 1.5.24 remote launch of java gui

On Tue, 3 Apr 2007, Dave Korn wrote:

> On 03 April 2007 17:57, Igor Peshansky wrote:
>
> > There is no Cygwin version of Java.  Therefore, you're starting a 
> > Windows version of Java, which is not an X application.  You will 
> > not be able to forward the display
>
>   He doesn't want to.  He wants the display to appear on the same 
> remote machine where the java process is being launched.

So he does.  Then he'll just need to check the "Allow service to
interact with the desktop" checkbox in the service properties (or use
the -i cygrunsrv flag).  Unless he uses privilege separation, in which
case he's out of luck (as this option is only available for services
running as "system").
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu |
igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name
changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Freedom is just another word for "nothing left to lose"...  -- Janis
Joplin

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


- Raw text -


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