From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70977 invoked by alias); 13 Jun 2016 13:07:37 -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 70931 invoked by uid 89); 13 Jun 2016 13:07:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Menu, Volunteer, firewall, font X-HELO: out2-smtp.messagingengine.com Received: from out2-smtp.messagingengine.com (HELO out2-smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 13 Jun 2016 13:07:24 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id D307420AC0; Mon, 13 Jun 2016 09:07:21 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Mon, 13 Jun 2016 09:07:21 -0400 Received: from [192.168.1.102] (host86-141-128-149.range86-141.btcentralplus.com [86.141.128.149]) by mail.messagingengine.com (Postfix) with ESMTPA id 4ED9BF29FB; Mon, 13 Jun 2016 09:07:21 -0400 (EDT) Subject: Re: new start method questions References: <07401d01668c0c31f54ded0a299814a8@saf.bio.caltech.edu> <7892d5e91645a81686d1d3f2f40c0fe0@saf.bio.caltech.edu> <6c8a79d4a9931765dbe5f4652a9e3975@saf.bio.caltech.edu> Cc: mathog@caltech.edu To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com From: Jon Turney Message-ID: <8f75beb3-f1d7-13ba-fe6a-31e0abbc5cf2@dronecode.org.uk> Date: Mon, 13 Jun 2016 13:07:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: <6c8a79d4a9931765dbe5f4652a9e3975@saf.bio.caltech.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2016-06/txt/msg00005.txt.bz2 On 10/06/2016 18:05, mathog wrote: > On 09-Jun-2016 17:55, mathog wrote: >> Last time around the start bat script was just: >> >> @echo off >> set CYGXTOP=%~dp0 >> C: >> chdir "%CYGXTOP%\var\log\xwin" >> move XWin.0.log.1 XWin.0.log.2 >> move XWin.0.log XWin.0.log.1 >> chdir "%CYGXTOP%\bin" >> start Xwin :0 -multiwindow >> >> Is there some reason that a similar cut down bat file would not work >> with the current cygwin X11 server? (With "-listen tcp" plus a windows >> firewall rule to only let it talk to localhost.) Usually, the fastest way to answer that kind of question is to try it :) > In a regular CMD shell navigated to the bin directory and did: > > start Xwin :0 -multiwindow -listen tcp > > and it worked. So none of the current start script seems to be > necessary if the only > goal is to start the X11 server. It seems to work normally, at least by > the criterion that xdpyinfo returns the same information as for the > other starts. Yes, if running XWin doesn't actually start the server, that would be a bug > On a related note - are there any situations where the X11 server itself > (not something in its startup script) will start a subprocess and run a > different binary? For instance, some sort of font search operation, or > perhaps some conditional load of an X11 feature which isn't normally > started, or some funny kind of cut and paste operation on the Window side? There are only 2 cases I can think of: - The xserver runs xkbcomp during start up to compile the keyboard map - Menu items in Xwinrc which use the EXEC instruction -- 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/