delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=Mpb+lTwP6hHGi26Sh7tr0yFkaA/D0XknJqV+3OJe+D8ALJYBtYPAL | |
IMHUBHSj+0y5HoL8iFbrefCeQ4fjABtTGDb10IAD41NNGGHWLlffCiKES6MGIIsO | |
B9p04LRInPRaMzHcIxa7pGDoiWgr3kFVXYMpWWiAeX2J/D9C4cgX4s= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=Pc80Y6hLmZj/7Lzvsj55Cf8bBXE=; b=el1MZsC7FmaJQYQD/vEobOCt42OS | |
9iAr7rndDonM/vJohE1ANxmQw2o0VWspIlFTYlxAekmABMinIG2sDDULm0RKhRq5 | |
LHvnD7MxZqipKQwiJwuM0XrfGFsTm4OLiWU7z7N49C35EnM+ksgxEx5uED6CymDF | |
irKhq5eHu3L1Jvw= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 |
X-HELO: | calimero.vinschen.de |
Date: | Wed, 17 Jun 2015 16:15:36 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Unable to run excel via cron |
Message-ID: | <20150617141536.GL31537@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <883F2CBBC85A62419E181EB2F0ECF21F45DE3905 AT US70UWXCHMBA04 DOT zam DOT alcatel-lucent DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <883F2CBBC85A62419E181EB2F0ECF21F45DE3905@US70UWXCHMBA04.zam.alcatel-lucent.com> |
User-Agent: | Mutt/1.5.23 (2014-03-12) |
--tauoZ0QFNrdllat7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jun 17 13:29, Kertz, Denis (D)** CTR ** wrote: > Unfortunately, using the 64-bit wscript.exe didn't change anything - same= behavior as before with excel hanging. >=20 > We are using 64-bit cygwin and 32-bit Excel (Excel 2007). The problem is probably related to some of the changes between XP and W7. On XP, the desktop runs in session 0, just like the services. With UAC since Vista, the desktop runs in session 1, while the services continue to run in session 0. Therefore services are not allowed to connect to the desktop anymore since Vista. UAC itself, as well as a feature since Windows 2003 (permissions of LocalSystem) may come into play here as well. Are you running cron under the cyg_server account on W7 (hopefully)? Two possible solutions come to mind: - Either there is no solution. The reason might be that Excel is expecting a GUI it can't connect to. - Or it's about the user token after switching the user context. I assume you're running Excel from cron as some other user account than cyg_server. Please read https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview and try https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-nopasswd3 Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --tauoZ0QFNrdllat7 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVgYEIAAoJEPU2Bp2uRE+gL1oP/1g0905F9ybYkF83TxhvFCux GT8F+ijKGkKE1D2pddAFIJJ3j7StMbAuk8MQKMMvodotQgUMRwzT1zQQeRe2Xr1H /pm6m+MbiaDbryrxLmjtUHkS4X0C5W6dmdRbjJSQPM4I0Rucp347sf7xoxgzMknw LHEvY/MCsumV74DELuvThj5LymvYigwftfSsDF+bDiqqmAegj7BlCDZI8fBgfrKn +kTLxpsDSLUIlrjUwT/bUTBDCMG3bvMeI1xWgMzMqIfIUFvsYFcoAKBtj1fuhLvn i3noST7y9vWpBvNafnNai3UfZ08/ZgmJJWzGbqpuoC2TDQL+PSDE9S35/PkADCFB wjAfQJXjM+EWnVxZv7CvDUp0p65cr2NFt2jfY6HEwq1V8mrrDwJzJpfKzWWDEGTH ppXb4EVwb3X/9d6anVHxgfa3rhM57WwrHeE+BQLc3qSWIJ1254Hu4y0oNAUY1Dxs oPQ1UwrEL+5JIKwsIS3JB/C8qTsIsSRm/1Si6DqucKvotthQKmv6Ky8dPZHLQBbe JsDS4qCpy3yR0cp7LQyHT5uMNnogPUD5jBBlTMZwU9yomXODbT/eVkt9YtLtN3cy GadRJEntTYSDL8NuXczz2EyIcCw0rQBil4YUzpa2YyKIqbVhrsiz5dRrLWRWd56O uAwjMW7ZEMbftJbZ3uPL =kRn+ -----END PGP SIGNATURE----- --tauoZ0QFNrdllat7--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |