cygwin - valid hosts

Andrew Medico a.medico at gmail.com
Wed Apr 6 10:07:46 EDT 2005


On Apr 6, 2005 10:04 AM, arao at honnu.com <arao at honnu.com> wrote:
> ON MY REMOTE  MACHINE
> #####################
> 
> pricing at eaglesun86</export/home/pricing>xhost +10.10.2.1
> Xlib: connection to "10.10.2.1:0.0" refused by server
> Xlib: No protocol specified
> 
> xhost:  unable to open display "10.10.2.1:0.0"
> pricing at eaglesun86</export/home/pricing>xhost  +RAO
> Xlib: connection to "10.10.2.1:0.0" refused by server
> Xlib: No protocol specified
> 
> xhost:  unable to open display "10.10.2.1:0.0"
> pricing at eaglesun86</export/home/pricing>
> 
> ON CYGWIN
> ##########################################
> AUDIT: Wed Apr  6 09:56:12 2005: 3744 X: client 6 rejected from IP 10.10.1.86
> AUDIT: Wed Apr  6 09:56:25 2005: 3744 X: client 6 rejected from IP 10.10.1.86
> AUDIT: Wed Apr  6 09:56:27 2005: 3744 X: client 6 rejected from IP 10.10.1.86
> AUDIT: Wed Apr  6 09:56:29 2005: 3744 X: client 6 rejected from IP 10.10.1.86
> AUDIT: Wed Apr  6 09:56:35 2005: 3744 X: client 6 rejected from IP 10.10.1.86
> 
> Any Idea ?

You have to run xhost on a machine that already has access to the
display. Initially, that's localhost. On your cygwin machine, open a
command window, and run the following:

$ set DISPLAY=localhost:0
$ xhost +IP/host

And that should do the trick.
-- 
Andrew Medico <a.medico at gmail.com>



More information about the Discuss mailing list