X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id; q=dns; s=
	default; b=aLNPxsmTYElEvWvkQN53RzMagweZ6XCLBgFrYqIOPZW+AVr45XXjz
	npI7PVIaesdYGQQ+H3pWM3KqNRYPaNGxaoXA6soE4sit9VSmNMWIuemwMjp1jxGH
	fAaAIJnXnVe2J6Ur5T2TGcJ7Wd/OplH8jcBmfqHyEzSNyzZTi4G68c=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:to:subject:date:message-id; s=default;
	 bh=hZFNYtHJOod20yoCaaWi4wODc3s=; b=xVAJpbRKFjscKDeHl4txb0j22464
	7sbtEERLECfIGE4fbuumMhKoLOZObCVYi8ODtSFluyUjMRhSrcyBIsR+URJZ9Upi
	UWBycl4XQvdii59Qy6tQhEFlrg0LxiJlJVLkebVivH6GhiyIoPxlOOwoGbtL/mjL
	qZRTHUmJWvU3CwQ=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_20,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Window, cygwin64, Administrators, Administrator
X-HELO: freon.franz.com
From: Kevin Layer <layer@franz.com>
To: cygwin@cygwin.com
Subject: SSH access to desktop
Date: Wed, 06 Apr 2016 13:42:46 -0700
Message-ID: <32580.1459975366@freon.franz.com>
X-IsSubscribed: yes

I need to be able to SSH into a Windows machine with Cygwin installed
and be able to run Windows programs and see the Windows they create.
That is, when I run "notepad" I need to see the Window it creates.
And, I need multiple users to be able to do this.

In the past, I did this by having each user put an item in their
Startup folder that did:

   C:\cygwin64\usr\sbin\sshd.exe -p 8100

where the port, 8100 in this case, is different for each user.

The snag now seems to be:

$ /usr/sbin/sshd.exe -p 8100
/var/empty must be owned by root and not group or world-writable.
$ ls -l /var
total 4
drwxr-xr-x+ 1 layer          Domain Users   0 Mar 16 10:13 cache/
drwxr-x--x+ 1 Administrator  Administrators 0 Mar 16 10:08 empty/
drwxr-xr-x+ 1 layer          Domain Users   0 Mar 16 10:06 lib/
drwxrwxrwt+ 1 Administrators Administrators 0 Mar 16 15:08 log/
drwxrwxrwt+ 1 Administrators Administrators 0 Mar 16 10:51 run/
drwxrwxrwt+ 1 layer          Domain Users   0 Apr  2 00:42 tmp/
$


The "in the past" is on an older version of Cygwin that hasn't been
updated in a while.  The new machine, where this is not working, is
pretty up to date.

Ideas?
Thanks.

Kevin

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

