public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* OpenSSH:   5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
@ 2010-08-11 14:14 Carsten.Porzler
  2010-08-11 15:54 ` Larry Hall (Cygwin)
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Carsten.Porzler @ 2010-08-11 14:14 UTC (permalink / raw)
  To: cygwin

Dear Cygwin community,

unfortunately we got on some of our Windows 2003 servers this error 
message while logging on by using OpenSSH

   5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8

This error message occurs after the server has been rebooted.

If log on once at the Windows console as a user with local admin 
privileges, also the SSH logon works again.

We are using Cygwin CYGWIN_NT-5.2 d20of001 1.7.0(0.200/5/3) 2009-02-20 
17:20 i686 Cygwin and OpenSSH 5.1.

Does anybody know the reason for this failure?

Thanks a lot in advance and best regards

Carsten Porzler


--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OpenSSH:   5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
  2010-08-11 14:14 OpenSSH: 5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8 Carsten.Porzler
@ 2010-08-11 15:54 ` Larry Hall (Cygwin)
  2010-08-12 10:08 ` Corinna Vinschen
  2011-06-15 14:11 ` roadworrier
  2 siblings, 0 replies; 5+ messages in thread
From: Larry Hall (Cygwin) @ 2010-08-11 15:54 UTC (permalink / raw)
  To: cygwin

On 8/11/2010 10:14 AM, Carsten.Porzler@spb.de wrote:
> Dear Cygwin community,
>
> unfortunately we got on some of our Windows 2003 servers this error
> message while logging on by using OpenSSH
>
>     5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
>
> This error message occurs after the server has been rebooted.
>
> If log on once at the Windows console as a user with local admin
> privileges, also the SSH logon works again.
>
> We are using Cygwin CYGWIN_NT-5.2 d20of001 1.7.0(0.200/5/3) 2009-02-20
> 17:20 i686 Cygwin and OpenSSH 5.1.
>
> Does anybody know the reason for this failure?

It's really not clear to me from the above whether you're dealing with
domain users in the failing case but if so, please read the following
FAQ:

<http://cygwin.com/faq/faq-nochunks.html#faq.using.sshd-in-domain>

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OpenSSH:   5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
  2010-08-11 14:14 OpenSSH: 5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8 Carsten.Porzler
  2010-08-11 15:54 ` Larry Hall (Cygwin)
@ 2010-08-12 10:08 ` Corinna Vinschen
  2011-06-15 14:11 ` roadworrier
  2 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2010-08-12 10:08 UTC (permalink / raw)
  To: cygwin

On Aug 11 16:14, Carsten.Porzler@spb.de wrote:
> Dear Cygwin community,
> 
> unfortunately we got on some of our Windows 2003 servers this error 
> message while logging on by using OpenSSH
> 
>    5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8

  bash$ net helpmsg 8

  Not enough storage is available to process this command.

This is a good hint.  I didn't see this for quite some time.  I can't
tell you why that occurs in your case, but not generally.  But there's a
potential workaround: http://support.microsoft.com/kb/126962


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OpenSSH:   5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
  2010-08-11 14:14 OpenSSH: 5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8 Carsten.Porzler
  2010-08-11 15:54 ` Larry Hall (Cygwin)
  2010-08-12 10:08 ` Corinna Vinschen
@ 2011-06-15 14:11 ` roadworrier
  2011-06-15 14:23   ` Corinna Vinschen
  2 siblings, 1 reply; 5+ messages in thread
From: roadworrier @ 2011-06-15 14:11 UTC (permalink / raw)
  To: cygwin


I saw this problem "spawn_guts: CreateDesktop failed, Win32 error 8" listed
in many Google results with some suggestions but without any conclusive
solutions. 

My 2003 Server has 16gb of RAM, and only about 10gb were in use, so the
issue wasn't a lack of RAM. However, I went and quit some programs that use
many USER and GDI objects (Photoshop, Illustrator, TOAD (and Parallels for
good measure)) and then I was able to ssh in to my server without making any
changes to cygwin configuration, and without restarting sshd or anything.

- Stefan



Carsten.Porzler wrote:
> 
> Dear Cygwin community,
> 
> unfortunately we got on some of our Windows 2003 servers this error 
> message while logging on by using OpenSSH
> 
>    5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
> 
> This error message occurs after the server has been rebooted.
> 
> If log on once at the Windows console as a user with local admin 
> privileges, also the SSH logon works again.
> 
> We are using Cygwin CYGWIN_NT-5.2 d20of001 1.7.0(0.200/5/3) 2009-02-20 
> 17:20 i686 Cygwin and OpenSSH 5.1.
> 
> Does anybody know the reason for this failure?
> 
> Thanks a lot in advance and best regards
> 
> Carsten Porzler
> 
> 
> --
> 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
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/OpenSSH%3A---5791--main--sshd-9288%21-spawn_guts%3A-CreateDesktop-failed%2C-Win32-error-8-tp29408759p31851823.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OpenSSH:   5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
  2011-06-15 14:11 ` roadworrier
@ 2011-06-15 14:23   ` Corinna Vinschen
  0 siblings, 0 replies; 5+ messages in thread
From: Corinna Vinschen @ 2011-06-15 14:23 UTC (permalink / raw)
  To: cygwin

On Jun 15 07:11, roadworrier wrote:
> 
> I saw this problem "spawn_guts: CreateDesktop failed, Win32 error 8" listed
> in many Google results with some suggestions but without any conclusive
> solutions. 
> 
> My 2003 Server has 16gb of RAM, and only about 10gb were in use, so the
> issue wasn't a lack of RAM. However, I went and quit some programs that use
> many USER and GDI objects (Photoshop, Illustrator, TOAD (and Parallels for
> good measure)) and then I was able to ssh in to my server without making any
> changes to cygwin configuration, and without restarting sshd or anything.
> 
> - Stefan
> 
> 
> 
> Carsten.Porzler wrote:
> > 
> > Dear Cygwin community,
> > 
> > unfortunately we got on some of our Windows 2003 servers this error 
> > message while logging on by using OpenSSH
> > 
> >    5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
> > 
> > This error message occurs after the server has been rebooted.
> > 
> > If log on once at the Windows console as a user with local admin 
> > privileges, also the SSH logon works again.
> > 
> > We are using Cygwin CYGWIN_NT-5.2 d20of001 1.7.0(0.200/5/3) 2009-02-20 
> > 17:20 i686 Cygwin and OpenSSH 5.1.
> > 
> > Does anybody know the reason for this failure?

That's probably related to the maximum size of the system heap.  Have a
look into the "Remarks" section in the MSDN man page of CreateDesktop: 

http://msdn.microsoft.com/en-us/library/ms682124%28VS.85%29.aspx

It explains the registry setting which can be changed to raise the
system heap size.  For services the third value of the SharedSection
option is relevant.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-06-15 14:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11 14:14 OpenSSH: 5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8 Carsten.Porzler
2010-08-11 15:54 ` Larry Hall (Cygwin)
2010-08-12 10:08 ` Corinna Vinschen
2011-06-15 14:11 ` roadworrier
2011-06-15 14:23   ` Corinna Vinschen

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).