delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/30/01:50:49

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
Date: Thu, 30 Jun 2005 01:50:12 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Jason Pyeron <jpyeron AT pdinc DOT us>
cc: cygwin AT cygwin DOT com
Subject: Re: ssh -nN or console less cygwin apps?
In-Reply-To: <Pine.LNX.4.62.0506300115400.19156@ns.pyerotechnics.com>
Message-ID: <Pine.GSO.4.61.0506300147370.15060@slinky.cs.nyu.edu>
References: <Pine DOT LNX DOT 4 DOT 62 DOT 0506300115400 DOT 19156 AT ns DOT pyerotechnics DOT com>
MIME-Version: 1.0

On Thu, 30 Jun 2005, Jason Pyeron wrote:

> ssh domain.com -L 5901:localhost:5900 -nN
>
> man ssh reports
>
>  -N      Do not execute a remote command.
>  -n      Redirects stdin from /dev/null
>
> but I will still get a console window open, but what if you dont want it?
> (also with xemacs)
>
> how can a cygwin app be run without a console window opening?

c:\cygwin\usr\X11R6\bin\run.exe ssh domain.com -L 5901:localhost:5900 -nN

or

c:\cygwin\bin\setsid.exe ssh domain.com -L 5901:localhost:5900 -nN

should both work.
HTH,
	Igor
-- 
				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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

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