From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117671 invoked by alias); 10 Oct 2015 07:14:40 -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 117655 invoked by uid 89); 10 Oct 2015 07:14:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: vms173007pub.verizon.net Received: from vms173007pub.verizon.net (HELO vms173007pub.verizon.net) (206.46.173.7) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 10 Oct 2015 07:14:37 +0000 Received: from [192.168.76.21] ([68.134.4.212]) by vms173007.mailsrvcs.net (Oracle Communications Messaging Server 7.0.5.32.0 64bit (built Jul 16 2014)) with ESMTPA id <0NVZ0057OTFS6610@vms173007.mailsrvcs.net> for cygwin@cygwin.com; Sat, 10 Oct 2015 02:14:21 -0500 (CDT) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=btqxfxui c=1 sm=1 tr=0 a=sotnupvSch1aEFcw4J2g6A==:117 a=oR5dmqMzAAAA:8 a=N659UExz7-8A:10 a=5lJygRwiOn0A:10 a=mJoF_lf_QbFpyLq3ASAA:9 a=pILNOxqGKmIA:10 Subject: Re: how can I disable the warning about X11 forwarding To: cygwin@cygwin.com References: <56169E05.7040703@freenet.de> From: Ken Jackson Message-id: <5618BAC7.4030505@jackson.io> Date: Sat, 10 Oct 2015 07:14:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-version: 1.0 In-reply-to: <56169E05.7040703@freenet.de> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00116.txt.bz2 On 10/08/2015 12:47 PM, Peter wrote: > I want to allow some users to run an interactive program on my w2012 > server via ssh. > The program is a console app so I do not need X forwarding. > Users are connecting via putty without an X server. > Alas they always get nagged with the > "WARNING: No xauth data; using fake authentication data for X11 > forwarding." > Is there a way to get rid of this message? I have this in my ~/.bashrc file to add xauth data: if [ -n "$DISPLAY" -a -z "$(xauth list ":${DISPLAY#*:}" 2>/dev/null)" ] then xauth add "$DISPLAY" . "$(date | md5sum | cut -b1-32)" fi Alternately, try putting this in /etc/ssh_config: ForwardX11 no -Ken -- 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