From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21267 invoked by alias); 8 Nov 2010 14:06:07 -0000 Received: (qmail 21259 invoked by uid 22791); 8 Nov 2010 14:06:05 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from smtpout.karoo.kcom.com (HELO smtpout.karoo.kcom.com) (212.50.160.34) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Nov 2010 14:06:00 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.5]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 08 Nov 2010 14:05:57 +0000 Message-ID: <4CD803CD.60603@dronecode.org.uk> Date: Mon, 08 Nov 2010 14:06:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree@cygwin.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: fergus@bonhard.uklinux.net Subject: Re: Updated: xorg-server-1.9.2-1 References: <4CD7E3A7.3060704@bonhard.uklinux.net> In-Reply-To: <4CD7E3A7.3060704@bonhard.uklinux.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 X-SW-Source: 2010-11/txt/msg00013.txt.bz2 On 08/11/2010 11:48, Fergus wrote: > Since the update I have been unable to start XWin under [1.7]. > Following my usual sequence at a bash prompt: > > mount n:/tmp /tmp # drive n: is NTFS as required > run XWin -multiwindow & > > Normally these two would be followed by a command line for xterm, but I am not > getting that far! The second line repeatedly generates a Cygwin/X error > message box, where the reason given is very familiar: > > Can't read lock file /tmp/.X0-lock > > I used to get this when /tmp was FAT32 but as you see from line 1 I am making > an explicit mount to a NTFS drive, and in the recent past this step has been > all that is necessary to make progress. When I open /var/log/xwin/XWin.0.log > for more information I read > > ~> cat /var/log/xwin/XWin.0.log > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 1.9.2.0 (10902000) > Build Date: 2010-11-03 > > XWin was started with the following command line: > > /usr/bin/XWin -multiwindow > > ddxProcessArgument - Initializing default screens > winInitializeScreenDefaults - primary monitor w 1280 h 1024 > winInitializeDefaultScreens - native DPI x 96 y 96 > _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 > _XSERVTransOpen: transport open failed for inet6/mandible:0 > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 > > Fatal server error: > Can't read lock file /tmp/.X0-lock I don't think there have been any significant changes in the lockfile code since the previous version, so this is mysterious. Does /tmp/.X0-lock exists? Is it readable by you? ('ls -al /tmp/.X0-lock' ) Are you sure /tmp is getting mounted successfully where you expect it to be? Have you tried '-nolock', as suggested by [1] > Can anything be determined from the 3 lines in this file beginning _XSERV > ("Unable" .. "failed" .. "failed")? Do I need to change my command sequence? The lines about inet6 are expected if you don't have IPv6 installed. If they have just started appearing with 1.9.2, that would be odd. > BTW it's interesting (is it?) that the error message refers to 1.9.2.0 not > 1.9.2-1. XWin only reports the upstream version (1.9.2.0), not our packaging version (the -1), for various uninteresting reasons. > I'm surprised that there are no other anguished reports to you following the > update, but I guess that's because the fault/ problem/ difficulty is mine > rather than general. ?? Any insights much appreciated. Either that or you are the only person who uses XWin :-) I never hear from anyone saying it just works fine, so I assume they don't exist :-) [1] http://x.cygwin.com/docs/faq/cygwin-x-faq.html#q-cant-read-lock-file -- 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/