X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:subject:to:references:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=gPBBVfGN7H0eNRSMMqLHEz9em0tf5CmD/g/JTHBCuD8 CMoZlq1d34GjwTS40A8MXVgr7quQT0oZ3nRWnuCWrp0+Wxh0HE8qt+Ofr4jPqh89 R9Q5BI49Zy0yFRpYKOlkhv0j33DDgt1xzCpObtSIpPp8XMWOxYURlhAJxmY8IZhY = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:subject:to:references:in-reply-to :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=xjiPcDxWyNYdK8q3lerSYII7TmE=; b=EHO2HSE34lCU1jIXa wn2UbbCL4S33VeTt1t8adpWpNKob/dJI+KErXOKERP4b+Arss3U5JpyB1Auhf812 /ie9BfK3IPbRWK1Dsptn4wG6ZQe5db4fSnWQEAoZ1ULeQq/pfTyfWWColQvCwocN /WQsPMTvu2FvpPkKnMxFgJIccA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=Waltz, waltz, H*c:DelSp, jack X-HELO: mail-qt0-f175.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:subject:to:references:in-reply-to :message-id:mime-version:content-disposition :content-transfer-encoding; bh=r38OmQuv0hsa0JBox3sIs2pa63AQdJn0v3twpi1QZEY=; b=bREVLZbQnUCitpY+v//Jz/uWG1ufAcqmisDk1s5q3HxaVTg2H4Qa3oKCBgC87x/bW/ l8+rPUWATYE/Y4k7A3YgU1UibjvvypWd/2msOwue/jYy3xUihRnFSwSfK+VsBr69zB+g w4eQhBUbuxPzI5lN9Ko6S5ys446vIXqWHvL2ofGbai/B33mWfCOBJCXYDINXl3wK+8HS Y0Gb5KmXBM2jbyi9ThlX7LNY95VEFQzMflIF5LL0vzKW7cGXwhbsWFrPRgeDsvpeSV9P H/yYSbzf3Pka71k8KKU+IEC517Q55yN6mb313yi0vS2DTDPKSonQUx3wI1k5gMY7iVsi HYyw== X-Gm-Message-State: AKwxytckts0VNTkMlrWilrXtvg0/0mItn+DXFh9fMvrDM5ufwf/9Gyfi V880easxOI9G6twdjYTg0FAaSlxu X-Google-Smtp-Source: AH8x227G8EnMzQ3ggu7ZlZP8jHdfjWbVdtenSNcmOGwNLoA2PFrSwLVGYNOdD0OfKU83HrbK3Ur13w== X-Received: by 10.55.168.83 with SMTP id r80mr7206773qke.89.1516765679461; Tue, 23 Jan 2018 19:47:59 -0800 (PST) Date: Tue, 23 Jan 2018 22:47:58 -0500 From: Jack Subject: Re: xhost: unable to open display "" To: cygwin AT cygwin DOT com References: <4FA686B4-70CB-4A1D-880A-687B54B01CE3 AT contoso DOT com> <5e643d7b-f779-6aaf-aeaf-ff4e6191efe3 AT maxrnd DOT com> In-Reply-To: <5e643d7b-f779-6aaf-aeaf-ff4e6191efe3@maxrnd.com> (from mark@maxrnd.com on Tue Jan 23 19:57:21 2018) Message-Id: <5NKOY5OI.HNDGPRF2.GM3GZKPR@HDGZ5L6Z.LWVRH5L4.ZMBAXIHD> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id w0O3mKcr018721 On 2018.01.23 19:57, Mark Geisert wrote: > Waltz, James wrote: >> Hi- >> >> I think that I have installed all the necessary packages, but I >> still get the above error, when I type “xhost +” on my local machine. >> >> I am also still getting a “cannot open display: localhost:10.0” >> error. >> >> This is DESPITE the fact that: >> - I set DISPLAY to “localhost:10.0” >> - X11Forwarding is set to “yes” in the sshd_config file >> - I changed the “hosts” file, under /etc to have actual IP addresses. >> >> Any idea why this might be happening? > > Yes. Change that "10" to "0". So it's "localhost:0.0" or even > ":0.0". > Should work much better.... :) Unless ssh is involved, which was not stated, but I suspect might be part of the issue. Jack -- 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