X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=BAYES_00
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4C2E0A39.2090902@cygwin.com>
Date: Fri, 02 Jul 2010 11:48:09 -0400
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh@cygwin.com>
Reply-To: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Windows GUI programs (e.g. notepad) start but are invisible after ssh login
References: <20100702065048.1F9E2302846@f56.poczta.interia.pl>
In-Reply-To: <20100702065048.1F9E2302846@f56.poczta.interia.pl>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 7/2/2010 2:50 AM, Koszalek Opalek wrote:
> User "Thorsten Kampe"  wrote:
>> Same on Windows XP SP3...
>
> Is it possible to run sshd as a regular process rather
> than a service?
>
> I'm OK not seeing the GUI most of the time (I'm launching
> my application after logging over ssh, the application does
> some processing and then quits). However, if something goes
> wrong I would be happy to stop sshd service, launch sshd
> as a regular process, rerun the application and _see_ what
> goes wrong.

You can run it as yourself in a terminal if you prefer.
You cannot switch back and forth between running it as a
service and running it in a terminal unless you run it as
yourself in both circumstances.  'sshd' will not be able
to switch user context unless you add privileges for your
account, which adds to security concerns.  FWIW, I have
not tried doing this so there may be other bumps along
the way.  And this is not a method of operation supported
by this list.  But if you're game, give it a shot.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

