delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/10/14/19:43:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4E98C90C.4050308@ai.sri.com>
Date: Fri, 14 Oct 2011 16:43:08 -0700
From: Quang Ong <ong AT AI DOT SRI DOT COM>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Invoking GUI programs over SSH
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

I found this previous discussion about this issue, but it doesn't appear 
to work or maybe someone can elaborate on this issue.
http://cygwin.com/ml/cygwin/2011-01/msg00211.html

I'm trying to do the same thing, launch a GUI app over SSH on the 
"server", not sending the display back to the ssh client.

I originally had openssh 5.8 and recently updated to 5.9. SSH to the 
windows machine works fine for the most part, except for the fact when I 
try to launch our build tool, which pops up a GUI, it doesn't work 
anymore. We have a much older XP machine running Cygwin 1.5 which works, 
but this new machine is running Win7 64-bit w/ Cygwin 1.7 openssh 5.9.

The quick test is to ssh into the cygwin machine and run notepad. Like 
the previous poster, I can see the process running, but nothing on the 
"console". I tried the recommended step of adding Interactive Logon 
rights using the editrights tool, but I didn't see how the poster was 
able to use the Services GUI to add "Allow service to interact with 
desktop" for a "regular user". Only the LOCAL SERVICE user has that 
option in the GUI.
1) Is the  "editrights -a SeInteractiveLogonRight -u ssh-admin " command 
the same as checking the "Allow service to interact with desktop"?
2) The poster also didn't seem to indicate which version of openssh. I 
found another discussion that mentioned that this capability worked with 
openssh 5.1:
   
http://lists.mindrot.org/pipermail/openssh-unix-dev/2011-April/029490.html

Is this capability no longer possible/suported?

Thanks,
Q

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