delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/22/16:17:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Thu, 22 Jan 2004 16:16:55 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
cc: DAVID SPEAR <dspear99ca AT yahoo DOT com>
Subject: Re: launching GUI programs via command-line ssh
In-Reply-To: <Pine.GSO.4.58.0401221224180.17483@eos>
Message-ID: <Pine.GSO.4.56.0401221557090.21894@slinky.cs.nyu.edu>
References: <loom DOT 20040122T184529-729 AT post DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 58 DOT 0401221224180 DOT 17483 AT eos>
MIME-Version: 1.0

---559023410-684387517-1074806215=:21894
Content-Type: TEXT/PLAIN; charset=US-ASCII

Actually, most of the first ten or so hits are outdated.  David, you can
simply add the "-i" (--interactive) flag to cygrunsrv when setting up sshd
(you can temporarily edit the ssh-host-config script -- line 556 for
Win2003, line 563 otherwise).  Note that this will cause a CMD window to
pop up for the sshd process (can't be avoided).

Perhaps we should add a "-i" option to ssh-host-config (using the attached
patch)?  Corinna, what do you think?
	Igor

On Thu, 22 Jan 2004, Brian Ford wrote:

> Start here:
>
> http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=interact+with+desktop+sshd+site%3Acygwin.com&btnG=Google+Search
>
> On Thu, 22 Jan 2004, DAVID SPEAR wrote:
>
> > I have been searching for a way to use "su" on my Win2K machine... from the
> > reading I've done in this group the easiest way is to run ssh and log in as
> > Administrator.  An excellent solution, and one that works for me.  I am curious
> > as to how I might launch a Windows application from my root ssh command line to
> > display within my non-priveleged-user Win2K login session.
> >
> > I guess I'm looking for the Windows equivilant of the X environment commands:
> >
> > unixhost% xhost +Administrator
> > unixhost% setenv DISPLAY localhost:0.0
> >
> > so that if I wanted to run, say, the Event Viewer as root it would display it
> > within my current logon session.

==============================================================================
ChangeLog:
2004-01-22  Igor Pechtchanski  <pechtcha AT cs DOT nyu DOT edu>

	* ssh-host-config: Add --interactive-service parameter.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton
---559023410-684387517-1074806215=:21894
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ssh-host-config_interactive.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT GSO DOT 4 DOT 56 DOT 0401221616550 DOT 21894 AT slinky DOT cs DOT nyu DOT edu>
Content-Description: 
Content-Disposition: attachment; filename="ssh-host-config_interactive.patch"

LS0tIHNzaC1ob3N0LWNvbmZpZy1vcmlnCTIwMDMtMTEtMDUgMTA6NDc6NDcu
MDAwMDAwMDAwIC0wNTAwDQorKysgc3NoLWhvc3QtY29uZmlnCTIwMDQtMDEt
MjIgMTY6MTI6MTYuMTQ4MTQ1NjAwIC0wNTAwDQpAQCAtODIsNiArODIsMTAg
QEAgZG8NCiAgICAgc2hpZnQNCiAgICAgOzsNCiANCisgIC1pIHwgLS1pbnRl
cmFjdGl2ZS1zZXJ2aWNlICkNCisgICAgaW50ZXJhY3RpdmVfZmxhZ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LWQgIkNZR1dJTiBzc2hkIiAkaW50ZXJhY3RpdmVf
ZmxhZyAtcCAvdXNyL3NiaW4vc3NoZCAtYSAtRCAtZSAiQ1lHV0lOPSR7X2N5
Z3dpbn0iDQogCXRoZW4NCiAJICBlY2hvDQogCSAgZWNobyAiVGhlIHNlcnZp
Y2UgaGFzIGJlZW4gaW5zdGFsbGVkIHVuZGVyIExvY2FsU3lzdGVtIGFjY291
bnQuIg0K


---559023410-684387517-1074806215=:21894
Content-Type: text/plain; charset=us-ascii

--
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/
---559023410-684387517-1074806215=:21894--

- Raw text -


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