Re: Where goes the console output of X programs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 30, 2004 at 04:50:39PM -0700, Nifty Hat Mitch wrote:
> Date: Thu, 30 Sep 2004 16:50:39 -0700
> From: Nifty Hat Mitch <mitch48@xxxxxxxxxxxxx>
> To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
> Mail-Followup-To: Nifty Hat Mitch <mitch48@xxxxxxxxxxxxx>,
> 	For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
> Subject: Re: Where goes the console output of X programs?
> Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
> 
> On Thu, Sep 30, 2004 at 10:51:27PM +0100, Carlos Rodrigues wrote:
> 
> > 
> > Where does the output that X programs dump in the console? I do not have 
> > an .xsession-errors file or anything...
> 
> It can be different for each process.  
> 
> Look at /proc/NNNN for the process of interest.
> 
> Since the first three file are standard in (0), out (1), err (2)
> 
>     $ ls -l /proc/26670/fd
>     total 8
>     lr-x------  1 mitch mitch 64 Sep 30 16:36 0 -> /dev/null
>     l-wx------  1 mitch mitch 64 Sep 30 16:36 1 -> pipe:[14054]
>     l-wx------  1 mitch mitch 64 Sep 30 16:36 2 -> pipe:[14054]
>     lrwx------  1 mitch mitch 64 Sep 30 16:36 3 -> socket:[203653]
> 
> So in this case the out and err are tossed into a FIFO
> that is not inspected.  Use "lsof" to see what plays with the pipe...

BTW if the "Run in terminal" box is check (see right mouse --> properties)
for a desktop icon the console/terminal output has a place to go and
be observed.  Useful for debugging....




-- 
	T o m  M i t c h e l l 
	Me, I would "Rather" Not.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux