This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: launching GUI programs via command-line ssh

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?

On Thu, 22 Jan 2004, Brian Ford wrote:

> Start here:
> 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.

2004-01-22  Igor Pechtchanski  <>

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

      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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

Attachment: ssh-host-config_interactive.patch
Description: Text document

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]