xhost: unable to open display ""

Mark Geisert mark@maxrnd.com
Wed Jan 24 00:57:00 GMT 2018


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



More information about the Cygwin mailing list