public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: cygwin-xfree@cemery.org.uk
Subject: Re: Cannot launch ssh from X11 system tray icon
Date: Thu, 29 Mar 2012 11:39:00 -0000	[thread overview]
Message-ID: <4F744A05.20808@dronecode.org.uk> (raw)
In-Reply-To: <CAD30TsvvTh1DdjZRZRuRPwR=WSMs+j2RVRcjw0tPaBWx0hYL5g@mail.gmail.com>

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/


  parent reply	other threads:[~2012-03-29 11:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-23 17:57 Craig
2012-03-28 10:10 ` Craig
2012-03-28 18:14   ` Dirk Fassbender
2012-03-28 22:01     ` Craig
2012-03-29 11:39 ` Jon TURNEY [this message]
2012-04-02  8:32   ` Craig
2012-04-04 21:16     ` Craig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F744A05.20808@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=cygwin-xfree@cemery.org.uk \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).