X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4D34BD64.9050904@bopp.net> Date: Mon, 17 Jan 2011 16:06:28 -0600 From: Jeremy Bopp User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Invoking GUI programs over SSH References: <4D34B5F0 DOT 1060103 AT bopp DOT net> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigABDD5DCA2BBDD552FA5634F6" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 --------------enigABDD5DCA2BBDD552FA5634F6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/17/2011 3:46 PM, David Antliff wrote: > 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. >=20 > However, unfortunately, I still get the same error from Synplify Pro. > I wonder if it's looking for more than just GUI services? Yeah, the error message you described originally didn't sound like a problem with starting the GUI. The message really looks like it's failing to read some configuration information. Maybe there is some strange permission on an important registry setting or a file that is preventing the authenticated account from accessing the necessary information when logging in through SSH. Is it possible that Synplify Pro is attempting to access some network resource or a special dongle for verifying its registration or something similar? > 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. Someone else would have to explain that one. It's definitely odd that it only affects a Cygwin-based SSH client. Maybe there is some detail in /var/log/sshd.log. > 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." There is more than one thread about this in the list archives. The summary is that you'll most likely fail to do this right unless you're a serious expert in Cygwin, SSH, and Windows permissions. Furthermore, people are discouraged from attempting it and then asking for help making it work or undoing what they did. The solution I've seen most often is essentially "reinstall Cygwin from scratch and use ssh-host-config." It's possible that you'll find more details concerning the failure in the /var/log/sshd.log file. You can probably also examine the ssh-host-config script to see how it goes about configuring things for the account it uses by default. Have you tried contacting Synplify Pro's author/distributor to see if they have suggestions for automating its use as you're attempting? -Jeremy --------------enigABDD5DCA2BBDD552FA5634F6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk00vWYACgkQHt4KKRq6ZjcB4gCdE66R5BI7q+vvZTk09h+4VzjC 0HoAn2WNfzhdzCWhybGFgCVb+jew5aHu =nxzh -----END PGP SIGNATURE----- --------------enigABDD5DCA2BBDD552FA5634F6--