delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/09/21:12:49

X-Spam-Check-By: sourceware.org
Message-Id: <1136859159.28406.251468586@webmail.messagingengine.com>
From: "Brett Serkez" <techie AT serkez DOT net>
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
References: <1136853906 DOT 20233 DOT 251462872 AT webmail DOT messagingengine DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0601092014460 DOT 29429 AT slinky DOT cs DOT nyu DOT edu> <1136856632 DOT 24541 DOT 251466635 AT webmail DOT messagingengine DOT com> <Pine DOT GSO DOT 4 DOT 63 DOT 0601092040390 DOT 29429 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: ZoneAlarm Suite popen hang
In-Reply-To: <Pine.GSO.4.63.0601092040390.29429@slinky.cs.nyu.edu>
Date: Mon, 09 Jan 2006 21:12:39 -0500
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

[snip]
> Well, if you can find where ssh is invoked, you can also give it the
> "-n" parameter, which would result in equivalent functionality.

I don't want to confuse anybody, the command in question is being run
internally by ssh to setup an X authorization cookie to pass over the
the xterm on the remote system.  I did try -n to no avail.

ssh -vvv -n -X target
OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005
Pseudo-terminal will not be allocated because stdin is not a terminal.
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.0.100 [192.168.0.100] port 22.
debug1: Connection established.

...snip...

debug1: Authentication succeeded (password).
debug2: fd 4 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
/tmp/ssh-1X7a4Jwi47/xauthfile generate 127.0.0.1:0.0 MIT-MAGIC-COOKIE-1
untrusted timeout 1200 2>/dev/null

The message I referenced earlier goes into some depth about
x11_get_proto and how the xauth command above is being run:

http://www.cygwin.com/ml/cygwin/2004-11/msg00626.html

Perhaps popen is using a socket or named pipe????

I do appreciate the suggestions so far.  I just don't yet understand
how the installation and deinstallation of ZoneAlarm is effecting
this behavior.

Brett
----------------------------------------------------------------
Brett C. Serkez, Techie



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019