From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27624 invoked by alias); 6 Apr 2016 20:42:51 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 27597 invoked by uid 89); 6 Apr 2016 20:42:50 -0000 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 Received: from freon.franz.com (HELO freon.franz.com) (67.207.112.90) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 06 Apr 2016 20:42:49 +0000 Received: from freon.franz.com (localhost [127.0.0.1]) by freon.franz.com (Allegro Maild v1.3.7) id 000001295443; Wed, 6 Apr 2016 13:42:46 -0700 From: Kevin Layer To: cygwin@cygwin.com Subject: SSH access to desktop Date: Wed, 06 Apr 2016 20:42:00 -0000 Message-ID: <32580.1459975366@freon.franz.com> X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00129.txt.bz2 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