Re: Where goes the console output of X programs?

From: Carlos Rodrigues (carlos.efr_at_mail.telepac.pt)
Date: 10/01/04

  • Next message: Joel Jaeggli: "Re: Surveillance"
    Date: Fri, 01 Oct 2004 21:39:31 +0100
    To: fedora-list@redhat.com
    
    

    Nifty Hat Mitch wrote:
    > 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...

    Well, I was hoping of a more general solution, like having a log of
    everything that any X client dumps to the console on a given session (a
    /var/log/messages alike for X).

    If X crashes I just can't go out and grab some client's console... (I
    don't even know the culprit then).

    Carlos Rodrigues

    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Joel Jaeggli: "Re: Surveillance"

    Relevant Pages

    • Re: Where goes the console output of X programs?
      ... > Where does the output that X programs dump in the console? ... Use "lsof" to see what plays with the pipe... ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: Where goes the console output of X programs?
      ... >> Where does the output that X programs dump in the console? ... for a desktop icon the console/terminal output has a place to go and ... To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list ...
      (Fedora)
    • Re: Reboot instead of debugger/dump from X11? (Re: an accidental way to pull the plug)
      ... when it took place with X11 ... on startup and switch back to the text console. ... I have been using FreeBSD as a fine platform for a Free database I ... using xv to grab the windows. ...
      (freebsd-current)
    • Re: rsc console already in use
      ... > will be given back to the serial console. ... > they will get a write session, rather than a read-only session where ... I had previously figured that this meant the serial port ... didn't grab the console.. ...
      (comp.unix.solaris)
    • Re: rsc console already in use
      ... > console then I will need to boot them off with console -f, ... > that nobody is logged in over the console via the serial interface. ... "The serial port will grab write access if nobody else is using it, ...
      (comp.unix.solaris)