"Can't read lock file /tmp/.X0-lock" problem (answer to FAQ 3.4. does not solve the problem)

Leonardo Vanneschi vanneschi@disco.unimib.it
Wed Jan 14 18:12:00 GMT 2009


Dear sirs,

when trying to launch /usr/bin/startxwin.bat, I have a problem.
The problem reported in file /var/log/XWin.0.log is
"Can't read lock file /tmp/.X0-lock"

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).


Thank you very much in advance for your kind help.


Sincerely,

Leonardo Vanneschi

-- 
--------------------------------------------------------------------------
Leonardo Vanneschi
Assistant Professor (Ricercatore)
Department of Informatics, Systems and Communication (D.I.S.Co.)
Building U14, Office n. 2004
viale Sarca, 336
University of Milano-Bicocca
20126 Milano, Italy
Tel.:  +39 02 64487874
Fax:   +39 02 64487839
Email: vanneschi@disco.unimib.it
Web page: http://personal.disco.unimib.it/Vanneschi
-------------------------------------------------------------------------- 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090114/1fd9a263/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: straceXWin.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20090114/1fd9a263/attachment-0001.ksh>
-------------- next part --------------
--
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/


More information about the Cygwin mailing list