delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/06/13:26:39

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,TW_TV
X-Spam-Check-By: sourceware.org
Message-ID: <4CACB164.70706@dronecode.org.uk>
Date: Wed, 06 Oct 2010 18:27:00 +0100
From: Jon TURNEY <jon DOT turney AT dronecode DOT org DOT uk>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
CC: davidst AT csc DOT lsu DOT edu
Subject: Re: cygwin + xwin in win7 as unprivileged user?
References: <29889419 DOT post AT talk DOT nabble DOT com> <29897721 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <29897721.post@talk.nabble.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 06/10/2010 16:10, davidstvz wrote:
> I have done additional testing on this problem and it seems that the first
> user to login and run 'startxwin' owns all of the log and lock files and
> this is what is causing the problem.  The first user can continue using xwin
> without issues, but no other users can do it after that.
>
> If someone would upgrade xwin to to make these file names unique for each
> user it should solve the problem.  Meanwhile, I'm envisioning several
> workarounds.

The log file issue is discussed and a workaround given at [1]

The lock file should be removed on xwin exit, so should not be a problem
unless xwin is crashing for you, in which case report that problem.

Making the lock file name unique per user is a non-solution, as it prevents it 
from locking against multiple simultaneous uses of the same display number.

[1] http://cygwin.com/ml/cygwin-xfree/2010-08/msg00090.html

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019