X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org From: "Uzzell, Stephan" To: "cygwin AT cygwin DOT com" Subject: child_info_spawn::worker: CreateWindowStation failed,in32 error 5 Date: Thu, 9 Aug 2012 17:55:54 +0000 Message-ID: Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q79HuIPj000909 Hi all, I'm struggling with a Cygwin / SSH connection issue, and I'm hoping someone can provide some insight. I'm fairly new to both Cygwin and SSH, so I may well be missing something obvious. I've installed Cygwin and configured SSH (using a domain cyg_server account), and I am able to connect. If I connect using the cyg_server account, everything works as expected: $ ssh -l cyg_server MAMMDMDB01 'date' cyg_server AT mammdmdb01's password: Thu Aug  9 13:45:41 EDT 2012 If however I attempt another domain account, the connection goes through, but I get the above error: $ ssh -l oinstall MAMMDMDB01 'date' oinstall AT mammdmdb01's password:       0 [main] sshd 4564 child_info_spawn::worker: CreateWindowStation failed, Win32 error 5 Thu Aug  9 13:49:29 EDT 2012 Both accounts have the same windows permissions: C:\cygwin\bin>editrights.exe -l -u oinstall SeTcbPrivilege SeCreateTokenPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege SeServiceLogonRight SeBatchLogonRight C:\cygwin\bin>editrights.exe -l -u cyg_server SeTcbPrivilege SeIncreaseQuotaPrivilege SeCreateTokenPrivilege SeAssignPrimaryTokenPrivilege SeServiceLogonRight SeBatchLogonRight I added both to the /etc/passwd file using /bin/mkpasswd, both accounts have /home/ directories. Advice? Thoughts? Thanks! stephan Stephan Uzzell -- 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