delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/17/16:46:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D34B5F0.1060103@bopp.net>
References: <AANLkTim5cbta847JdAoHpv565qqDMF=WEbZH6gFJ8Lih AT mail DOT gmail DOT com> <4D34B5F0 DOT 1060103 AT bopp DOT net>
Date: Tue, 18 Jan 2011 10:46:17 +1300
Message-ID: <AANLkTi=m0aJ+xo6Gcr_CYWtMcVJjc0SBxfubnuXeg3Br@mail.gmail.com>
Subject: Re: Invoking GUI programs over SSH
From: David Antliff <david DOT antliff 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

On Tue, Jan 18, 2011 at 10:34, Jeremy Bopp wrote:
> On 1/17/2011 3:20 PM, David Antliff wrote:
>> Essentially I have a seemingly command-line based FPGA synthesis tool
>> (a "compiler" if you prefer) called "Synplify Pro". Unfortunately it
>> is not truly command-line, but does some sort of GUI-related
>> operations even though it shows no actual GUI (except sometimes a
>> splash screen). This means that although I can run it from a local
>> bash instance, and it will run, I don't seem to be able to run it from
>> an SSH session.
>>
>> Copyright (c) 1991-2010 Lattice Semiconductor Corporation, =A0All rights=
 reserved.
>> Failed to get 'Config' context string of ispLever System
>> Failed to get 'Root' context string of ispLever System
[snip]
>> I noticed when I run Windows apps such as notepad.exe or calc.exe over
>> SSH that they start up, no GUI appears, but as far as I can tell they
>> remain running.
[snip]
>> Does anyone know of any 'trick' to enable a GUI program to work via
>> SSH please? I'm using Cygwin 1.7.5 on Windows XP SP3 32bit.
>
> Perhaps you could use the editrights program to add the
> SeInteractiveLogonRight for the user running the ssh service and
> effectively get access to the main desktop that way.

Hi Jeremy, thank you for your idea.

I just tried this - in fact I used the AdministrativeTools/Services
applet to set the Cygwin SSHD service to "Allow service to interact
with desktop". This actually had a useful effect - I can now start
'notepad' or 'calc' and I see the process appear on the main desktop.

However, unfortunately, I still get the same error from Synplify Pro.
I wonder if it's looking for more than just GUI services?

Also, having that option set causes any SSH connection attempts *from
Cygwin* to connect, then immediately terminate. However if I connect
from a Linux host, it connects fine. If I turn off the "Allow service
to interact with desktop", then I can connect again. Not a big deal,
but odd.

I've also tried running the sshd service as the same user currently
logged in (i.e. running the desktop). However when I do this, the sshd
service fails to start with no error message other than "service could
not be started. The service did not report an error."

-- David.

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