delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/15/10:23:54

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 15 Jun 2011 16:22:55 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: OpenSSH: 5791 [main] sshd 9288! spawn_guts: CreateDesktop failed, Win32 error 8
Message-ID: <20110615142255.GS12140@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <19631_1281536083_4C62B053_19631_315151_1_OF4E2075CD DOT 580ADDE0-ONC125777C DOT 004DC1DE-C125777C DOT 004E3F14 AT nbg DOT sdv DOT spb DOT de> <31851823 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <31851823.post@talk.nabble.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019