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: <4CB5E31C.2070206@dronecode.org.uk> Date: Wed, 13 Oct 2010 17:49:32 +0100 From: Jon TURNEY 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> <4CACB164 DOT 70706 AT dronecode DOT org DOT uk> <29899035 DOT post AT talk DOT nabble DOT com> <29934689 DOT post AT talk DOT nabble DOT com> In-Reply-To: <29934689.post@talk.nabble.com> Content-Type: text/plain; charset=UTF-8; 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 On 11/10/2010 15:38, davidstvz wrote: > The problem is, it continues running in the background with the permissions > of the user that originally started it, and then other users can't do > anything with it (even when the first user logs off and a new user logs on > it continues running). If you really are logging off (and not using user switching), the XWin process really should be terminated. If it doesn't shutdown in response to the WM_ENDSESSION it's sent, it'll be forcibly terminated. However, there seems to be a bug with Xwin that we don't shutdown cleanly when sent WM_ENDSESSION, and so leave behind the lock file and unix socket, which will cause a subsequent attempt to run Xwin by a different, non-privileged user to fail. Thanks for reporting the problem. -- 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