From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13845 invoked by alias); 29 Mar 2012 11:39:55 -0000 Received: (qmail 13836 invoked by uid 22791); 29 Mar 2012 11:39:54 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 29 Mar 2012 11:39:41 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.1.106]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 29 Mar 2012 12:39:40 +0100 Message-ID: <4F744A05.20808@dronecode.org.uk> Date: Thu, 29 Mar 2012 11:39:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: cygwin-xfree@cemery.org.uk Subject: Re: Cannot launch ssh from X11 system tray icon References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com X-SW-Source: 2012-03/txt/msg00075.txt.bz2 On 23/03/2012 17:56, Craig wrote: > debug1: Sending command: xterm > 0 [main] ssh 2184 select_stuff::wait: WaitForMultipleObjects failed > debug1: channel 0: free: client-session, nchannels 1 > select: Permission denied > > So can anyone tell me why I get the select / waitForMultipleObjects error? This error is coming from inside the select() emulation in the cygwin DLL itself. I've no idea why this is failing, and apparently only when an ancestor is the X server. You might want to ask about this on the main cygwin list, it might get the attention of someone with more insight. One thing to consider trying is that it might be something to do with the environment inherited by processes started directly from the start menu, rather than something specific to the X server, i.e. try starting your test script directly from a start menu shortcut in a similar way to the X server is started... -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/