This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: still having a problem with xwinclip
- From: Ian Burrell <iburrell at stanfordalumni dot org>
- To: Eli Kleinman <elik at bhphotovideo dot com>
- Cc: cygwin-xfree at cygwin dot com
- Date: Wed, 10 Apr 2002 14:46:55 -0700
- Subject: Re: still having a problem with xwinclip
- References: <3CB47A88.1525.4EF134B8@localhost>
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/