public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Kevin Layer <layer@franz.com>
To: cygwin@cygwin.com
Subject: SSH access to desktop
Date: Wed, 06 Apr 2016 20:42:00 -0000	[thread overview]
Message-ID: <32580.1459975366@freon.franz.com> (raw)

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

             reply	other threads:[~2016-04-06 20:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-06 20:42 Kevin Layer [this message]
2016-04-07  7:46 ` Nick.Battle
2016-04-07 22:12 Kevin Layer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32580.1459975366@freon.franz.com \
    --to=layer@franz.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).