Viewing the console from X
Anton Markov
anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org
Tue Dec 21 23:32:33 UTC 2004
William O'Higgins wrote:
> I have often wanted to see the console output of programs launched from
> X, but the only way that I know is to shut down X and look at the
> underlying console, which obviously wrecks the arrangement of programs,
> windows and associated states that I have built up on X over the hours,
> days or weeks that they X server has been running.
>
> Is there a way that I can open up a window to "tail -f" the underlying
> console?
How about this:
Start X manually with 'startx' or 'xinit' and redirect the output to a file:
$ startx > ~/x.log 2>&1
That'll redirect both the standard and error output to the file. It
would be the same as switching to the virtual terminal that you started
X from.
Your success will also depend on whether or not whatever method you use
to launch the programs redirects the standard and/or error output to
/dev/null (as I believe some do).
I hope this helps.
--
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>
GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3 CE34 46B7 8D93 3AD1 44B4
*** LINUX - MAY THE SOURCE BE WITH YOU! ***
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://gtalug.org/pipermail/legacy/attachments/20041221/84853bc8/attachment.sig>
More information about the Legacy
mailing list