delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/23/19:57:40

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: <cygwin.cygwin.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
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 <mark AT maxrnd DOT com>
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>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019