delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/27/09:10:17

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: New windows from cygwin in ssh
Date: Wed, 27 Sep 2006 17:09:54 +0400
Message-ID: <A8427120F16F674DACE8EF1128D9365F0102A619@MAILSRV3.int.cboss.ru>
From: "Pavel Ivanoff" <Pavel DOT Ivanoff AT cbossgroup DOT com>
To: <cygwin AT cygwin DOT com>
X-SpamTest-Version: SMTP-Filter Version 2.0.0 [0124], KAS/Release
X-Spamtest-Info: Pass through
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k8RDAD0l014782

> I'm afraid so.  It's unclear why Windows imposes this 
> restriction, but if
> your sshd is running as a non-SYSTEM user, it can't interact with the
> desktop.  I was going to suggest using "cygstart", but even that
> apparently doesn't work as-is.  It probably can be patched up 
> to obtain
> the current window station and ask the shell to execute the 
> program there,
> but <http://cygwin.com/acronyms/#SHTDI>.

But in combination cygwin of 01.03.2005 + Windows 2000 this feature
works as intended. What is it: new security prohibition of Windows XP or
new feature of last version of cygwin?
I know that there are many security features added in new sshd (that I
had to recognize when reinstalled cygwin). This is another one that
can't be solved to work as it was?
 
Pavel Ivanov


> -----Original Message-----
> From: Igor Peshansky
> Sent: Wednesday, September 27, 2006 4:59 PM
> To: Pavel Ivanoff
> Subject: RE: New windows from cygwin in ssh
> 
> Ugh, top-posting...  Reformatted.
> 
> On Wed, 27 Sep 2006, Pavel Ivanoff wrote:
> 
> > > -----Original Message-----
> > > From: Igor Peshansky
> > > Sent: Tuesday, September 26, 2006 4:27 PM
> > > To: Pavel Ivanoff
> > > Subject: RE: New windows from cygwin in ssh
> > >
> > > You weren't clear on exactly what you want to happen.  If 
> you wish to
> > > see the window pop up on the remote machine's desktop, 
> you need to add
> > > the "Allow service to interact with desktop" checkmark in the sshd
> > > service description (or, alternatively, install it with the '-i'
> > > cygrunsrv flag).
> > >
> > > If you want the window to be forwarded over to the local machine
> > > (i.e., the one you're ssh'ing from), that is not 
> currently possible
> > > with Windows.  One thing you can try is use a tool like 
> VNC (which you
> > > can forward over ssh, too).
> >
> > As I understand "Allow service to interact with desktop" is 
> exactly what
> > I want. But this checkbox is active only when service los 
> on as SYSTEM
> > but my sshd logs on as me. And installing the service with 
> '-i' option
> > said to me the same: "cygrunsrv: --interactive not allowed 
> with --user".
> > Is there any solution to this problem? Or I must run 
> service as SYSTEM
> > to have this functions usable?
> 
> I'm afraid so.  It's unclear why Windows imposes this 
> restriction, but if
> your sshd is running as a non-SYSTEM user, it can't interact with the
> desktop.  I was going to suggest using "cygstart", but even that
> apparently doesn't work as-is.  It probably can be patched up 
> to obtain
> the current window station and ask the shell to execute the 
> program there,
> but <http://cygwin.com/acronyms/#SHTDI>.
> 	Igor
> -- 

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