From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17886 invoked by alias); 2 Jan 2004 14:44:08 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 17877 invoked from network); 2 Jan 2004 14:44:05 -0000 Received: from unknown (HELO relay.mail.areti.net) (193.109.192.70) by sources.redhat.com with SMTP; 2 Jan 2004 14:44:05 -0000 Received: from halkidiki.areti.com (root@halkidiki.areti.com [193.109.192.71]) by relay.mail.areti.net (8.12.10/8.12.10/Areti-4.0.0R) with ESMTP id i02Ei4eZ010746 for ; Fri, 2 Jan 2004 14:44:04 GMT Received: (from chris@localhost) by halkidiki.areti.com (8.11.7-20030925/8.11.7) id i02Ei4M04647 for cygwin-xfree@cygwin.com; Fri, 2 Jan 2004 14:44:04 GMT Date: Fri, 02 Jan 2004 14:44:00 -0000 From: Chris Green To: cygwin-xfree@cygwin.com Subject: Re: Possible to use clipboard with remote/xdm connection? Message-ID: <20040102144403.GA4596@areti.co.uk> Reply-To: chris.green@isbd.co.uk Mail-Followup-To: cygwin-xfree@cygwin.com References: <20031231221603.GA320@areti.co.uk> <3FF34EE3.9070300@msu.edu> <20040101153702.GB1971@areti.co.uk> <20040102140446.GA4425@areti.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i X-SW-Source: 2004-01/txt/msg00015.txt.bz2 List-Id: On Fri, Jan 02, 2004 at 03:33:42PM +0100, Alexander Gottwald wrote: > On Fri, 2 Jan 2004, Chris Green wrote: > > > The trouble is that when I run 'xhost 127.0.0.1' in a cygwin window on > > my win2k system I just get the error:- > > xhost: unable to open display "" > > that would be DISPLAY=127.0.0.1:0 xhost 127.0.0.1 > > But most likely you will have no access from windows. Run xhost from the > session started via xdmcp. > But if I run xhost in that session I will be setting xhost permissions on the Linux Slackware system which is most definitely not what is required. It seems very odd that xhost requires access to the local display in order to work as you need xhost to set permission to acces the local display - sort of catch 22. If I open just a cygwin terminal window on my Win2k system I simply can't run xhost at all. E.G.:- $ xhost xhost: Unable to open display "" $ export DISPLAY=192.168.13.25:0.0 $ xhost Xlib: connection to 192.168.13.25:0.0 refused by server Xlib: no protocol specified xhost: Unable to open display 192.168.13.25:0.0 So how can one ever run xhost (and thus xwinclip)? > > What should the DISPLAY environment variable be set to for the local > > display? I'm used to setting it for remote systems but I can't get > > the right value for this one. > > Fot the local display this is 127.0.0.1:0 or :0 > Maybe my win2k set up is wonly but 127.0.0.1 won't work for me, the actual IP address of 192.168.13.25 does work though. However a second try seems to be OK, maybe I'd got into a mess before. The 'catch 22' above still applies though. -- Chris Green (chris@areti.co.uk)