public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* xhost:  unable to open display ""
@ 2018-01-23 20:59 Waltz, James
  2018-01-24  0:57 ` Mark Geisert
  0 siblings, 1 reply; 4+ messages in thread
From: Waltz, James @ 2018-01-23 20:59 UTC (permalink / raw)
  To: cygwin

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?

Thanks.

jw


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xhost: unable to open display ""
  2018-01-23 20:59 xhost: unable to open display "" Waltz, James
@ 2018-01-24  0:57 ` Mark Geisert
  2018-01-24  3:48   ` Jack
  0 siblings, 1 reply; 4+ messages in thread
From: Mark Geisert @ 2018-01-24  0:57 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xhost: unable to open display ""
  2018-01-24  0:57 ` Mark Geisert
@ 2018-01-24  3:48   ` Jack
  2018-01-24 14:37     ` Waltz, James
  0 siblings, 1 reply; 4+ messages in thread
From: Jack @ 2018-01-24  3:48 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: xhost: unable to open display ""
  2018-01-24  3:48   ` Jack
@ 2018-01-24 14:37     ` Waltz, James
  0 siblings, 0 replies; 4+ messages in thread
From: Waltz, James @ 2018-01-24 14:37 UTC (permalink / raw)
  To: Jack; +Cc: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 1583 bytes --]

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@users.sourceforge.net<mailto:ostroffjh@users.sourceforge.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

\x03B‹KCB”\x1c›Ø›\x19[H\x1c™\^[ܝ\x1cΈ\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÜ\x1c›Ø›\x19[\Ëš\x1d^[[\x03B‘TNˆ\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ˜\KÃB‘^[ØÝ[Y[\x18]\x1a[ÛŽˆ\b\b\b\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÙ^[ØÜËš\x1d^[[\x03B•[œÝXœØÜšX™H\x1a[™›Îˆ\b\b\b\b\b\x1a\x1d\x1d\x1c\x0e‹ËØÞYÝÚ[‹˜ÛÛKÛ[\vÈÝ[œÝXœØÜšX™K\Ú[\^[\x19CBƒB

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-01-24 14:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 20:59 xhost: unable to open display "" Waltz, James
2018-01-24  0:57 ` Mark Geisert
2018-01-24  3:48   ` Jack
2018-01-24 14:37     ` Waltz, James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).