public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Dirk Fassbender <dirk.fassbender@arcor.de>
To: cygwin-xfree@cygwin.com
Subject: Re: Cannot launch ssh from X11 system tray icon
Date: Wed, 28 Mar 2012 18:14:00 -0000	[thread overview]
Message-ID: <4F7354FC.3080401@arcor.de> (raw)
In-Reply-To: <CAD30TstjyEjekUZ-q=vCX38fNuyNNRi4ZSH1uw4hzGtYmL3Z+Q@mail.gmail.com>

Am 28.03.2012 12:10, schrieb Craig:
> I don't suppose anyone has any thoughts on this?
> It's rendered Cygwin X11 unusable. :-(
> Can any further diagnostics be enabled?
>
> On 23 March 2012 17:56, Craig wrote:
>> I have two machines, a desktop and a laptop.
>> Both are 64bit Windows 7 Enterprise installations.
>>
>> I (think I) configured Cygwin on both the same and they have the same
>> identical ~/.XWinrc file.
>> They both use the same mirror for installing and are both fully up to date.
>>
>> A précis of my .XWinrc looks like this:
>>
>> menu root {
>> // Comments fit here, too...
>> "Xterm" exec "xterm"
>> "Xterm - Vulpix" exec "ssh vulpix xterm -e bash --login"
>> }
>>
>> And on the desktop both work and on the laptop only the local xterm will run.
>> Nothing appers in /var/log/<anything>
>>
>> So I added an entry like this:
>>
>> "Experiment" exec ~/experiment
>>
>> and ~/experiment looks like this
>>
>> #!/bin/bash
>> (
>> set -x
>> ssh -v vulpix xterm
>> )>  /tmp/experiment 2>&1
>>
>> It still fails (i.e. does nothing) and /tmp/experiment has
>>
>>
>> So can anyone tell me why I get the select / waitForMultipleObjects error?
>>
>> If I'm in the xterm I *can* run, I have zero problems running
>>
>> $ ssh vulpix xterm -e bash --login
>
Hello Craig,

you have to use X11 Forwarding. Try

menu root {
// Comments fit here, too...
"Xterm" exec "xterm"
"Xterm - Vulpix" exec "ssh -Y vulpix xterm -e bash --login"
}

or

menu root {
// Comments fit here, too...
"Xterm" exec "xterm"
"Xterm - Vulpix" exec "ssh -X vulpix xterm -e bash --login"
}

Dirk



--
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/


  reply	other threads:[~2012-03-28 18:14 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 [this message]
2012-03-28 22:01     ` Craig
2012-03-29 11:39 ` Jon TURNEY
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=4F7354FC.3080401@arcor.de \
    --to=dirk.fassbender@arcor.de \
    --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).