• Re: Where Do GUI Errors Go Now?

    From Lawrence D'Oliveiro@21:1/5 to All on Mon Jun 9 01:01:17 2025
    On Mon, 9 Jun 2025 00:56:32 -0000 (UTC), I wrote:

    But anyway, seems there is no equivalent in Wayland-based GUIs. Does
    stderr from a GUI-launched app just get thrown away now?

    After posting that, I thought to have a look around my own system, to see
    what I could find. I checked one or two GUI apps (e.g. Pan, Konsole) to
    see where their process fd 2 was pointing, and in each case it was going
    to some kind of socket.

    What kind of socket? So I thought to check the systemd user journal:

    journalctl --user

    and yes, there is a whole bunch of random messages there, including GUI
    toolkit errors, just like old times. ;)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lawrence D'Oliveiro@21:1/5 to All on Mon Jun 9 00:56:32 2025
    When running a GUI on X11, there is a file called ~/.xsession-errors,
    which is basically the destination for stderr for all programs launched
    from the GUI. So any error messages they output can be viewed here.

    There can be quite a lot of clutter here. Also it’s amazing to see GUI toolkits report “critical” errors during normal execution of some apps.
    But this can also be useful for troubleshooting. Like the time a user
    reported trouble with some display function in a proprietary app (I foget which) after an upgrade to a new machine. I got in and watched as he went through the steps, and soon saw an error message that it was trying to
    launch xfig, which was not found.

    It only took a minute to install that package, ask him to try again, and confirm that it worked.

    But anyway, seems there is no equivalent in Wayland-based GUIs. Does
    stderr from a GUI-launched app just get thrown away now?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From rbowman@21:1/5 to Lawrence D'Oliveiro on Mon Jun 9 07:21:14 2025
    On Mon, 9 Jun 2025 01:01:17 -0000 (UTC), Lawrence D'Oliveiro wrote:

    and yes, there is a whole bunch of random messages there, including GUI toolkit errors, just like old times.

    Does seems to be 973868 lines of crap going back to Feb 03. 'G' got me a
    'hang on for a minute' message before it got to the end.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)