My take on this is, yes, it is intentional that stdout from applications be 
discarded in the normal case.  Many applications are quite noisy and we would 
not want that output flooding slim.log, or whatever.

Of late there are massive numbers of GTK assertions coming from firefox about 
atom != None failed and also XID collision, trouble ahead.

You may try it for a few days and see how you like it.  Of course doing it 
locally to debug something is an entirely different matter.

Jürgen Hötzel wrote:
> Hi,
> 
> i just committed this:
> 
> diff --git a/lxsession/lxsession/lxsession.c b/lxsession/lxsession/lxsession.c
> index 278494f..b633868 100644
> --- a/lxsession/lxsession/lxsession.c
> +++ b/lxsession/lxsession/lxsession.c
> @@ -132,10 +132,8 @@ GPid run_app( const char* cmd )
>      {
>          g_spawn_async( NULL, argv, NULL,
>                  G_SPAWN_DO_NOT_REAP_CHILD|
> -                G_SPAWN_SEARCH_PATH|
> -                G_SPAWN_STDOUT_TO_DEV_NULL|
> -                G_SPAWN_STDERR_TO_DEV_NULL,
> -                NULL, NULL, &pid, NULL );
> +               G_SPAWN_SEARCH_PATH,
> +               NULL, NULL, &pid, NULL );
>      }
>      g_strfreev( argv );
>      return pid;
> 
> 
> Output of lxsession was previously written to /dev/null. Was this by
> intention?
> 
> Output is now written to stdout/stderr FDs inherited by the
> Login-Manager. 
> 
> I needed this to check some error output of sawfish window-manager
> which is now available /var/log/slim.log.
> 
> Also other applications may output useful debug/error messages.
> 
> Jürgen
> 
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge  
> This is your chance to win up to $100,000 in prizes! For a limited time, 
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize  
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> Lxde-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/lxde-list
> 

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to