From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8666 invoked by alias); 16 Dec 2014 16:36:17 -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 8654 invoked by uid 89); 16 Dec 2014 16:36:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: iport-acv1-out.ucsd.edu Received: from iport-acv1-out.ucsd.edu (HELO iport-acv1-out.ucsd.edu) (132.239.0.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Tue, 16 Dec 2014 16:36:15 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhkFAMNekFSE7/kU/2dsb2JhbABahzbIZAKBGRYCAQEBAXyEDQEFIxVRCwkPAgIFJQ8CRhMIAQGIKL5gkVUBhR2BIY5YhCkFiT6FMYgChXmLQCKEDYMQAQEB X-IPAS-Result: AhkFAMNekFSE7/kU/2dsb2JhbABahzbIZAKBGRYCAQEBAXyEDQEFIxVRCwkPAgIFJQ8CRhMIAQGIKL5gkVUBhR2BIY5YhCkFiT6FMYgChXmLQCKEDYMQAQEB Received: from act-bufferout-a1.ucsd.edu ([132.239.249.20]) by iport-acv1-out.ucsd.edu with ESMTP; 16 Dec 2014 08:32:19 -0800 Received: from [132.239.152.162] (geowk11.ucsd.edu [132.239.152.162]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: rcunningham@ad.ucsd.edu) by act-bufferout-a1.ucsd.edu (Postfix) with ESMTPSA id D0FCAF9BDD for ; Tue, 16 Dec 2014 08:32:18 -0800 (PST) Message-ID: <54905E8F.40809@ucsd.edu> Date: Tue, 16 Dec 2014 16:36:00 -0000 From: rcunningham User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: startxwin.exe no longer exists? References: <548C82A3.9080604@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00038.txt.bz2 On 12/16/2014 8:00 AM, Erik Soderquist wrote: > >> Sure, display :0 is unavailable; checking DISPLAY in the (unwanted) >> xterm shows DISPLAY is set to :5. Why's that I wonder? >> >> Further investigation shows ls -ltr /tmp: >> >> -r--r--r-- 1 william None 11 Nov 28 17:43 /tmp/.X0-lock >> -r--r--r-- 1 william None 11 Dec 13 17:43 /tmp/.X1-lock >> -r--r--r-- 1 william None 11 Dec 13 17:55 /tmp/.X2-lock >> -r--r--r-- 1 william None 11 Dec 13 19:22 /tmp/.X3-lock >> -r--r--r-- 1 william None 11 Dec 15 16:53 /tmp/.X4-lock >> -r--r--r-- 1 william None 11 Dec 15 17:00 /tmp/.X5-lock >> >> Interesting. It looks like every time I start an X session a lock >> file is created and doesn't get deleted, so the display number keeps >> changing. This doesn't look right, so how do I avoid it? >> >> -- >> Will > What I do is specify the display on the command line. If it fails, I > check for an existing operational session with the same display. If > it exists, I simply exit the script. If not, I free the lock file and > retry the X server start on the chosen display. > > -- Erik Shouldn't the startxwin script check for running instances and delete all lock-files related to non-existent instances? Why must this be a manual operation? The prior startxwin.exe "just worked", and this new replacement script is clearly creating problems for previously happy CygwinX users, where no problems existed before (or, at least the problems weren't visible and didn't affect normal use). I would have preferred to have seen startxwin.exe retained, and this new script phased in gradually, perhaps as "startxwin_new" in the first release. Then, when startxwin_new stabilizes, rename the executable to startxwin_old.exe and the script to startxwin. Several updates later, quietly remove startxwin_old.exe. It seems nonsensical to treat all CygwinX users as alpha testers. I'm more than willing to help test new features, but not in the dark: Make it very clear when significant subsystems are being evolved, and provide a way to try the new without losing the old. For now, can startxwin.exe be restored under some name? -BobC -- 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/