From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31026 invoked by alias); 2 Jan 2004 15:20:44 -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 31014 invoked from network); 2 Jan 2004 15:20:43 -0000 Received: from unknown (HELO relay.mail.areti.net) (193.109.192.70) by sources.redhat.com with SMTP; 2 Jan 2004 15:20:43 -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 i02FKgeZ012817 for ; Fri, 2 Jan 2004 15:20:42 GMT Received: (from chris@localhost) by halkidiki.areti.com (8.11.7-20030925/8.11.7) id i02FKg804759 for cygwin-xfree@cygwin.com; Fri, 2 Jan 2004 15:20:42 GMT Date: Fri, 02 Jan 2004 15:20:00 -0000 From: Chris Green To: cygwin-xfree@cygwin.com Subject: Re: Possible to use clipboard with remote/xdm connection? Message-ID: <20040102152042.GA4731@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> <20040102144403.GA4596@areti.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040102144403.GA4596@areti.co.uk> User-Agent: Mutt/1.4i X-SW-Source: 2004-01/txt/msg00016.txt.bz2 List-Id: Well I'm getting a little further with this problem but I'm still hitting the fundamental problem that xhost can't set the required local display permission so that xwinclip can be run. Thus I have the following .bat file to start the xdm session:- SET DISPLAY=127.0.0.1:0.0 SET REMOTE_HOST=192.168.13.1 SET CYGWIN_ROOT=\cygwin SET PATH=.;%CYGWIN_ROOT%\bin;%CYGWIN_ROOT%\usr\X11R6\bin;%PATH% REM Cleanup after last run. if not exist %CYGWIN_ROOT%\tmp\.X11-unix\X0 goto CLEANUP-FINISH attrib -s %CYGWIN_ROOT%\tmp\.X11-unix\X0 del %CYGWIN_ROOT%\tmp\.X11-unix\X0 :CLEANUP-FINISH if exist %CYGWIN_ROOT%\tmp\.X11-unix rmdir %CYGWIN_ROOT%\tmp\.X11-unix echo startxdmcp.bat - Starting on Windows NT/2000/XP start /B XWin -query %REMOTE_HOST% start /B xhost 127.0.0.1 start /B xwinclip The "start /B xhost 127.0.0.1" and the "start /B xwinclip" both fail because they haven't got permission to access display 127.0.0.1:0.0. How on earth can one set this permission if xhost can't be run? The xterm one is running in has permission to display so why can't xhost and xwinterm display there too? -- Chris Green (chris@areti.co.uk)