From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 930 invoked by alias); 30 Jun 2010 18:03:18 -0000 Received: (qmail 777 invoked by uid 22791); 30 Jun 2010 18:03:17 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_20,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; Wed, 30 Jun 2010 18:03:12 +0000 Received: from 213-152-38-55.dsl.eclipse.net.uk (HELO [192.168.0.7]) ([213.152.38.55]) by smtpout.karoo.kcom.com with ESMTP; 30 Jun 2010 19:03:09 +0100 Message-ID: <4C2B86E4.4040207@dronecode.org.uk> Date: Wed, 30 Jun 2010 18:03: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.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: Hiasi1@gmx.at Subject: Re: Problem when trying to use -nolock Option References: <20100629161332.193930@gmx.net> In-Reply-To: <20100629161332.193930@gmx.net> Content-Type: text/plain; charset=UTF-8; format=flowed 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-06/txt/msg00075.txt.bz2 On 29/06/2010 17:13, Mathias Friesenbichler wrote: > Hi, > > I posted this Problem 2 Weeks ago and no one answered yet. > > Is there anyone who can help me? Yourself, first of all. Try reading the 'Xserver' man page. > Thanks, > Mathias > > -------- Original-Nachricht -------- > Datum: Thu, 17 Jun 2010 08:24:03 +0200 > Von: "Mathias Friesenbichler" > An: cygwin-xfree@cygwin.com > Betreff: Problem when trying to use -nolock Option > > Hi, > > My CygwinX is installed on a server. > Several users are accessing this installation and therefore i want to use the "-nolock" option. No. If several users are running X servers on the same computer at the same time, they need to each use a unique display number. '-nolock' is only useful if /tmp resides on a FAT filesystem, which doesn't support the semantics needed by lockfiles, or if a stale lockfile has been left behind by a crashed XWin which you don't have rights to remove. > > Although i have added this option, cygwinx creates the X1 File in "tmp/.X11-unix". So no other user can access cygwin while it is open. > The logbook output is then: > > ---- > Welcome to the XWin X Server > Vendor: The Cygwin/X Project > Release: 1.8.0.0 (10800000) > Build Date: 2010-04-02 > > Contact: cygwin-xfree@cygwin.com > XWin was started with the following command line: > > /usr/bin/Xwin :1 -ac -query 10.8.248.101 -clipboard -logfile C:\DOKUME~1\fltplehr\LOKALE~1\Temp\xwin.fltplehr.1.log > -nolock -dpi 75 > > ddxProcessArgument - Initializing default screens winInitializeDefaultScreens - primary monitor w 1280 h 1024 winInitializeDefaultScreens - native DPI x 96 y 96 winInitializeDefaultScreens - Returning [1061722.984] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 [1061722.984] _XSERVTransOpen: transport open failed for inet6/pc08309:1 [1061722.984] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 [1061723.015] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed [1061723.015] _XSERVTransMakeAllCOTSServerListeners: server already running [1061723.015] Fatal server error: > [1061723.015] Cannot establish any listening sockets - Make sure an X server isn't already running > ---- > > I am starting the program with the following code: > start O:\PLS_Faser\Cygwin_PLSStarter\cygwin_installed\bin\Xwin.exe :1 -ac -query IP -clipboard -logfile "%TEMP%\xwin.%USERNAME%.1.log" -nolock -dpi 75 > > Can you help me? -- 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/