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: <4D34B5F0 DOT 1060103 AT bopp DOT net> Date: Tue, 18 Jan 2011 10:46:17 +1300 Message-ID: Subject: Re: Invoking GUI programs over SSH From: David Antliff To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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