delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/15/11:23:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <471385E6.7080906@free.fr>
Date: Mon, 15 Oct 2007 17:23:18 +0200
From: cuicui <cuicui DOT oizo AT free DOT fr>
User-Agent: Thunderbird 2.0.0.6 (X11/20070728)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to remotely log in and execute a *GUI* program
References: <13191124 DOT post AT talk DOT nabble DOT com> <13192157 DOT post AT talk DOT nabble DOT com> <20071013182220 DOT GB8632 AT suncomp1 DOT spk DOT agilent DOT com> <183c528b0710150618n4059118ehc8291cf6f379b144 AT mail DOT gmail DOT com> <47137B31 DOT 20002 AT free DOT fr> <47137D48 DOT 5000302 AT cygwin DOT com>
In-Reply-To: <47137D48.5000302@cygwin.com>
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) a écrit :

>> I'm recycling this thread to ask a similar question. Let's say that
>> i have a windows box with sshd servicable on it.
>> 
>> A can remotely launch command on the win box with ssh (ssh 
>> user AT host DOT domain DOT com "command args"). But what if the "command" is
>>  supposed to be a graphical program (in my case a popup created
>> with AutoIt that display a message)?
>> 
>> "command" is launched and running but nothing is displayed on the 
>> screen, the gui application is just running in background.
>> 
>> Is there any way to make this program displaying on the current 
>> windows session? Note: in my case the ssh user is admin and the 
>> session user is user-only.
>> 
>> Any help?
> 
> 
> Reinstall 'sshd' specifying the '-i' flag to 'cygrunsrv' or edit the 
> current service under "Administrative Tools"->"Services" and check 
> "Allow service to interact with desktop" in the "Log On" tab of the 
> service's "Properties".  Please note that this will display the
> program on the server, not the client.

Yes, displaying on the server is the goal.

> Running X programs doesn't require this dance, though I assume you
> were referring to Windows apps.

Yes, this is a windows app completely independant of Cygwin.

Anyway, your trick is working like a charm, thanks a lot!

Nicolas

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019