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

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
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> <9735AA8FA77D4246B586FEA2554869D019859A AT leav101beexs001 DOT nanw DOT ds DOT army DOT mil>
Subject: RE: 1.5.24 remote launch of java gui
Date: Tue, 3 Apr 2007 18:49:56 +0100
Message-ID: <019101c77618$7dddd090$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <9735AA8FA77D4246B586FEA2554869D019859A@leav101beexs001.nanw.ds.army.mil>
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

On 03 April 2007 18:44, Elliston, Jack W CTR USA TRADOC NSC wrote:

> 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 believe that would be referring to the sshd service, which you most
certainly /are/ running on the remote machine!

> 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.

  Yep, but since you've come in via ssh, you are logged in as a remote
('network') user, which gives you less rights than a local ('interactive')
user who is actually sat at the console.  Specifically, processes launched by
remote user's can't get at the local user's desktop, in order to try and
protect against security violations, and you need to relax this restriction
for your sshd-launched java.exe to be able to open a window on the desktop.

  The checkbox in question is on the "Log On" tab of the Properties page of
the "CYGWIN sshd" service as seen in the services manager
(Start->Run->"services.msc").


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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