delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/17/11:31:05

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: How to run X Session from RH8 via ssh -X? How to run vnc via ssh?
Date: Fri, 17 Mar 2006 16:30:48 -0000
Message-ID: <00b601c649e0$25b3a530$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
In-Reply-To: <a5f030530603170819y24fb917fn2b155d81f1f4b817@mail.gmail.com>
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

On 17 March 2006 16:19, Brett Serkez wrote:

> <snip>
>> However, I cannot seem to start an X session from my "ssh  -X -p 892
>> Administrator AT 209 DOT 22 DOT 31 DOT 134" session.
> <snip>
> 
> I have previously reported this behavior, and not seen a fix, it used to
> work. 
> 
> The problem is running xauth under the covers hangs.
> 
> If you add -v -v -v to your line above, you'll see it hang like:
> 
> debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
> /tmp/ssh-c96kVgf686/xauthfile generate 127.0.0.1:0.0
> MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
> 
> If you remove the X forwarding switch (i.e., not use -X) you should be
> able to login.
> 
> If you kill the X server and/or kill the hung xauth process, an
> 'empty' ssh Window (non-X) will appear, indicating to me that for some
> reason, xauth is looking for input from the console vs. stdin.

  What makes you think so?  Maybe it's trying to generate some standard
output, since that line only redirects stderr.  Maybe it's the server not
sending a reply, and it's not hung, nor waiting for input, just waiting for
the timeout to occur - 1200 seconds is twenty minutes, are you sure you waited
that long?

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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