delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/11/00:31:57

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000611043027.60297.qmail@hotmail.com>
X-Originating-IP: [38.27.176.239]
From: "cjs 2895" <cjs2895 AT hotmail DOT com>
To: cygwin AT sourceware DOT cygnus DOT com
Subject: Background processes?
Date: Sun, 11 Jun 2000 00:30:27 EDT
Mime-Version: 1.0

Howdy all!

With the latest version of Cygwin, and some patches from Sergey
Okhapkin to use as a reference, I've managed to build a version of
the ssh 1.2.27 server for win98 that allows incoming ssh/scp for my windows 
box. Woohoo!

What I'd like to do now is change things so that I can have sshd
started at boot time and just run in the background without taking up
slots on the taskbar or system tray. I'd like to do something simular
with a port of the ntp client/server.

I foud I can use a shell script and run it as "bash /path/to/script"
to launch sshd without the "cannot find required DLL cygwin.x" error,
but 1) the console window stays open even after ssh has gone into the
background and bash has terminated and 2) after bash terminates I get
the error "Cannot fork process: permission denied" in the syslog
whenever I try to start an ssh session.

I scanned the FAQ and I -think- compiling with -Ml,windows or
something like that might allow the console window to close when bash
terminates, but I'm not sure what to do about the forking problem, or
if there is a more elegant way to start sshd then from a shell script
-- is there a way to tell it where the cygwin DLL is?

All help appreciated,
Christopher

________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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