xhost: unable to open display ""

Waltz, James JWaltz@som.umaryland.edu
Tue Jan 23 20:59:00 GMT 2018


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?



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