From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1591 invoked by alias); 9 Jan 2015 18:55:07 -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 1459 invoked by uid 89); 9 Jan 2015 18:55:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_TIME,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-yk0-f171.google.com Received: from mail-yk0-f171.google.com (HELO mail-yk0-f171.google.com) (209.85.160.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 09 Jan 2015 18:55:03 +0000 Received: by mail-yk0-f171.google.com with SMTP id 142so4704859ykq.2 for ; Fri, 09 Jan 2015 10:55:01 -0800 (PST) X-Received: by 10.236.96.196 with SMTP id r44mr12226742yhf.187.1420829701680; Fri, 09 Jan 2015 10:55:01 -0800 (PST) Received: from BensSurfacePro2 (static-108-20-23-67.bstnma.fios.verizon.net. [108.20.23.67]) by mx.google.com with ESMTPSA id c77sm5184647yho.9.2015.01.09.10.55.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Jan 2015 10:55:00 -0800 (PST) From: "Benjamin Richards" To: "'Marco Atzeri'" , References: <5499BFC1.2030006@gmail.com> In-Reply-To: <5499BFC1.2030006@gmail.com> Subject: RE: Need help to replicate old behavior of my X setup scripts with latest Xfree86 update Date: Fri, 09 Jan 2015 18:55:00 -0000 Message-ID: <3b5201d02c3d$c549f510$4fdddf30$@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-SW-Source: 2015-01/txt/msg00024.txt.bz2 > -----Original Message----- > From: Marco Atzeri [mailto:marco.atzeri@gmail.com] > Sent: Tuesday, December 23, 2014 2:17 PM > To: cygwin-xfree@cygwin.com > Subject: Re: Need help to replicate old behavior of my X setup scripts wi= th > latest Xfree86 update >=20 >=20 >=20 >=20 > try putting "sleep inf" in .startxwinrc > It should simulate the old behaviour >=20 > Regards Thanks for the suggestion. I actually figured out something similar. I launched fbpanel instead with t= his command: exec /usr/bin/fbpanel -p multiwindow I also discovered that the X server is not always opened on display 0, whic= h I wanted to force, so I did some digging and found I can do that by creat= ing a ~/.xserverrc file to change how it launches the X server. I put this = in the file instead: /usr/bin/XWin :0 -multiwindow -nolisten tcp I don=E2=80=99t need external connections as I=E2=80=99m primarily using th= e X server for local programs or with ssh -Y, so the nolisten switch works = fine for me. I also didn=E2=80=99t want xterm to start up at launch, so I had to create = an empty ~/.Xclients file. Finally, I had change my startup script so that, if the X server isn't runn= ing yet, it would launch startxwin in the background and loop until it sees= the fbpanel process in the process list, or time out (after 30 seconds). I= f it sees the process start, it sets up my configurations as before. It works, albeit not as cleanly as before. I get the extra icon in my taskb= ar for fbpanel since it=E2=80=99s running, and I see the job number get ech= oed out to the terminal when it backgrounds the startxwin script. It also t= akes longer to start since I=E2=80=99m launching fbpanel on top of the serv= er, though I suppose putting the sleep command would alleviate some of that= . I=E2=80=99ll look into it. Thanks! Sincerely, Benjamin Richards -- 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/