delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00 |
X-Spam-Check-By: | sourceware.org |
X-Yahoo-SMTP: | Uu383n6swBCEN1G9up0WSnxbvN8fCPmk |
Message-ID: | <4C2BB29D.1070807@cygwin.com> |
Date: | Wed, 30 Jun 2010 17:09:49 -0400 |
From: | "Larry Hall \(Cygwin\)" <reply-to-list-only-lh AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Windows GUI programs (e.g. notepad) start but are invisible after ssh login |
References: | <20100630205337 DOT 9897BE435FA AT f11 DOT poczta DOT interia DOT pl> |
In-Reply-To: | <20100630205337.9897BE435FA@f11.poczta.interia.pl> |
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 |
On 6/30/2010 4:53 PM, Koszalek Opalek wrote: > This is what I do: > > 1) Start sshd > cygrunsrv -S sshd > > 2) Login over ssh > ssh ko AT localhost > > 3) Start a Windows application (notepad, calc, whatever). > > The application starts (it is listed in the Process > Explorer), however its windows are invisible. > > How do I change this behavior and display the application? > I (obviously) do not want to export the window to another > $DISPLAY in the X11 fashion. I just want the app to be > visible on the machine where sshd is running. The short answer? You can't or at least you shouldn't. The longer answer is MS doesn't want to allow this functionality and has disabled the ability to access a desktop from a service as of Vista. If you're running XP, you may find that you can get this to work by using the '-i' flag on 'cygrunsrv' when you install the 'sshd' service. Or you can call up the adminstrator tools, find the sshd service, and enable desktop interaction there. This should work, though there have been some reports of difficulty on this list even for XP. It's not clear why but given the fact that MS is removing support for this anyway, the best way to get a reliable way to do this is to lobby MS for some support. ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |