xhost: unable to open display ""
Jack
ostroffjh@users.sourceforge.net
Wed Jan 24 03:48:00 GMT 2018
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
More information about the Cygwin
mailing list