public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrew Schulman <schulman.andrew@epa.gov>
To: cygwin@cygwin.com
Subject: sshd login gives "unable to load user32.dll, Win32 error 1114"
Date: Wed, 13 Sep 2017 12:35:00 -0000	[thread overview]
Message-ID: <8v8irc9gkcih4duqnd20v3islg86ed8jnd@4ax.com> (raw)

When I try to log into sshd on one of my hosts as a particular user, I get the
dreaded

      2 [main] sshd 6444 C:\cygwin64\usr\sbin\sshd.exe: *** fatal error - unable
to load user32.dll, Win32 error 1114

I looked in the archives for this problem and found one discussion[1], which
referenced a FAQ[2] about using sshd in a domain. I don't have a domain, but I
went ahead and followed the instructions there anyway: On the server host I ran
(from an administrative shell)

editrights -u cyg_server -a SeTcbPrivilege
editrights -u cyg_server -a SeCreateTokenPrivilege
editrights -u cyg-server -a SeAssignPrimaryTokenPrivilege

then stopped sshd, reran ssh-host-config, and restarted sshd. I still get the
error.

Two users are allowed to log in to sshd - call them user1 and user2. user1 isn't
a member of the Administrators group, and does have this problem. user2 is a
member of Administrators, and doesn't have this problem.

Can anyone suggest something else to try?

Thanks,
Andrew

[1] https://cygwin.com/ml/cygwin/2012-02/msg00421.html
[2] https://cygwin.com/faq/faq.html#faq.using.sshd-in-domain


--
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:[~2017-09-13 12:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-13 12:35 Andrew Schulman [this message]
2017-09-13 12:46 ` Ken Brown
2017-09-14  9:21   ` Andrew Schulman

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=8v8irc9gkcih4duqnd20v3islg86ed8jnd@4ax.com \
    --to=schulman.andrew@epa.gov \
    --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).