From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77964 invoked by alias); 23 Mar 2015 21:06:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 77950 invoked by uid 89); 23 Mar 2015 21:06:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: out3-smtp.messagingengine.com Received: from out3-smtp.messagingengine.com (HELO out3-smtp.messagingengine.com) (66.111.4.27) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 23 Mar 2015 21:06:21 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 723DE207EC for ; Mon, 23 Mar 2015 17:06:17 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Mon, 23 Mar 2015 17:06:20 -0400 Received: from [192.168.1.102] (unknown [31.51.205.126]) by mail.messagingengine.com (Postfix) with ESMTPA id 8A0546801F7; Mon, 23 Mar 2015 17:06:19 -0400 (EDT) Message-ID: <55108046.1070206@dronecode.org.uk> Date: Mon, 23 Mar 2015 21:26:00 -0000 From: Jon TURNEY Reply-To: cygwin@cygwin.com User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: cygwin@cygwin.com CC: Andrew@DeFaria.com Subject: Re: X11Forward and xauth problems References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-03/txt/msg00400.txt.bz2 On 23/03/2015 20:48, Andrew DeFaria wrote: > Normally I just turn on -X (or put X11Forward yes in ~/.ssh/config) but > that usually results in a noticeable delay in logging in and the > following error: > > Warning: untrusted X11 forwarding setup failed: xauth key data not > generated > Warning: No xauth data; using fake authentication data for X11 forwarding. Firstly, if you don't want these warnings, use ssh -Y. (By using ssh -X, you are asking for something which the X server can't give you, hence the warnings. See http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-trusted-untrusted-x11-forwarding for more details) > /usr/bin/xauth: unable to link authority file > /home/adefaria/.Xauthority, use /home/adefaria/.Xauthority-n > Cm-app-ldev01: > > I've asked about this in the past and I think the answer was that the > message was correct but you shouldn't worry about it. If it didn't slow I'm sorry, I only have a vague memory of this discussion. > me down I probably would just ignore it. But it slows me down. So I ssh > instead without X11Forward turned on then, when I need to run an X > client, I do export DISPLAY=adefaria-lt:0 and make sure that I did an > xhost + there at least once. But now that's broken! > > Adefaria-lt:xhost + > access control disabled, clients can connect from any host > Adefaria-lt:ssh cm-app-ldev01 > Cm-app-ldev01:export DISPLAY=adefaria-lt:0 > Cm-app-ldev01:xclock > Error: Can't open display: adefaria-lt:0 > Cm-app-ldev01: If you want this to work, you will now (since X server 1.17) need to start the server with the option '-listen tcp'. [1] https://cygwin.com/ml/cygwin-xfree-announce/2015-02/msg00026.html [2] http://x.cygwin.com/docs/ug/using-remote-apps.html#using-remote-apps-telnet [3] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-remote-clients-cant-connect [4] https://cygwin.com/ml/cygwin-xfree/2015-02/msg00051.html -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple