This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: still having a problem with xwinclip


Eli Kleinman wrote:
> I tried setting DISPLAY to :0.0 but this did not solve my problem
> this is what I use to start CDE
> $ export DISPLAY=192.9.200.136:0.0
> xwin -noreset -screen 0 1152 864 -query 192.9.200.6 -fp 
> tcp/192.9.200.6:7100 -from 192.9.200.136 &
> [1] 600
> 
> this is what I try to use to start xwinclip and this is what i get 
> $ export DISPLAY=:0.0
> $ xwinclip.exe
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
> 
> Could not open display
> 
> Could some one please help me
> 

When you use -query, the X server doesn't allow connection from the 
local machine. I think it uses xauth cookies. You need to enable 
connections with xhost from an xterm running in the X server. Something 
like this should work:

xhost local:
xhost <hostname>

  - Ian





-- 
iburrell@stanfordalumni.org
http://www.znark.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]