This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: New windows from cygwin in ssh
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Pavel Ivanoff <Pavel dot Ivanoff at cbossgroup dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 27 Sep 2006 08:58:40 -0400 (EDT)
- Subject: RE: New windows from cygwin in ssh
- References: <A8427120F16F674DACE8EF1128D9365F0102A5DB@MAILSRV3.int.cboss.ru>
- Reply-to: cygwin at cygwin dot com
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
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
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/