From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14225 invoked by alias); 22 Feb 2014 13:36:45 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 14207 invoked by uid 89); 22 Feb 2014 13:36:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.7 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 X-HELO: smtpout20.bt.lon5.cpcloud.co.uk Received: from smtpout20.bt.lon5.cpcloud.co.uk (HELO smtpout20.bt.lon5.cpcloud.co.uk) (65.20.0.140) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 22 Feb 2014 13:36:43 +0000 X-CTCH-RefID: str=0001.0A090204.5308A7E8.00B0,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0 X-Junkmail-Premium-Raw: score=8/97,refid=2.7.2:2014.2.22.101521:17:8.317,ip=,rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __HAS_FROM, __HAS_REPLYTO, __USER_AGENT, __MOZILLA_USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __TO_NO_NAME, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __SUBJ_ALPHA_END, __IN_REP_TO, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __URI_NO_WWW, __URI_NO_PATH, __SUBJ_ALPHA_NEGATE, __FORWARDED_MSG, BODYTEXTP_SIZE_3000_LESS, BODY_SIZE_2000_2999, __MIME_TEXT_ONLY, __URI_NS, HTML_00_01, HTML_00_10, BODY_SIZE_5000_LESS, REPLYTO_FROM_DIFF_ADDY, BODY_SIZE_7000_LESS X-CTCH-Spam: Unknown Received: from [192.168.1.72] (86.177.101.10) by smtpout20.bt.lon5.cpcloud.co.uk (8.6.100.99.10223) (authenticated as jonturney@btinternet.com) id 52DF22720044CBDD; Sat, 22 Feb 2014 13:36:40 +0000 Message-ID: <5308A7F3.5050900@dronecode.org.uk> Date: Sat, 22 Feb 2014 13:36:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: danilo.turina@alcatel-lucent.com Subject: Re: Clipboard integration does not work with XDMCP References: <530783F6.90209@alcatel-lucent.com> In-Reply-To: <530783F6.90209@alcatel-lucent.com> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-SW-Source: 2014-02/txt/msg00011.txt.bz2 On 21/02/2014 16:51, Danilo Turina wrote: > Hello, > I need to connect from my PC to a Linux machine that runs KDE and I use > the following command: > > XWin -from MY_PC_IP_ADDR -terminate -query LINUX_MACHINE_IP_ADDR > > It works well but the clipboard integration that fails. > > Notice that: > 1) XWin alone (i.e. no XDMCP, i.e. local) works nicely with my Windows > clipboard > 2) Xming works (almost) fine with XDMCP + clipboard (with the same Linux > machine) > > I gave a look at the XWin log in two cases: > A) XWin alone > B) XWin + XDMCP > > And the only differences I've found (apart from the different command line > arguments) is the following lines that were at the end of the log of the XDMCP > invokation: > > winProcEstablishConnection - winInitClipboard returned. > winClipboardThreadProc - DISPLAY=:0.0 > winClipboardProc - XOpenDisplay () returned and successfully opened the display. > winClipboardIOErrorHandler! > winClipboardProc - setjmp returned for IO Error Handler. > winClipboardProc - trying to restart clipboard thread > winClipboardThreadProc - DISPLAY=:0.0 > winClipboardProc - XOpenDisplay () returned and successfully opened the display. > winClipboardProc - winClipboardFlushWindowsMessageQueue trapped WM_QUIT > message, exiting main loop. > winClipboardProc - XDestroyWindow succeeded. Thanks for reporting this problem, and the clear reproduction steps. The issue here is that the XDMCP login dialog kills all other X clients (including the clipboard integration client) for security. The clipboard integration client is supposed to restart and reconnect as necessary, but it seems this has been broken for a while. I've has a go at fixing this and uploaded a snapshot at [1]. Perhaps you could try that and see if it improves things for you? [1] ftp://cygwin.com/pub/cygwinx/XWin.20140222-git-c14d82e878fc884d.exe.bz2 -- Jon TURNEY Volunteer Cygwin/X X Server maintainer -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/