[Nix-dev] Redirect SDDM/LightDM (X.0.log & .xsession-errors) to JournalCTL

zimbatm zimbatm at zimbatm.com
Wed Jan 27 21:23:49 CET 2016


I don't know about X.0.log but since .xsession is just a bash script you
could use something like:

#!/usr/bin/env bash

exec &> | logger &

# the usual stuff



On Tue, 26 Jan 2016 at 05:01 Roger Qiu <roger.qiu at matrix.ai> wrote:

> Hi,
>
> How does one redirect the logs (X.0.log) and (~/.xsession-errors) to
> journalctl?
>
> Apparently GDM
> (http://worldofgnome.org/in-gnome-3-12-systemd-will-track-xorg-logs/)
> now does this, but SDDM doesn't.
>
> I would prefer to be able to centalise all logs into journalctl.
>
> Thanks,
> Roger
>
> --
> Founder of Matrix AI
> https://matrix.ai/
> +61420925975
>
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160127/612b37ab/attachment.html 


More information about the nix-dev mailing list