From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4601 invoked by alias); 27 Nov 2012 07:03:27 -0000 Received: (qmail 4588 invoked by uid 22791); 27 Nov 2012 07:03:26 -0000 X-SWARE-Spam-Status: No, hits=-5.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ia0-f171.google.com (HELO mail-ia0-f171.google.com) (209.85.210.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Nov 2012 07:03:17 +0000 Received: by mail-ia0-f171.google.com with SMTP id b35so6415602iac.2 for ; Mon, 26 Nov 2012 23:03:17 -0800 (PST) Received: by 10.50.42.168 with SMTP id p8mr14506216igl.57.1353999797327; Mon, 26 Nov 2012 23:03:17 -0800 (PST) Received: from [192.168.0.100] (S0106000cf16f58b1.wp.shawcable.net. [24.79.200.150]) by mx.google.com with ESMTPS id kp4sm1140493igc.1.2012.11.26.23.03.16 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Nov 2012 23:03:16 -0800 (PST) Message-ID: <1353999800.892.17.camel@YAAKOV04> Subject: Re: Implement ~/.xsession-errors? From: "Yaakov (Cygwin/X)" To: cygwin-xfree@cygwin.com Date: Tue, 27 Nov 2012 07:03:00 -0000 In-Reply-To: <50B3B660.2050403@cornell.edu> References: <50B3B660.2050403@cornell.edu> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 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: 2012-11/txt/msg00035.txt.bz2 On Mon, 2012-11-26 at 13:35 -0500, Ken Brown wrote: > I'm wondering whether it's feasible for the Cygwin X-server to redirect > stderr to ~/.xsession-errors for programs started under the server, as > is done on some Linux systems. This would be useful for two reasons. > First, some programs emit warnings that can be ignored, and it would be > nice if users could avoid seeing those every time they start the > program. Second, and more importantly, standard error is often lost, > for instance for programs started by ~/.startxwinrc. It could be useful > for package maintainers to be able to ask users to send the contents of > ~/.xsession-errors. ~/.xsession-errors is a GDM-ism; as we don't use DMs in Cygwin/X, it would mean implementing it from scratch somewhere else. Also, a quick Google search turned up a bunch of bugs about this file continuously growing to the point of filling the disk partition, which is obviously unacceptable, nor would it be helpful in the way you propose (think: strace snippets). So I would say, probably not. If you want to see errors from a particular program, just start it from console, copy and paste. Yaakov Cygwin/X -- 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/