delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/01/04:16:33

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Thorsten Kampe <thorsten AT thorstenkampe DOT de>
Subject: Re: Windows GUI programs (e.g. notepad) start but are invisible after ssh login
Date: Thu, 1 Jul 2010 10:15:47 +0200
Lines: 48
Message-ID: <i0his8$p3f$2@dough.gmane.org>
References: <20100630205337 DOT 9897BE435FA AT f11 DOT poczta DOT interia DOT pl> <4C2BB29D DOT 1070807 AT cygwin DOT com>
Mime-Version: 1.0
User-Agent: MicroPlanet-Gravity/2.9.15
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

* Larry Hall (Cygwin) (Wed, 30 Jun 2010 17:09:49 -0400)
> 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.

Sorry, that's nonsense. The option is there in Vista, Windows 2008, 
Windows 7 and Windows 2008 R2.

> 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. ;-)

Microsoft has not removed support for it (but may in future releases). 
The only thing that has changed is the way the desktop interactive 
application is displayed. This is all pretty well documented here:

"Users may choose to:
* Respond to the dialog box immediately by clicking a button to switch 
to Session 0, interact with the task dialog box, and then return to 
their session.
* Be reminded again in 5 minutes. They continue to be reminded until the 
dialog box closes."

This is all pretty well documented here: 
http://www.microsoft.com/whdc/system/sysinternals/session0changes.mspx


Thorsten


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