X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_83,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Message-ID: <4979F0A1.4000900@dronecode.org.uk> Date: Fri, 23 Jan 2009 16:30:25 +0000 From: Jon TURNEY Reply-To: cygwin-xfree AT cygwin DOT com User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 Followup-To: cygwin-xfree AT cygwin DOT com To: cygwin AT cygwin DOT com CC: vanneschi AT disco DOT unimib DOT it Subject: Re: "Can't read lock file /tmp/.X0-lock" problem (answer to FAQ 3.4. does not solve the problem) References: <496E24FE DOT 405 AT disco DOT unimib DOT it> In-Reply-To: <496E24FE.405@disco.unimib.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam Leonardo Vanneschi wrote: > > I have tried to apply the solutions in the FAQ page (FAQ 3.4), but they > do not work. More precisely, what I tried to do as follows: > > 1. Try rm -rf /tmp; mkdir /tmp ; chmod 1777 /tmp > 2. Try starting the server with -nolock (e.g. if you use startxwin.bat > or startxwin.sh to start the server, add -nolock to the XWin line in > that script; if you use xinit or startx, run it as xinit -- -nolock or > startx -- -nolock) > > None of the two solutions worked. > > I am attaching the output of cygcheck -s -v -r > cygcheck.out > (please, see file cygcheck.out). > > > Trying to solve the problem by myself, I have read some conversations on > this subject > on various cygwin related mailing lists and I have seen that the output > of the command > 'strace Xwin' may be helpful too. So, I attach it too (please, see file > straceXWin.out). Well, I can tell from the strace output that this is failing in the same way as [1], but I still don't know why it happens... 35 26331 [main] XWin 3360 link: -1 = link (/tmp/.tX0-lock, /tmp/.X0-lock) If adding '-nolock' doesn't fix the problem, can you reply with the command you are using to start the server and the output of strace-ing that. (followup-to set to cygwin-xfree AT cygwin DOT com) [1] http://cygwin.com/ml/cygwin-xfree/2009-01/msg00027.html -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/