public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Craig <cygwin-xfree@cemery.org.uk>
To: cygwin-xfree <cygwin-xfree@cygwin.com>
Subject: Re: Cannot launch ssh from X11 system tray icon
Date: Mon, 02 Apr 2012 08:32:00 -0000 [thread overview]
Message-ID: <CAD30Tsva=_7LvxQ0Fu0nZqDP-zCwT=EohUFLsNURjwsegHnFRw@mail.gmail.com> (raw)
In-Reply-To: <4F744A05.20808@dronecode.org.uk>
On 29 March 2012 12:39, Jon TURNEY wrote:
> 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
Hi Jon,
Thanks for getting back to me.
So I can run this from the run box:
C:\cygwin\bin\run bash -c "export DISPLAY=:0.0 ; /bin/ssh vulpix xterm"
And I get an xterm.
I have my XWin Server pinned to my start bar and so I made a shortcut
with the above in it and pinned it to my start bar and the thing runs
fine.
Both use "run".
I'm thinking it's to do with Windows permissions.
Does The XWin Server do a process group change or something?
Craig
--
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/
next prev parent reply other threads:[~2012-04-02 8:32 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
2012-04-02 8:32 ` Craig [this message]
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='CAD30Tsva=_7LvxQ0Fu0nZqDP-zCwT=EohUFLsNURjwsegHnFRw@mail.gmail.com' \
--to=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).