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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=UAShDm9KlgUH1gA9 sYB1KhcYsaEYd3TjeVNrpK4frmRzUb/G0NPcAg28Zahv3H5eD2xlOmEdMy5fcRhB Si7+yrNSv2wNRL1mSguEZP9OHp/0FaWmSvI62Teak2KU3eKNHw8nFOERKeT+W2/u qNuyueh8f4FBQpilnp8Blbwgn3w= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=HRg4Ono159nkYf/4rafhTt LWqCM=; b=mu7TOyuYbOQNArNvHJLSZT+F2UIH+Li/kyE5E0n4ccHnP27LjtJD34 2lcK9zjajco201eST0ge/EeFb64FqUPYGKCOfxvvTxYspN0IH3Y9mMlW/l9VlNqY QS+a9weNOA1a9HH5g1+GEglODfUQOh4sM1JYB32YCDw1PT1VBvJHc= 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=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=waltz, H*u:6.1, H*UA:6.1, HContent-Transfer-Encoding:8bit X-HELO: m0.truegem.net Subject: Re: xhost: unable to open display "" To: cygwin AT cygwin DOT com References: <4FA686B4-70CB-4A1D-880A-687B54B01CE3 AT contoso DOT com> From: Mark Geisert Message-ID: <5e643d7b-f779-6aaf-aeaf-ff4e6191efe3@maxrnd.com> Date: Tue, 23 Jan 2018 16:57:21 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 SeaMonkey/2.46 MIME-Version: 1.0 In-Reply-To: <4FA686B4-70CB-4A1D-880A-687B54B01CE3@contoso.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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.... :) ..mark -- 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