From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19333 invoked by alias); 18 Dec 2014 11:20:40 -0000 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 Received: (qmail 19321 invoked by uid 89); 18 Dec 2014 11:20:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wi0-f180.google.com Received: from mail-wi0-f180.google.com (HELO mail-wi0-f180.google.com) (209.85.212.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 18 Dec 2014 11:20:38 +0000 Received: by mail-wi0-f180.google.com with SMTP id n3so1402760wiv.13 for ; Thu, 18 Dec 2014 03:20:35 -0800 (PST) X-Received: by 10.194.177.225 with SMTP id ct1mr3127929wjc.75.1418901635286; Thu, 18 Dec 2014 03:20:35 -0800 (PST) Received: from [172.21.188.197] ([62.154.173.198]) by mx.google.com with ESMTPSA id ce1sm8575723wjc.2.2014.12.18.03.20.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 03:20:34 -0800 (PST) Message-ID: <5492B876.30404@gmail.com> Date: Thu, 18 Dec 2014 11:20:00 -0000 From: Marco Atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com Subject: Re: X server doesn't start with a empty .startxwinrc References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00049.txt.bz2 On 12/18/2014 11:51 AM, Jean-Marc Colagrossi wrote: > Hi all, > > I need you help to understand what's wrong with X server or my .startxwinrc > file. > > I work with X server -> Xterm and vim since month now. Every thing was > always working perfectly. > > Yesterday I upgraded all cygwin packages and just after that I was unable to > start X server again. > > I made a new fresh installation and X server works correctly. Then I made a > copy of my olds files like .startwinrc, .bashrc .vimrc and all my shortcuts. > When I tried to start the X server I had the same problems. X server crashed. > > I removed one by one all the files I copied up to I deleted .startxwinrc. > Then the X server start correctly. my .startxwinrc had only 3 lines with : > > xterm -bg Black -fg White& > > I deleted all the lines just to have a blank .startxwinrc. But X server > still crashes. > > Here is the log when I run startxwin from terminal with an empty > .startxwinrc file > > I don't understand what I did wrong as it was working fine before. xinit behavior is changed, see relative announcement http://www.cygwin.com/ml/cygwin-xfree-announce/2014-11/msg00004.html It will execute all command of .startxwinrc or startxwinrc and then the X server will shutdown. you can 1) remove .startxwinrc, so that the default will prevail. see for an example /etc/defaults/etc/X11/xinit/startxwinrc 2) you put in .startxwinrc any command without "&" and the xserver will close when that command will end. as examples: xterm -bg Black -fg White sleep inf You are not the first one, that was caught by surprise. Re-reading the announcement helped me on understanding the matter. > Thank you > > Regards, > > Colagrossi Jean-Marc Regards Marco -- 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/