From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27597 invoked by alias); 28 May 2014 12:57:31 -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 27582 invoked by uid 89); 28 May 2014 12:57:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mailout4.w1.samsung.com Received: from mailout4.w1.samsung.com (HELO mailout4.w1.samsung.com) (210.118.77.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (DES-CBC3-SHA encrypted) ESMTPS; Wed, 28 May 2014 12:57:28 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N6A00MTXBZI8R40@mailout4.w1.samsung.com> for cygwin-xfree@cygwin.com; Wed, 28 May 2014 13:57:18 +0100 (BST) Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id A7.09.27902.03DD5835; Wed, 28 May 2014 13:57:20 +0100 (BST) Received: from fedinw7x64 ([106.109.9.113]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01 (7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N6A00651BZJ6P90@eusync2.samsung.com> for cygwin-xfree@cygwin.com; Wed, 28 May 2014 13:57:20 +0100 (BST) From: Pavel Fedin To: cygwin-xfree@cygwin.com References: <000a01cf79aa$8d1c7f50$a7557df0$%fedin@samsung.com> <5384AD24.4080504@dronecode.org.uk> In-reply-to: <5384AD24.4080504@dronecode.org.uk> Subject: RE: Automatic X server startup Date: Wed, 28 May 2014 12:57:00 -0000 Message-id: <004001cf7a74$5c6b3ac0$1541b040$%fedin@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00033.txt.bz2 Hello! > I believe this is arranged using launchd on OS X, which listens on the > socket the X server will use, and starts the X server when something > connects. >=20 > Unfortunately, there is no similar system facility on Windows. But it should be possible to make xlib a little bit more smart, isn't it ?= It could automatically run X server when a connection is attempted but ref= used. So we would achieve the same effect as on MacOS. We could e. g. have some directory like /etc/X11/autostart, to be examined= by xlib. If it detects that e. g. :0 screen is not accessible, it would at= tempt to look up 0.xlaunch file there and run "xlaunch -run /etc/X11/autost= art/0.xlaunch" command. What do you think ? I could implement this idea if you have no time to wor= k on that, i believe it should be very easy. > You can achieve a somewhat similar effect by copying the X server > shortcut to the startup group to start it automatically at login, at > the cost of slowing down system startup somewhat. Heh, it's already slow because of antivirus and other corporate stuff (i c= annot disable it). Running on demand would be better. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- 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/