delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/01/24/09:37:50

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:from:to:cc:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=hTCDPbTM7wp3sTR8
HMyTP01RMv1uk2Bff+CZHqDbZoaF1ZYpVQ/fgwlC6YjoRHIx7LcaBF1vlFzQz2yz
x5MAl6RSCqecRgYbfgoR/821Vj5PHnCjdscCTbfu7YOABRzZzuTtAPfASR9gTS+A
5He8kcqRIk6sZLLJXY7aD/w3BIE=
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:from:to:cc:subject:date:message-id:references
:in-reply-to:mime-version:content-type
:content-transfer-encoding; s=default; bh=1Ot0/m42yjrM+FlE3HFGG+
4NXtc=; b=jhZIzJpgpseovxQCNDhbFq/aAaaqod1mWtRhlyxLEWyJnfTaUfBwIR
+Orgwgb3gN+QleUpKordBy1Trtb+v3EwLE8idLYI2BoZI46xfihvHcnuW79uyrUB
Bcu0DBIGsqkIGTN9nER0CZEWIjjrvK7pYIm8OimynaxdS+FzOH+Nc=
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=3.1 required=5.0 tests=BAYES_00,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=waltz, Waltz, jack, Jack
X-HELO: NAM01-SN1-obe.outbound.protection.outlook.com
From: "Waltz, James" <JWaltz AT som DOT umaryland DOT edu>
To: Jack <ostroffjh AT users DOT sourceforge DOT net>
CC: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: Re: xhost: unable to open display ""
Date: Wed, 24 Jan 2018 14:37:32 +0000
Message-ID: <958DBE00-AF8D-42CE-8AFC-D7D41860BF73@som.umaryland.edu>
References: <4FA686B4-70CB-4A1D-880A-687B54B01CE3 AT contoso DOT com> <5e643d7b-f779-6aaf-aeaf-ff4e6191efe3 AT maxrnd DOT com>,<5NKOY5OI DOT HNDGPRF2 DOT GM3GZKPR AT HDGZ5L6Z DOT LWVRH5L4 DOT ZMBAXIHD>
In-Reply-To: <5NKOY5OI.HNDGPRF2.GM3GZKPR@HDGZ5L6Z.LWVRH5L4.ZMBAXIHD>
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;CO2PR03MB2248;7:h1fssRZwqG6832tusTlKRI/Cb9wLYCU6KnNOd3fptM6ajPJgmSmY1GqqWh2WdMJ0yQLFaG/b8BIZjngkhkm9yvkWungg3FvMRBKVNLYcbFTR3Do8cV99n3xmuKNbyf3vFiMVXkQnuPAHYRx1Om2gQwGl0pg/wDLJh4xXE1Y9oLosp3xtIbzoFdswZkGUU/08yeljAeydgJfuGYQfIj4v599UuHdkidO0EHI4HNLXpjlOWLvp2VGGebZxad58FV1O
x-ms-office365-filtering-correlation-id: 452b0c3a-4198-427d-23b2-08d563380124
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(8989060)(4534165)(4627221)(201703031133081)(201702281549075)(8990040)(5600026)(4604075)(3008032)(2017052603307)(7153060)(7193020);SRVR:CO2PR03MB2248;
x-ms-traffictypediagnostic: CO2PR03MB2248:
x-microsoft-antispam-prvs: <CO2PR03MB22484EB4340609A625A39C1D94E20 AT CO2PR03MB2248 DOT namprd03 DOT prod DOT outlook DOT com>
x-exchange-antispam-report-test: UriScan:(20558992708506)(265634631926514)(42262312472803);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040501)(2401047)(8121501046)(5005006)(3231023)(2400081)(944501161)(10201501046)(3002001)(93006095)(93001095)(6041288)(20161123558120)(20161123560045)(20161123562045)(20161123564045)(201703131423095)(201702281529075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:CO2PR03MB2248;BCL:0;PCL:0;RULEID:;SRVR:CO2PR03MB2248;
x-forefront-prvs: 056297E276
x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(39380400002)(366004)(346002)(376002)(51444003)(199004)(189003)(40764003)(99286004)(80792005)(236005)(6306002)(66066001)(6486002)(6512007)(54896002)(6246003)(53376002)(97736004)(25786009)(2906002)(6436002)(4326008)(81166006)(81156014)(82746002)(74826001)(53936002)(229853002)(86362001)(68736007)(5003630100001)(8936002)(83716003)(8676002)(478600001)(33656002)(75432002)(606006)(6116002)(3846002)(3280700002)(42882006)(2950100002)(6916009)(3660700001)(2900100001)(6506007)(53546011)(966005)(72206003)(14454004)(76176011)(106356001)(88552002)(7736002)(786003)(316002)(102836004)(6346003)(5660300001)(26005)(77096007)(105586002);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR03MB2248;H:CO2PR03MB2245.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en;
received-spf: None (protection.outlook.com: som.umaryland.edu does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=JWaltz AT som DOT umaryland DOT edu;
x-microsoft-antispam-message-info: ZkIWQqwhXGvRMqs8UULqfpLzFFqa0yWckTi+52vrMN1aOpGj14UfcOM99YWqRd0TAa7g2sLMqln0esSuDSk1Ww==
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
MIME-Version: 1.0
X-OriginatorOrg: som.umaryland.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 452b0c3a-4198-427d-23b2-08d563380124
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jan 2018 14:37:32.8601 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 717009a6-20de-461a-8894-0312a395cac9
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR03MB2248
X-IsSubscribed: yes
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id w0OEbnFv008448

Hi-

The solution was stupider than I thought:
1. I thought my DISPLAY was set, but it actually wasn’t. It worked with “:0.0”.
2. “ssh -Y” worked, whereas “ssh -X” did not.

Voila! (so far)

Thanks for your help, guys.

Jim Waltz

Sent from my iPhone

On Jan 23, 2018, at 22:48, Jack <ostroffjh AT users DOT sourceforge DOT net<mailto:ostroffjh AT users DOT sourceforge DOT net>> wrote:

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


--
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