delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/06/16:43:07

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
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 AT franz DOT com>
To: cygwin AT cygwin DOT 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

- Raw text -


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